Viewing 11 posts - 1 through 11 (of 11 total)
Yes. For testing purpose, I use one server for everything.
March 29, 2006 at 8:20 am
I'm using a doman account which is part of the admin group for SQL Agent. My SSIS package is also created under this account. My source connection is actually using windows...
March 28, 2006 at 9:12 pm
This probably is a long shot. You can use DBCC INPUTBUFFER to print out your command at the end of each resultset.
March 2, 2005 at 5:03 pm
I think you always want to list the explicit columns in your insert statement. This will make your life easier in the future. Say you add a column to your...
May 27, 2004 at 8:29 am
Change CAST(@todyDate AS VARCHAR(10) to CONVERT(Varchar, @todyDate, 101) should work.
May 21, 2004 at 8:50 am
How about something like this.
SELECT Product, SUM([Count of orders]), CONVERT(FLOAT, SUM([Count of Orders])) / (SELECT CONVERT(FLOAT, SUM([Count of Orders])) FROM [Product Group]) FROM [Product Group] GROUP BY Proudct UNION SELECT...
May 21, 2004 at 8:39 am
I think the reason that table name is added in front of column name in Access is you can't have duplicate column names in the resultset by rule. So in...
May 19, 2004 at 9:03 am
Why you don't want to use identity column to generate your invoice number? It seems to be more efficient to let the system handle the number generation. You can always...
April 27, 2004 at 8:37 am
If you want to keep your parameter the way it is, you have to use dynamic sql (not recommended) in your sp. So the statement in your sp would be...
April 23, 2004 at 1:55 pm
In Kokyan's example, don't you need to define @tblname as varchar(128) since table name in SQL 7 and above is defined as varchar(128) ?
April 23, 2004 at 8:54 am
I don’t think you can use table as parameter of a stored procedure. Here is what I think that might work.
Create Procedure [WH1].[Usp_ArchiveChild]
@sParent VarChar(20) = NULL,
@sKey VarChar(20) = NULL,
@sPId VarChar(5)...
August 10, 2003 at 9:44 am
Viewing 11 posts - 1 through 11 (of 11 total)