Viewing 15 posts - 706 through 720 (of 1,186 total)
You cannot EXEC stored-procedures HOWEVER you can have user-defined functions in-line. You may want to research UDFs and see if they can accomplush your desired results.
November 22, 2004 at 5:15 am
Probably another VERY GOOD reason that I forget about COALESCE
Thank you as always for keeping me from hurting myself
November 18, 2004 at 5:59 am
there are various different ways of resolving this. Create an Excel file with unique name everytime, Have a template Excel file that you populate and save as a different name,...
November 18, 2004 at 5:54 am
Did abc's password expire/change? Is the account locked?
November 18, 2004 at 5:51 am
How bout granting access to a scheduler task on the server that the user can modfiy the schedule? This way the job will be activated from the server and the...
November 17, 2004 at 5:14 pm
I honestly don't know Frank. I know that I generally forget about COALESCE until I read about it here. Figured the CASE and COALESCE in certain instances go together.
November 17, 2004 at 5:12 pm
How bout
CASE Col1 = 'HHHH' THEN Col2 ELSE Col1 END AS SReturn ???
You may want to review COALESCE as well..
November 17, 2004 at 12:40 pm
Can you have this DTS package scheduled? Is it possible that you have a web server and can perform this from the web?
If the user is supposed to run the...
November 17, 2004 at 12:38 pm
Something like this might help you:
UPDATE B SET ItemCount = A.RecCnt
FROM tableA A
INNER JOIN (SELECT DespatchNoteNumber, COUNT(*) RecCnt
GROUP BY DespatchNoteNumber) B
ON A.DespatchNoteNumber = B.DespatchNoteNumber
November 17, 2004 at 5:22 am
Probably. Only because VS .NET 2K3 was released prior to 2K5 and all of the different functionality would not be ready for release yet
November 15, 2004 at 10:48 am
Are Named Pipes and TCP/IP enabled on the second set of servers??
November 15, 2004 at 5:25 am
You might be able to use this and build a function out of it. This will remove anything that is not from a-Z.
SET NOCOUNT ON
DECLARE @String AS VARCHAR(255)
DECLARE @IntStr AS VARCHAR(255)
DECLARE...
November 11, 2004 at 6:19 am
Another option is to have a ModifiedDtTm column with the Date/Time of when the records have been modified and then all you would have to do is SELECT [columns here]...
November 9, 2004 at 5:24 am
You will need to have the structure of your query go:
FROM then WHERE then GROUP BY then HAVING and finally ORDER BY
The GROUP BY is required for the COUNT()...
November 8, 2004 at 1:41 pm
Why not simply
UPDATE table SET Column = REPLACE(Column, 'mkpdc', 'SRV01')
November 8, 2004 at 1:35 pm
Viewing 15 posts - 706 through 720 (of 1,186 total)