Viewing 15 posts - 856 through 870 (of 921 total)
quote:
When I go to run that code, I get an error saying "The day function requires 1 argument", any suggestions??
--Jonathan
September 26, 2003 at 7:49 am
quote:
We're running SQL7 so we don't have the CONTEXT_INFO variable.
The DISABLE/ENABLE trigger looks like the tidiest one to implement since so many...
--Jonathan
September 26, 2003 at 7:00 am
Looks like a misuse of a nonstandard extension.
http://support.microsoft.com/default.aspx?kbid=136699
It would be "easiest" to write:
SELECT cl.No
FROM v62.dbo.CL cl JOIN v62.dbo.CC cc ON cl.No = cc.No
--Jonathan
--Jonathan
September 26, 2003 at 5:49 am
quote:
We may add a column to the table and then test within the trigger code the value in that column as to...
--Jonathan
September 26, 2003 at 5:13 am
A little bell went off the first time I replied, and I finally remembered something new in SQL Server 2000. There is now a "free" column, context_info, in sysprocesses...
--Jonathan
September 25, 2003 at 3:19 pm
Something in another thread got me thinking about this. If you want no values passed to mean no update to that column, but allow NULLs to be passed, something...
--Jonathan
September 25, 2003 at 1:01 pm
quote:
Try thise.g.
update customers set
outstanding=case when coalesce(outstanding,0)=0 then null else coalesce(outstanding,0) end
Isn't that equivalent...
--Jonathan
September 25, 2003 at 12:54 pm
quote:
I am a little new at this SQL Server stuff.BCP works but isn't that for one table at a time?? ...
--Jonathan
September 25, 2003 at 10:46 am
No. About the only workaround I can think of is to insert the SP's process ID (@@SPID)in a table and rewrite the trigger to check to see if its...
--Jonathan
September 25, 2003 at 10:37 am
quote:
For the most part, you are right. This is mainly for presentation purposes. We do have Crystal Reports, however, due to the...
--Jonathan
September 25, 2003 at 10:20 am
quote:
Well, that all depends. You can also make a UDF (User Defined Function) that will return a Table of the Strings...
--Jonathan
September 25, 2003 at 10:08 am
quote:
Jonathan,I think we post about the same time. As for your recommendation It works as well but I have never taken...
--Jonathan
September 25, 2003 at 8:57 am
quote:
At a technical level, the datetime field is two separate integers. The first is the number of days starting from the...
--Jonathan
September 25, 2003 at 8:37 am
Viewing 15 posts - 856 through 870 (of 921 total)