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 Create a Simple Table to Test Triggers in MS SQL Server?
Submitted by: AdministratorIf you want to follow other tutorial examples included in this collection, you need to run this SQL script to create a simple table called ggl_users:
USE GlobalGuideLineDatabase;
GO
DROP TABLE ggl_users;
GO
CREATE TABLE ggl_users (
id INTEGER IDENTITY NOT NULL,
name VARCHAR(80) NOT NULL,
email VARCHAR(80) NULL,
password VARCHAR(32) NULL
);
INSERT INTO ggl_users (name) VALUES ('John King');
INSERT INTO ggl_users (name) VALUES ('Nancy Greenberg');
GO
ggl_users is created now with 2 records.
Submitted by: Administrator
USE GlobalGuideLineDatabase;
GO
DROP TABLE ggl_users;
GO
CREATE TABLE ggl_users (
id INTEGER IDENTITY NOT NULL,
name VARCHAR(80) NOT NULL,
email VARCHAR(80) NULL,
password VARCHAR(32) NULL
);
INSERT INTO ggl_users (name) VALUES ('John King');
INSERT INTO ggl_users (name) VALUES ('Nancy Greenberg');
GO
ggl_users is created now with 2 records.
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.