Viewing 15 posts - 721 through 735 (of 805 total)
quote:
I have tried compiling the xp_file but it fails, this may well be bcause I am using VC++, must it be compiled...
June 3, 2003 at 11:46 am
Can't remember much about 6.5 but could you not attach the file you have (.dat) to a blank database? You can then backup that BD and restore it onto your...
June 3, 2003 at 6:52 am
Not to sure about the first option but you could load the file into a table or variable (VARCHAR(8000)) max.
Have a look at BULK INSERT in BOL.
Cheers,
Crispin
May 29, 2003 at 11:41 pm
The download butkton at the bottom of the page.
It's an extended proc which you "install" on SQL.
The explination he gives makes it easy to use.
I have used it and...
May 28, 2003 at 10:17 am
The link for xp_File.
http://www.sqlservercentral.com/products/jgama/XP_file/
It's an extended proc so on for 2000
Cheers,
Crispin
May 28, 2003 at 9:59 am
Don't think you can read a line at a time with BCP.
You can write a line at a time using xp_File and coud, read the entire file into a temp...
May 28, 2003 at 9:57 am
Why was it called Port and Starboard? Does the ship only sail one way, keep the stars on the left(?)
Cheers,
Crispin
May 26, 2003 at 2:44 pm
I've had people walking up to my desk and ask (You can tell what they about to ask!) "Did the backups go through last night?
Same story, "Are you sure you...
May 25, 2003 at 9:29 am
Would it not be better to go through all the tables and add the column?
This will save SQL the time and trouble (Read: Overhead) of having to work it out?
How...
May 25, 2003 at 8:35 am
Not sure what country you in but when I was working in the US on an e-commerce site, I got all hell because I was saving credit card details on...
May 24, 2003 at 2:13 am
I would use a BIT field (1/0).
You can use a Varchar(3) or CHAR(3) and insert Yes / No.
Useing a CHAR(3) will "waste" space as it'll pad the right with a...
May 22, 2003 at 3:42 pm
Sounds like there's wax in the network card. Take an ear bud and give it a clean.
Sorry, a VERY lame attempt at humour. It's late
Cheers,
Crispin
May 22, 2003 at 2:03 pm
guarddata, Why not a clustered index? Purly because of the work SQL will have to do during inserts / deletes?
If the table does not that busy with inserts and deletes...
May 20, 2003 at 12:57 pm
When you say Boolean, you mean BIT? (1 / 0)
There is bot true / false field as such.
I would imagine a BIT would be faster than a INT field.
Cheers,
Crispin
May 19, 2003 at 11:34 pm
Kenny,
Just tried it and the query now runs at 19ms against 35ms for the second option.
I have used COALESCE once or twice but only to "turn" a record set...
May 19, 2003 at 3:32 pm
Viewing 15 posts - 721 through 735 (of 805 total)