Viewing 9 posts - 1 through 9 (of 9 total)
If you have SQLMail set up and it is working properly, you could always try the following:
EXEC master.dbo.xp_sendmail @recipients = 'you@yours.com'
,@message = 'message here'
,@subject = 'subject',
,@query = 'select name,size,maxsize,filename...
October 1, 2004 at 5:18 am
how about something like this:
SELECT
(SUM(P0.Total1) + SUM(P0.Total2)) AS GTotal
FROM
(
SELECT
(A.qty1*price1) AS Total1,
(A.qty2*price2) AS Total2
FROM A
  P0
September 21, 2004 at 11:54 pm
I had a similar issue a while back.... I found using the following query helped out quite a bit, especially when I scheduled it to run at specific intervals:
Checkpoint
go
Backup...
September 9, 2004 at 11:59 pm
you could also try this:
SELECT CAST(CONVERT(char(10), getdate(), 112) as datetime)
July 13, 2004 at 11:35 pm
Hi Travis,
Is this position for American citizens only, or will you accept CV's from people living abroad that are willing to relocate?
Thanks,
Anton
July 7, 2004 at 11:33 pm
Hi Chris,
Well, remember I told you that I had a dog of a problem, well, here is the query that I wrote to sort out the problem. You...
June 29, 2004 at 8:17 am
Hey there,
I assume by this problem, that you have a trigger on this table.... Even if this is not the case, your query is, for some reason, trying to update...
June 29, 2004 at 12:13 am
Hi Mattias,
Have you tried CONVERT(decimal,ColumnName). I used a decimal here as your exmaple in your post showed 0.365
Anton
June 28, 2004 at 11:51 pm
Hi Chris,
Here are a couple of suggestions....
1. Firstly, is there anyway you could get the initial output file to output the dates in a long format? i.e. 1 Jan...
June 28, 2004 at 11:39 pm
Viewing 9 posts - 1 through 9 (of 9 total)