Viewing 15 posts - 391 through 405 (of 761 total)
Please have a look at the link in my signature and post sample data as shown in it. People will find it a lot easier to work on your requirement...
May 23, 2012 at 11:34 pm
shubhamagrawal.107 (5/23/2012)
now tell me can i see the...
May 23, 2012 at 3:06 am
Div Goud (5/23/2012)
hi,how to tune the performance of a stored procedure.
Depends on the Stored Procedure that you are talking about. But, generally there are a few things you need to...
May 23, 2012 at 2:48 am
I could have been more precise if you had given me some sample data to work with.
Anyways, you can accomplish what you are trying to do by using UNPIVOT. Here...
May 22, 2012 at 11:43 pm
sivag (5/22/2012)
thanks a lot Gullimeel and Vinu Vijayan
You're welcome!! 🙂
May 22, 2012 at 4:29 am
mah_j (5/22/2012)
Thank alot vinu512 for you help:-)
You're Welcome. 🙂
I'm glad, I could help.
May 22, 2012 at 1:32 am
Look at the very data you've presented. Where is 6:07 and has more than 10 minutes gone by since 6:00 with the levels indicated? I think not. The final answer...
May 22, 2012 at 1:01 am
Doesn't it still work Mr. Jeff Moden??....The CTE give the following result set:
InterfaceName TheDateTime ...
May 22, 2012 at 12:47 am
dwain.c (5/21/2012)
vinu512 (5/21/2012)
Nice!!Very nice work with the Ordering Dwain. 🙂
Thank you sir! I did enjoy that one.
I couldn't think of it the way you thought.....its a good trick and...
May 22, 2012 at 12:21 am
I think you can get it by Count() Over Partition as follows:
--Creating Table
Create table StoreGroup (
StoreGroup int,
Store int
)
--Inserting Sample Data
insert into StoreGroup values
(1,1),
(1,2),
(1,3),
(2,4),
(2,5),
(2,6),
(3,7),
(3,2),
(3,8),
(4,1)
--Query For Your Requirement
Select StoreGroup, Store From
(Select *,...
May 22, 2012 at 12:20 am
dwain.c (5/21/2012)
This approach should work...
May 21, 2012 at 11:54 pm
mah_j (5/21/2012)
HIwhat is the difference between Snapshot Isolation Level and Read Committed Snapshot?
Both of them create their own snapshot of the data being read at that time.
This link on...
May 21, 2012 at 11:32 pm
sivag (5/21/2012)
Gullimeel
our query was working fine but if want to
get the out put like this mean what...
May 21, 2012 at 11:21 pm
Yes, I agree with Steve....you need to use Dynamic SQL for this as follows:
Declare @name1 varchar(max) = 'abhi.Test.dbo', @name2 varchar(50) =
...
May 21, 2012 at 11:07 pm
David Webb-200187 (5/21/2012)
May 21, 2012 at 10:50 pm
Viewing 15 posts - 391 through 405 (of 761 total)