Thanks for the input on this matter -- the SET NOCOUNT ON option worked for my problem -- outputting data from a stored proc to a semicolon-delimited text file.
Thank you,
Joe Middleton
I would like to be able to query table modification dates to see when a user table has been modified. For example, if I want to see when an INSERT statement has been performed on a specific user table, can I query for this in the system tables? The benefit here is to be able to effectively...
Hello everyone...here's a little problem I have. I would like to use a GETDATE()-like function within a function, except I know I can't use GETDATE() within a function I create. What other options can I use? I have tried this:
select dbo.myfunction(mydate)
from
(select
getdate() as...
Does anyone out there have any tips or ideas as to how one can execute a DTS package using Transact-SQL code? The idea is to have certain external data sets imported only if certain conditions are met. Such an example MIGHT look like (note: I've tried this, it doesn't work):
USE [Database...
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.