Viewing 15 posts - 16 through 30 (of 362 total)
[font="Verdana"]From your post, what I understood is you need to copy some files from FTP location to local location first and then FTP the same files to FTP again. You...
September 29, 2011 at 6:09 am
[font="Verdana"]
Gianluca Sartori (9/23/2011)
Mahesh Bote (9/23/2011)
try this ...
Begin Try
Begin Tran
Insert Into TableName Values (99, 'ZZZ');
Update TableName
SetColName = 'XXX'
Where ColName = 99;
Commit Tran
End Try
Begin Catch
If @@Error <> 0
Begin
RollBack Tran
End
End Catch
If you fall...
September 26, 2011 at 6:44 am
try this ...
Begin Try
Begin Tran
Insert Into TableName Values (99, 'ZZZ');
Update TableName
SetColName = 'XXX'
Where ColName = 99;
Commit Tran
End Try
Begin Catch
If @@Error <> 0
Begin
RollBack Tran
End
End Catch
September 23, 2011 at 4:27 am
[font="Verdana"]Thank you all!!![/font]
June 10, 2011 at 7:38 am
[font="Verdana"]Brandie, currently I have just declared the SQL variables, not SSIS Package variables. And the variables I have decalred in the first 'Execute SQL Task', wanted to use in other...
June 10, 2011 at 6:52 am
[font="Verdana"]
Below is the flow of the SSIS package.
1 'Execute SQL Task'
...
Declare@UserTypeIDBigInt
Select@UserTypeID = UserTypeID From dbo.User(NoLock) Where UserType = 'Customer'
Insert Into <temp Table>
Select<Columns>
From<tables>
WhereUserTypeID = @UserTypeID
...
2. 'Another Execute SQL Task'
Select<Columns>
From<anothertables>
Where... And...
June 10, 2011 at 6:31 am
[font="Verdana"]Use the Advanced Editor to explore each column type so that you know where such conversions occur.
-- Mahesh[/font]
May 20, 2011 at 8:03 am
[font="Verdana"]
Hopes, below code might help you out. However you need to look into the logic first, before executing it. And hopes you will make corrections in logic, if any.
DECLARE @Proc_Name...
May 20, 2011 at 7:50 am
[font="Verdana"]
Check by enabling the Use 32 bit runtime option in Job Step properties > Steps > General > Execution options [if Type: SSIS package]
Thanks,
Mahesh[/font]
November 23, 2010 at 2:14 am
[font="Verdana"] thank you very much Larry.
-- Mahesh[/font]
October 22, 2010 at 5:31 am
[font="Verdana"]
is the clustered index mentioned above on the column you wish to use to partition?
No, we have clustered index on ID column. recently we have added one more column, called...
September 8, 2010 at 2:16 am
[font="Verdana"] Thanks for your updation.
However we already do have Clustered Index on our table. So can we add partition with Alter Statement?
Thanks again,
Mahesh[/font]
September 7, 2010 at 11:52 pm
[font="Verdana"] Thanks for you updation.
However we already do have Clustered Index on our table. So can we add partition with Alter Statement?
Thanks again,
Mahesh[/font]
September 7, 2010 at 11:52 pm
[font="Verdana"]your t-sql code is not a dynamic sql. in @SystemRule variable you are ftching column's value and in the next line you are tryingto execute it. It wont work this...
August 24, 2010 at 4:38 am
Viewing 15 posts - 16 through 30 (of 362 total)