Viewing 15 posts - 48,916 through 48,930 (of 59,102 total)
drari (8/6/2008)
I know that there are actually5 data rows + 1 header and 1 footer thus 7 rows
But what I say is that I'm...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2008 at 6:16 pm
Boy, isn't THAT the truth! That's why I always try to come up with test data and code... I figure if I can't prove it with code, I can't...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2008 at 6:10 pm
Heh... never mind... OP says the PK is actually 3 columns... really makes all of this a moot point. 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2008 at 6:02 pm
TheSQLGuru (8/6/2008)
Jeff Moden (8/6/2008)
No problem... PK can be nonclustered.
Yep. And then we have this situation:
Clustered index: order_id (assume int - 4 bytes), order_date (assume datetime - 8 bytes),...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2008 at 5:59 pm
Idea for article on forum etiquette... ummm... wait a minute... 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2008 at 8:38 am
toprprasad (8/6/2008)
I need a script which can generate insert statements for all the records in a table.
for eg: if a table abc has 2 records, then on executing this...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2008 at 8:34 am
No problem... PK can be nonclustered.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2008 at 8:33 am
drari (8/6/2008)
he gives a totalrows = 7
Maybe there is a way to...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2008 at 8:30 am
Yep... And I looked at that file... it's just like I said... the header record and the trailer record both have a different number of columns than the body of...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2008 at 7:38 am
Um... ok... a bit out of the ordinary...
Click on my name above my avatar to the left and send me an email with the file attached.
Folks, if I find something,...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2008 at 7:11 am
From the description of things, it sounds like you have some code somewhere that makes tomorrow's database today... maybe, in more than one spot. I'm thinking that all you...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2008 at 7:03 am
Only one thing left to do, then. Attach the create script for the target table, the BCP format file, and, if there's no private information in it, the file...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 6, 2008 at 6:44 am
There are a huge number of rules for the partitioning column and the partitioned table in Books Online... my recommendation would be to make a checklist of what needs to...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 5, 2008 at 11:22 pm
The WHILE condition doesn't make sense for the code you posted... it will run forever because something will always exist in the table.
Also, you're trying to insert into the same...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 5, 2008 at 11:12 pm
Thanks for the feedback, Jim.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 5, 2008 at 10:18 pm
Viewing 15 posts - 48,916 through 48,930 (of 59,102 total)