Viewing 15 posts - 16 through 30 (of 38 total)
Statement below does it "in one". The part shown in red is the date to convert to the format you want. Change the whole of the portion shown in red by...
March 1, 2004 at 11:52 pm
Another couple of ideas ... but certainly not the "nicest" way to do it, and definitely not suitable for anything but "smallish" tables.
1. Query Analyzer can have the output directed...
February 27, 2004 at 3:11 pm
You've reminded me of another issue, one which I learned very early in my career - which was in the days when storage was an issue (programming for an IBM...
February 27, 2004 at 2:52 pm
First a caveat - variable type float only has 16 digit (or so) precision (corresponds to a 6 byte mantissa). Even worse, decimals are not stored precisely as typed as...
February 26, 2004 at 9:19 pm
Yes, but the question asked was to find a nominated string in ALL procedures.
February 26, 2004 at 8:40 pm
Better technique may be to use Enterprise Manager to create a script which generates all stored procedures. Save this file, then use standard searching methods. When text is stored in...
February 26, 2004 at 8:21 pm
Apologies for the very late reply ... monitoring this forum is not at the top of the priorities for my job. There is a switch on the xp_sendmail command that...
February 23, 2004 at 3:37 pm
I agree too ... and also suggest adding a datetime column so that you can purge the data after a suitable period.
Logic I've used is (and it works with multiple...
February 3, 2004 at 1:15 am
Ain't date handling marvellous? All sorts of ways of "skinning the cat". My approach to getting the first day of the month and first of the next is as follows...
February 2, 2004 at 1:55 pm
First reaction ... don't insert the null (it is superfluous) .. ie
insert into APPROVAL (CODE_ID) VALUES (@Code_Id)
Isn't 01 Jan 1900 the base time & date for smalldatetime?
However, I tested some...
February 2, 2004 at 1:41 pm
Saw the replies about INFORMATION_SCHEMA and went looking for the views. Couldn't find them anywhere! Then went and had a look in a little test database on my computer (set...
February 2, 2004 at 1:31 am
Your say the credit note shows the original invoice - only one condition ....
"the table keeps the invoice nr on which the credit note is made (field:fi.fnoft)"
Your select has two...
February 1, 2004 at 2:15 pm
Sounds a rather nasty type of job. Haven't tried anything like that ... but here's something that might help.
Imagine you would have to get the data into a temporary table...
January 29, 2004 at 7:24 pm
Open Enterprise Manager and use SQL Server Agent to schedule a job to do the update.
Any other suitable scheduler running on an application server which connects to the database can be...
January 29, 2004 at 12:18 am
I remember seeing that problem a few years ago, and am having no luck trying to find it again. My guess is that it is might be in SQL*Server 7...
January 22, 2004 at 10:11 pm
Viewing 15 posts - 16 through 30 (of 38 total)