Viewing 15 posts - 57,271 through 57,285 (of 59,059 total)
Wouldn't that be what the invoice number is for?
November 3, 2006 at 6:56 am
Perhaps if you told us the rest of the story as to why you are trying to do a DIR, we might even be able to come up with a...
November 2, 2006 at 8:25 pm
Yep... you're right... forgot about all that punctuation stuff. Thanks, Serqiy.
November 2, 2006 at 6:09 am
Don't know of any coherent place dedicated to just doing crosstabs or just to dynamic SQL... there's a lot of really bad examples that use cursors, as well. But, if...
November 2, 2006 at 6:06 am
Don't think you need a cursor... see the oversimplified example at the following...
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=319791
November 1, 2006 at 7:25 pm
I strongly suspect that your example data is missing something, but the following will do for what you have... lemme guess... spreadsheet output?
--=======================================================
-- This is just setting up...
November 1, 2006 at 7:22 pm
Since none of the methods are likely to use an available index when used in a WHERE clause, try this one...
--=============================================================
-- This section of code is just setup...
November 1, 2006 at 6:53 pm
Why not just email the HTML that sp_MakeWebTask creates? When they double click on it as an attachment, it'll come up just fine.
October 31, 2006 at 10:15 pm
Sure, sure.... but we both know that they don't always comply... yep, it's crap but sometimes (like in the telephone reseller business) they send you crap just to make your...
October 31, 2006 at 10:12 pm
Heh... Pele, huh?
Anyway, I agree... if you are in control of the source of the data, then "store all parts of names in databases separately". However, the story changes a...
October 31, 2006 at 8:59 pm
They don't have a switch for it so....
bcp "SELECT 'Pub_ID','Pub_Name','City','State','Country' UNION ALL SELECT * FROM Pubs..Publishers" queryout publ_out /c /t , /r \n /Sservername /Uloginname /Ppassword
You could do...
October 31, 2006 at 8:43 pm
The free trial version would certainly work but... why don't you spend the $64 for the Developer's version so you don't have to worry? And, why doesn't Borland Interbase support...
October 30, 2006 at 10:18 pm
Then, don't add columns to an existing table... make a new table that has all of the necessary columns (I'm thinking temp table here) and copy the data from the...
October 30, 2006 at 5:12 pm
Viewing 15 posts - 57,271 through 57,285 (of 59,059 total)