Thanks for your response guys.
I will be running the SQL command using Osql/isql to get the output. I cannot use VB as we don't have it.
I am surprised that this feature is not available in MS SQL Server. I think many of us are using this with a work around.
Thanks anyway.
How can I write my result from 'select * from abc' to a text file on C drive with the name 'Result_061301.txt' where 6/13/01 is the system date?
Any Ideas?
How do I rename a file 'abc.txt' to 'xy_061301.txt'
where 061301 is the date of the system in 6/13/01 format.
I need to run a batch file which renames the file.
Thanks in advance.
Hi Group,
My stored proc is something like this: "select * from authors where state in (@State) and lastname like 'B%'"
the following sql works fine "select * from authors where state in ('CA','PA','NJ') and lastname like 'B%'"
I am unable to send the @state parameter from...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.