|
I have participated in several of the StackOverflow sites, and one of the things that I have noticed is that there is a real "bootstrap" problem in the beginning. There really needs to be a certain minimum number of active members with a minimum number of points before it really starts to work. In the interests of addressing this, (and unless the powers that be object) I will be posting challenge questions based on some of the older SqlServerCentral Questions Of The Day. The first answer which is correct will be marked as accepted (15 points). For the most part I will not be presenting the questions as multiple choice, as they originally were. Identity Insert:We have a table and it has just one column that the identity property of that column is set to ON, we need a query to insert some records in that, which of the following will work: We have the following table:
What is the INSERT statement to insert records into this table?
(comments are locked)
|
Great Job, Matt! You've almost got enough points now to down-vote things (though I would recommend against that during this break-in period for the site, except the most awful stuff, spam, ads, etc.)
Oct 10 '09 at 10:55 AM
RBarryYoung
I thoroughly agree - I think it's going to be down to some of the SSC residents to build the site up, looking forward to it being more active :)
Oct 10 '09 at 07:34 PM
Matt Whitfield ♦♦
(comments are locked)
|
|
May be worth mentioning that from SQL Server Management Studio (SSMS) you can add an integer after the GO command that inticates how many times to execute the batch. eg: Will enter 100 rows into the table. No need to create a loop. And if you use Random numbers, GETDATE(), joins or similar functions you can rapidly build halfway decent load tables.
(comments are locked)
|

