Viewing 15 posts - 196 through 210 (of 285 total)
Hi here is the example:
DROP Table #a
DROp Table #b
Create table #a
(
Col1 int
,COL2 varchar(10)
)
Create table #b
(
col1 int
,COL2 varchar(10)
)
insert into #a
Values (1,'Y')
insert into #a
Values (2,'N')
insert into #a
Values (3,'Y')
insert into #a
Values (4,'N')
insert into...
November 7, 2012 at 7:53 am
I did something like this below:
DECLARE @COPYDATE datetime
,@COPYDATE_END_OF_CURR_MONTH varchar(50)
,@COPYDATE_END_OF_1_MONTH_AGO varchar(50)
,@COPYDATE_END_OF_2_MONTH_AGO varchar(50)
,@COPYDATE_END_OF_3_MONTH_AGO varchar(50)
,@TODAY DATETIME
SET @COPYDATE = '10/31/2012'
SET @COPYDATE_END_OF_CURR_MONTH =convert(varchar(50),DATEADD(DAY,-1,DATEADD(MM, DATEDIFF(M,0,@COPYDATE)+1,0)),110)
SET @COPYDATE_END_OF_1_MONTH_AGO = convert(varchar(50),DATEADD(DAY,-1,DATEADD(MM,...
November 2, 2012 at 12:33 pm
Is there any other way ...other tahn going with script task???
October 31, 2012 at 9:39 am
Thanks for the help.It worked.
October 30, 2012 at 8:56 am
Ignore....above message it found out the error !!! I added something in the code and saved it ..and forgot to remove.My bad.
Anyways thank you for your help.
Solved the issue.
October 29, 2012 at 11:05 am
Thanks.GOt it.
So, I tried Executing your way.
EXEC [dbo].[usp_Get_Investor] @InvestorCode_FROM=10100 ,@InvestorCode_TO=12600
But there are few values. But returns nothing.
Just displays: Command(s) completed successfully. 🙁
October 29, 2012 at 11:02 am
Oh yaa.Realized the mistake.... I corrected it.It worked.Thanks.
But when I tried to run the Sp by passing @InvestorCode_FROM and @InvestorCode_TO and not giving @Investor_all.
Example
EXEC [dbo].[usp_Get_Investor] 1000 ,2000
It throws error...
October 29, 2012 at 10:33 am
Thank you .I filtered the title like isnumeric(title)=1
September 26, 2012 at 2:28 pm
I dont want to insert such columns.Please advice.
September 25, 2012 at 12:07 pm
Issue is there is Aid with both "runquote" and "generatedocument" , need to load Aid with "Runquote",
and then load the Aid's which are not "runquote" but with "Generatedocumnet"
example: AID :...
August 15, 2012 at 8:53 am
requirement is that when they select the dates out of range and team should be blank and when ran should show "No records"
and my parameters are cascading.
July 16, 2012 at 8:20 am
No one replied.So, want to ask if we can "Pass blank parameter " and run report???
July 13, 2012 at 4:06 pm
thank you!! More example are appreciated.
July 10, 2012 at 3:09 pm
Viewing 15 posts - 196 through 210 (of 285 total)