Viewing 15 posts - 13,621 through 13,635 (of 13,876 total)
Hi Karen
This should work:
DELETE FROM [SD_Order_Dev].[dbo].[ProjectDemand]
WHERE
dbo.ProjectDemand.ProjectNumber in
(select ProjNum from dbo.CADFilePath)
Phil
November 23, 2004 at 4:41 pm
Jack, please do not post the same query on multiple SQLServerCentral forums.
Others, please refer to
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=23&messageid=147644
for original post.
November 22, 2004 at 9:44 pm
Your application sounds fairly standard in architecture (though what do you mean by 'agent', exactly?). Please be a bit more specific - what issues/problems do you foresee?
Phil
November 22, 2004 at 9:42 pm
Please post some sample data - both source and how you would like it to look after processing.
November 21, 2004 at 5:54 pm
If your question is: "Is it better to have a single table with the capacity for multiple addresses in a single row, or one master table linked to an address...
November 21, 2004 at 4:10 pm
Correct, it doesn't - would be damn useful though.
November 18, 2004 at 4:19 pm
Your use of CAST is incomplete. Do you mean
cast(b.begindate as datetime) perhaps?
Phil
November 17, 2004 at 9:53 pm
Are you suggesting that you will need to store long strings of narrative? Will you need to perform any structured analysis on the data, or do you just need...
November 17, 2004 at 9:50 pm
Yep, me too. Read it about 5 times & still getting nowhere!
November 17, 2004 at 7:31 pm
If you are thinking about passing the entire SQL string as a parameter of the stored procedure, what is the point of even having the stored procedure? Why don't...
November 17, 2004 at 7:27 pm
It's only brutal if the users are actually working at the time. If you reread the original post, the suggestion is that the users who are still logged in on...
November 17, 2004 at 2:08 am
Not sp_delete_job and sp_delete_jobschedule, presumably? Is it that you want the final part of your job to be self-deletion?
Phil
November 16, 2004 at 10:30 pm
Sorry for asking the bloody obvious, but has tempdb been deleted? As you cannot start the SQL Server service, check in Windows Explorer for existence of C:\Program Files\Microsoft SQL...
November 16, 2004 at 8:18 pm
Yes - Print does an implicit conversion to char or varchar if it can.
Phil
November 16, 2004 at 8:08 pm
I think it is the cast to varchar where you are losing data. Try using the STR() function:
DECLARE @a as float(53)
DECLARE @DynSQL1 varchar(1000), @DynSQL2 varchar(1000)
SELECT @a = 367970.45
SELECT @DynSQL1...
November 16, 2004 at 5:52 pm
Viewing 15 posts - 13,621 through 13,635 (of 13,876 total)