Viewing 15 posts - 181 through 195 (of 257 total)
Thank you melton for your suggestion, I will look into xp_cmdshell.
Steve, How do I call vbScript from SQL? Thanks for your time.
August 13, 2009 at 6:17 am
Hi Bob,
Converting the results to VarChar did fix it. Thanks for your help.
June 3, 2009 at 1:24 pm
I had to rename that file and after that it showed up. Strange!!! Thanks for your time.
April 20, 2009 at 11:24 am
Yes i copied both mdf and ldf. After running the command on master, it is still not showing up.
April 20, 2009 at 10:53 am
Thank you Ken Simmons, that worked. Have a nice day.
April 8, 2009 at 8:28 am
I apologize for the typo, here is the changed proc with ClientID as the parameter
CREATE PROCEDURE [dbo].[sp_getClients]
@ClientID VarChar(20) = 'Sp1'
AS
BEGIN
SELECT intID, ClientID
FROM Clients
WHERE ClientID = @ClientID
ORDER...
March 13, 2009 at 12:26 pm
Thanks Andrew, that really worked.
March 13, 2009 at 12:12 pm
The output should be intID and ClientID. Take out the intID in the order by statement because that was a mistake. As seen by one of the responder, the query...
March 13, 2009 at 10:46 am
I want to select dates between "02/15/2009" and "02/19/2009", one day per row like,
02/15/2009
02/16/2009
02/17/2009
02/18/2009
02/19/2009
so the end date should be included
thanks
March 13, 2009 at 10:35 am
Hi,
The index is on the intID column. here is the script to create table and add data
create table Clients
(
intID INT,
...
March 13, 2009 at 10:14 am
If I run the proc with param 'Sp1' then i get the following:
Conversion failed when converting the nvarchar value 'Sp1' to data type int.
March 13, 2009 at 9:42 am
Viewing 15 posts - 181 through 195 (of 257 total)