Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Databases Programming Interviews:BtrieveClipperData ModelingData StructuresDatabase AdministrationDatabase Administrator (DBA)Database AnalystDatabase DeveloperDB DevelopmentEDI/Data Integration ExpertFirebirdHierarchicalIBM DB2InformixJava DatabaseMariaDBMicrosoft Access DeveloperMongoDBMS SQL ServerMySQL ProgrammingNetworkNoSQLObject RelationalPostgrePostgreSQLProgressRDBMSRelationalSQLSQL AdministratorSQL and PL/SQLSQL Notification ServicesSQL server 2008SSRSStored ProcedureSybaseTeradata
Copyright © 2018. All Rights Reserved
MS SQL Server Interview Question:
How To Start and End Transact-SQL Statements?
Submitted by: AdministratorThere are simple rule about writing Transact-SQL statements:
* A Transact-SQL statement should be started with a pre-defined statement keyword.
* A Transact-SQL statement should be ended with a new line (/n) or a semicolon (;).
* A Transact-SQL statement can be entered in a single line or multiple lines.
* Transact-SQL statement keywords are case-insensitive.
* Extra white space characters are ignored within Transact-SQL statements.
Here are some good examples of Transact-SQL statements:
CREATE TABLE ggl_links (id INTEGER PRIMARY KEY,
url VARCHAR(80) NOT NULL,
notes VARCHAR(1024),
counts INT,
created DATETIME NOT NULL DEFAULT(getdate()));
SeLeCT 'Welcome to GlobalGuideLine.com SQL Server!';
Print 'Come visit this page again!'
Submitted by: Administrator
* A Transact-SQL statement should be started with a pre-defined statement keyword.
* A Transact-SQL statement should be ended with a new line (/n) or a semicolon (;).
* A Transact-SQL statement can be entered in a single line or multiple lines.
* Transact-SQL statement keywords are case-insensitive.
* Extra white space characters are ignored within Transact-SQL statements.
Here are some good examples of Transact-SQL statements:
CREATE TABLE ggl_links (id INTEGER PRIMARY KEY,
url VARCHAR(80) NOT NULL,
notes VARCHAR(1024),
counts INT,
created DATETIME NOT NULL DEFAULT(getdate()));
SeLeCT 'Welcome to GlobalGuideLine.com SQL Server!';
Print 'Come visit this page again!'
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.