Viewing 15 posts - 256 through 270 (of 497 total)
You could use the QUERYOUT part of BCP to do this also. If you have a SP that puts the data into a temp table and then use BCP with...
January 8, 2004 at 7:14 pm
I'm not certain I understand your problem correctly from your post but it looks to me like what you really want is all the records from the SB_PRODUCTREPORT and SB_PRODUCT...
January 8, 2004 at 7:05 pm
Try looking at the TSQL for sp_spaceused and see where your script might be off. Also remember that if you haven't updated your statistics sysindexes might not be as accurate...
January 8, 2004 at 6:37 pm
I've found that BCP is a bit limiting when using unicode characters. I would either use a linked server and transfer the data across the linked server or use a...
January 8, 2004 at 6:34 pm
Hey Steve,
Why did you do a right join instead of Left? I almost allways do Left Joins as I like to have the "Main" table first in the join clause...
January 8, 2004 at 6:30 pm
Christy,
as sholliday stated you really don't want to use SELECT * FROM in your app. It will come back as a bug later on.
Also, sholliday said "
-------------------------------------------------------------------------------------------
7) It says...
January 8, 2004 at 4:45 pm
This sounds to me like a scenario for merge replication. What kind of latency is acceptable? Do you need to be able to modify data on both servers? If not...
January 8, 2004 at 4:23 pm
Thanks for taking the time to write the article Steve! As for the email notification I personally ALWAYS ask to be notified. I do this as if I don't get...
January 5, 2004 at 6:03 pm
Since you are already logging to a table simply create a job that periodically BCP's the log table to your text file.
January 5, 2004 at 5:28 pm
jkeepi,
without knowing how you are storing the data it is a little hard to answer this correctly. However it looks like you may be adding records to the tbl_user table...
January 5, 2004 at 5:02 pm
You might look into the ISNULL and COALESCE functions to see if they would do what you want. IE:
Assignment.fk_staffid LIKE (ISNULL(@x,Assignment.fk_staffid)
Gary Johnson
Microsoft Natural Language Group
DBA, Sr. DB Engineer
December 19, 2003 at 12:01 pm
In Enterprise Manager go to the Jobs node and right click it. Select "All Tasks/Generate Sql Script" and go to town.
Gary Johnson
Microsoft Natural Language Group
DBA, Sr. DB Engineer
December 19, 2003 at 11:53 am
More than likely the problem lies in the outer join. Without knowing more about your data it is really hard for me to know how to write the query. Also,...
December 18, 2003 at 7:54 pm
Here is a Single step version.
DECLARE @v varchar(30)
, @iLastHyphen int
, @iLocationFromEnd int
SET @v = 'peer-3255-Organizational Skills'
SELECT SUBSTRING(@v,LEN(@v) -...
December 18, 2003 at 7:48 pm
Hmm... My BOL doesn't just state that about error 2627. What it also states is:
Invalid identity information can cause error message 2627 when a primary key or unique key constraint...
December 18, 2003 at 7:21 pm
Viewing 15 posts - 256 through 270 (of 497 total)