Viewing 8 posts - 121 through 129 (of 129 total)
This worked for me!! Thanks dudes!!!! :smooooth:
ps: M$ made a very good effort to discourage people from using DTS in MSSQL2005 -- you cannot create packages, when you add/delete a...
February 18, 2008 at 4:07 pm
I cannot believe none of the people here had the same problem.
Please help me
February 17, 2008 at 3:23 pm
Which column are you talking about? The source table or the destination?
Or the conversion error on the column?
February 14, 2008 at 10:11 pm
I dont get why you want to keep the variable (@SuccessFlag) outside of the SQL string?
What you want to do is this:
@SuccessFlag=1
And it should be placed in a...
February 14, 2008 at 9:26 pm
How does this one look?
CREATE PROCEDURE checknotexists
(
@TableName varchar(100),
@ColumnName varchar(20),
@Value int
)
AS
declare
@cSentence NVARCHAR(500),
@ParmDefinition NVARCHAR(500),
@ReturnCode int,
@RowCount int,
@NotExist bit
SET @NotExist = 0
set @ParmDefinition = N'@NotExist bit output'
set @cSentence = N'if not exists...
February 14, 2008 at 6:02 pm
I mentioned MSQSQL function unthoughtfully.
EXEC is not allowed in functions.
So now how do we make the code ksullivan suggested reusable? I am sure people would like to call this procedure...
February 14, 2008 at 5:51 pm
You cannot do it as they say.
Do something like this:
DECLARE @sql varchar(1000)
DECLARE @Table varchar(1000)
DECLARE @ID1 int
DECLARE @ID2 int
SET @Table = 'sysobjects'
SET @ID1 = 1
SET @ID2 = 5
CREATE TABLE #TMP (ID...
February 14, 2008 at 5:24 pm
There might be a very good reason to create DST packages in SSIS 2005.
Imagine the following scenario:
A company has 500 DTS packages working in MSSQL2000, interconnected between each other,...
February 14, 2008 at 3:15 pm
Viewing 8 posts - 121 through 129 (of 129 total)