Viewing 15 posts - 121 through 135 (of 137 total)
dwain.c (9/2/2012)
Why don't you just use UPDATE (if all 31 rows are present) or MERGE (if they are not)?
But that means i have to write update 31 times. Can't this...
September 2, 2012 at 10:18 pm
Thanks Luis. That work.
August 30, 2012 at 9:04 am
When i tried the above query i was getting the below error "Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <=...
August 23, 2012 at 9:33 pm
Yup you are right. I had figured it out. i was not knowing that we are able to used from with update. Between thanks for reply:-)
August 16, 2012 at 2:35 am
Antony i tried your first solution it is working but it is showing me only the value of A. It is not showing subsequent rows i.e not showing me...
August 14, 2012 at 6:31 am
Thanks Gila And Grant. i was able to find the answer through sys.dm_exec_procedure_stats but when i tried for sys.dm_exec_query_stats , over here how can we specify whether we are searching...
August 13, 2012 at 5:30 am
Phil Parkin (8/10/2012)
What do you mean by 'operations'?
Over here operation can be just select,update or delete.
August 12, 2012 at 9:56 pm
Jeff Moden (8/10/2012)
Shadab Shah (8/9/2012)
I have come across various section on this website where it is mention that SQL Server is a set based programming language.
My understanding about...
August 12, 2012 at 9:53 pm
I really appreciate you for your answer thanks. And the output was the same as i was thinking.
Since i am a newbie , i am having some problem while trying...
August 3, 2012 at 7:32 am
yeah i was expecting functional requriment. But again the new question that comes to mind is if we do have an alternate solution then why unpivot and pivot.
Since i am...
August 3, 2012 at 6:33 am
So does that mean that Surrogate Key is only the concept. And in lay man terms(i.e. mine) can we say that PK=Surrogate Key.
If the above is true that what is...
August 2, 2012 at 7:08 am
I would again try to make to understand what i am trying to achieve.Since i am a newbie , the first thing they teach to me was C.
I was trying...
July 31, 2012 at 5:22 am
Hi,
I might not be able to put my question in proper way so let me put the same question other way around.
-------- //some logic
-------- //some logic
where empid = (select empid...
July 31, 2012 at 2:37 am
I tried your query but it is not working for me. This query does not overwrite the existing value in emp2 but it adds additional records. I want something which...
July 31, 2012 at 1:29 am
Viewing 15 posts - 121 through 135 (of 137 total)