Viewing 8 posts - 1 through 8 (of 8 total)
I am facing the below error:-
Cannot perform an aggregate function on an expression containing an aggregate or a subquery.
The Complete Query is as follows:-
SELECT
TEJPGLMA_LEAF.GL_CODE,
...
October 31, 2011 at 3:10 am
You Can Use this Way of Insertion into a Temporary Table
SELECT [the SUM] = (DATEDIFF(minute, t1.[time], t2.[time])) into #p
FROM
(
SELECT [time], row = row_number() OVER (ORDER BY [time])
FROM @TABLE
) t1
INNER JOIN
(
SELECT...
July 25, 2011 at 6:14 am
Hi Orakid,
We can maintain multiple sessions in SSMS using Dynamic Management View (DMV).
By using this keyword u can see how many sessions are opened sys.dm_exec_sessions
For further reference, u can go...
July 22, 2011 at 6:08 am
What does that command do Mr. Jannie?
Let me know clearly?
July 21, 2011 at 12:12 am
Hi Friends,
Thanks for your Replies..
I don't have permissions to take backup of a database...
In this Case, How do I take a backup of a table?
I don't want to take whole...
July 20, 2011 at 11:27 pm
hi,
As I look into the Output Clause,
While we use insert command
then the Temp table i.e @tab
should be shown only the inserted values only right?But now the output...
June 10, 2010 at 4:13 am
Viewing 8 posts - 1 through 8 (of 8 total)