Viewing 15 posts - 721 through 735 (of 806 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...
Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!
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...
Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!
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
Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!
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...
Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!
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
Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!
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...
Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!
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
Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!
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...
Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!
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...
Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!
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...
Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!
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...
Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!
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
Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!
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...
Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!
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
Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!
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...
Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!
May 19, 2003 at 3:32 pm
Viewing 15 posts - 721 through 735 (of 806 total)