Viewing 15 posts - 52,801 through 52,815 (of 59,064 total)
This will do it... assuming that names are unique...
--===== Simulate the OPs table
-- This is NOT part of the solution
DECLARE @yourtable TABLE
...
January 18, 2008 at 5:06 pm
Thanks... that's half the battle... 😉
Do you have any documentation on the record layout of the file you intend to import? And can you attach a file with,...
January 18, 2008 at 4:40 pm
Heh... yep, I knew that Michael... sorry I didn't state things clearly... I wanted to know the condition of the OPs data.
January 18, 2008 at 12:53 pm
Just curious... I can see where a NULL end date could be interpreted as 31 Dec 9999, but what does a NULL start date indicate other than something hasn't started?...
January 18, 2008 at 11:04 am
GSquared (1/18/2008)
January 18, 2008 at 10:59 am
Very good comprehensive article. I just don't understand why a simple BULK INSERT couldn't be used to populate a temp table...
January 18, 2008 at 10:57 am
If I remember correctly, @@IDENTITY has all the potential problems you describe including grabbing from the wrong table in the presence of triggers. I've never seen Scope_Identity fail in...
January 18, 2008 at 8:20 am
No, no... you have to eat the boards if you use that word 😛
January 18, 2008 at 8:15 am
Dang! You're spot on! I DO have better things to do than to help you. Thanks for the advice 😉
January 18, 2008 at 8:11 am
OOOOHHHHHHHH!!! THAT 4-letter word! You're correct... it's a mortal sin to even speak it! 😛
I have a "special" oversize bat for that one... forgot all about it 'cause...
January 18, 2008 at 7:38 am
Ah... understood...
I'm pretty new to 2k5 and don't have an answer for you. Guess that'll be a good thing for me to study over the weekend... permissions.
January 18, 2008 at 7:33 am
I laughed out loud when I saw your post above, Matt... I do understand that you have to use 20 or 30 pound porkchops to convince people of the right...
January 18, 2008 at 7:31 am
Yeah... I do need to be a jerk about it... you wasted time by not posting in the correct forum and not telling us which version of SQL you were...
January 18, 2008 at 7:20 am
Guess I havn't had enough coffee yet, Matt... which 4-letter instruction? Exec?
January 18, 2008 at 7:17 am
Nice one, Joe...
Even at that, the problem still remains... if a human doesn't take the time to establish a proper naming convention, proper DRI, and proper table/column commenting, although the...
January 18, 2008 at 7:15 am
Viewing 15 posts - 52,801 through 52,815 (of 59,064 total)