Viewing 15 posts - 57,301 through 57,315 (of 59,070 total)
BULK INSERT can also use a format file for complex imports. For simple imports that all use the same column delimiter, you don't even need that... Bulk Insert is a...
October 30, 2006 at 5:57 am
You could also do it using the other way found on the same web site you posted...
http://www.motobit.com/tips/detpg_read-write-sql-image-file/
It's still a bad idea to save images in a table, though...
October 29, 2006 at 9:25 pm
First of all, the normal soap box diatribe about all the problems associated with saving images in a table would apply here. It was a bad idea.
On to the problem......
October 29, 2006 at 9:21 pm
I agree with the others.... the "quick fix" would be to convince folks that an IDENTITY column is the only way to go.
And, just to give you the warm fuzzies......
October 29, 2006 at 9:07 pm
I think that someone was barking up the wrong tree when they wrote the requirement
... but, since some folks suggested doing it...
October 29, 2006 at 7:46 pm
Only if I absolutely had to put up with the same cruddy requirement that William has obviously been blessed with.
It's simple data...
October 29, 2006 at 6:44 pm
As CK suggested... but different...
SELECT UserID,
Category,
PayPeriod,
ISNULL(CAST(DeleteFlag AS VARCHAR(12)),'Literal Null') AS DelFlag
ISNULL(CAST(IntegerTest AS VARCHAR(12)),'Null Integer') AS IntTest
FROM TimeWorked_Temp
October 27, 2006 at 6:03 pm
Is first name always guaranteed to be there? If not, what happens to the comma? Is Middle Initial always guaranteed to be there? Can the last name have a space...
October 27, 2006 at 5:52 pm
Ah... sir... you have created "Death by SQL"... if two processes fire the trigger at the same time, who will win on the input buffer table you've created. Do the...
October 27, 2006 at 5:29 pm
You're welcome and thank you for the feedback...
October 27, 2006 at 5:25 pm
Cool... nice work around, Robert.
Stef, I gotta ask... why are you adding a column to a permanent table? Why doesn't the table already have that column? I'm obviously missing something here...
October 27, 2006 at 5:25 pm
We're all in this together and I'm pullin' for ya" --Red Green
And, thanks for the feedback, Robert... that's what this is all about.
October 27, 2006 at 5:21 pm
Thanks, Commando... I appreciate the feedback...
October 27, 2006 at 5:16 pm
Yep... if you try to execute the whole thing... it's a single "batch". During "compile" time, the whole thing is evaluated and since the column doesn't actually exist, yet, the...
October 27, 2006 at 7:53 am
If you don't already have one... now is the time to make a "Tally" table... Here's how...
--===== Create and populate the Tally table on the fly
SELECT TOP 11000...
October 27, 2006 at 7:49 am
Viewing 15 posts - 57,301 through 57,315 (of 59,070 total)