Viewing 15 posts - 31 through 45 (of 58 total)
Hi
-----------------------------------
CREATE PROC test
@year int, @code int, @batch int
AS
BEGIN
IF (@code IS NULL OR @code = '') AND (@batch IS NULL OR @batch = '')
BEGIN
SELECT columns
FROM...
June 14, 2012 at 5:27 am
Thanks Jared. its working now.
Another issue is that how can i pass optional parameter while running the package through SQL Server Agent job.
Regards
SqlStud
June 14, 2012 at 1:33 am
is there any other solutions for this issue
Regards
SqlStud
June 12, 2012 at 4:18 am
Thanks Howard.
So, we need permissions for all the packages to execute it from SQL server job agent
Regards
SqlStud
June 12, 2012 at 2:00 am
Thanks to all
June 12, 2012 at 1:26 am
Hi
As already said
It is Fixed length Format.
There are no delimiters in the file so when one field ends, the other starts without any tabs, comma(s), or spaces between them. Whitespace...
June 11, 2012 at 4:11 am
Hi,
Is it possible or need to follow the other way ie creating SP etc
Regards
Sivakkolundu
June 11, 2012 at 12:37 am
Can anyone please reply on this.?
I need to complete the task today
Regards
SqlStud
June 11, 2012 at 12:12 am
It is Fixed length Format.
There are no delimiters in the file so when one field ends, the other starts without any tabs, comma(s), or spaces between them. Whitespace fills...
June 8, 2012 at 9:55 am
Great Jared and Thanks.
I have used the below query. Is it Correct?
YEAR = @MLR_YR
AND (@CODE IS NULL OR CODE='' OR CODE=@CODE)
AND (@BATCH IS NULL OR @BATCH ='' OR BATCH= @BATCH)
Regards
SqlStud
June 7, 2012 at 6:48 am
Not yet decided. but it will be at regular intervals
June 6, 2012 at 1:02 pm
Ok..
But the filename should append with numbers from 0-9
ie
Filename1.txt
Filename2.txt etc
Regards
SqlStud
June 6, 2012 at 4:59 am
I have used the output file format in expression properties
"\\"+ "\\Sample\\Shares\\Medical\\"+@V_Path+"\\MDM\\MDM_"+ (DT_WSTR,4)YEAR(GETDATE()) + RIGHT("0" + (DT_WSTR,2)MONTH(GETDATE()),2) + RIGHT("0" + (DT_WSTR,2)DAY(GETDATE()),2)+".csv"
How will i use Random number? Please suggest
Regards
SqlStud
June 6, 2012 at 4:18 am
No Stewart.
Only datepart given in the filename
June 6, 2012 at 3:29 am
Viewing 15 posts - 31 through 45 (of 58 total)