Friday, January 21, 2011

Advanced Relational Database /* Testing the creation of a table variable, inserting 3 records into it, and selecting all records */ 1/21/11

use AntiGoogle declare @ProblemsWithPalmersQuestions table (     ID int primary key identity(1,1),     Problems varchar(50) null,     Googling varchar(20) null ) insert into @ProblemsWithPalmersQuestions (Problems, Googling) values ('Too Hard', 'Not Good') insert into @ProblemsWithPalmersQuestions (Problems, Googling) values ('He doesn''t have his own problems figured out', 'False Information') insert into @ProblemsWithPalmersQuestions (Problems, Googling) values ('Algebra problems are no fun', 'Too Much Information') select * from @ProblemsWithPalmersQuestions

No comments:

Post a Comment

Classes

Programming II

Advanced Relational Database

Followers