|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, January 22, 2013 7:39 AM
Points: 2,
Visits: 4
|
|
i think the answer will be "invalid object" as in last query we are dropping the table.
|
|
|
|
|
UDP Broadcaster
      
Group: General Forum Members
Last Login: Friday, February 01, 2013 8:13 AM
Points: 1,490,
Visits: 388
|
|
| If you run all the lines in the question in a query window you will see you don't get an invalid object error. The table doesn't get dropped before the selects are complete.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Thursday, January 31, 2013 8:01 AM
Points: 1,232,
Visits: 1,046
|
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Yesterday @ 8:00 PM
Points: 1,850,
Visits: 985
|
|
Easy one.
Malleswarareddy I.T.Analyst MCITP(70-451)
|
|
|
|
|
SSChasing Mays
      
Group: General Forum Members
Last Login: Monday, May 20, 2013 3:07 PM
Points: 606,
Visits: 136
|
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: 2 days ago @ 12:18 AM
Points: 152,
Visits: 155
|
|
if we use delete instead of truncate reseed will not work...... the answer should be 4,8........
Manik You cannot get to the top by sitting on your bottom.
|
|
|
|