Viewing 6 posts - 91 through 96 (of 96 total)
ChrisM@Work (5/21/2013)
Your query is easier to read if table aliases are used:
SELECT TOP 10
d.nDeviceID,
d.sDisplayName,
sgroupname,
sDescription,
dPollTime,
MIN(nUsed_Min) AS Min_use,
MAX(nused_Max)...
May 21, 2013 at 4:36 am
These colmn most be shorter:
MIN(nUsed_Min) AS Minimaal_gebruik,
MAX(nused_Max) AS Maximaal_gebruik,
SUM(nSize) AS Totaal_Schijfruimte,
Can you tell me what you mean with your anwser? (Make a SQL syntax plz)
May 21, 2013 at 4:09 am
No it dont help. Its say the follwoing thing:
Msg 1035, Level 15, State 10, Line 28
Incorrect syntax near 'CAST', expected 'AS'.
He aspect a AS () something.
When i use that it...
May 21, 2013 at 2:23 am
I get this error first:
Msg 102, Level 15, State 1, Line 28
Incorrect syntax near '>'.
With the syntax of yours.
The I fix it with this syntax:
(CAST(SUM(nUsed_Min) AS FLOAT(2)) / CAST(SUM(nSize) AS...
May 21, 2013 at 2:11 am
Viewing 6 posts - 91 through 96 (of 96 total)