Viewing 15 posts - 481 through 495 (of 515 total)
Very nice question Steve. I thought that answer should be 5. But immediately I corrected myself as there is 1 primary and 4 secondary replicas 🙂
July 22, 2012 at 2:19 am
Here it is (there can be another better solution as well)
with cte1
as
( select col1,col2 from @t
),
cte2
as
(
select col1,col2 from @twhere col2 is not null
)
select col1,coalesce(col2,(select top 1...
July 22, 2012 at 1:08 am
Your query is not very clear. I am putting up a scenario, hope this is what you are looking for:
CREATE TABLE test
(
process_name varchar(10), process_date datetime, process_value int
);
INSERT INTO...
July 21, 2012 at 10:07 pm
Don't forget to check out the latest SQL Server 2012 book coming your way:
http://tsql.solidq.com/books/tsqlfund2012/
Itzik Ben-Gan's awesomeness 🙂
-Lokesh
July 21, 2012 at 9:37 pm
+1
The only key is to set-up and get-started. The sooner you do the sooner you learn.
July 21, 2012 at 9:33 pm
Some time back I was also in the same state of mind, I referred the link below (short and nice explanation):
http://www.simple-talk.com/sql/t-sql-programming/temporary-tables-in-sql-server/
Hope this helps
Lokesh
July 21, 2012 at 9:31 pm
Thanks Paul. Wonderful trick for my implementation.
Lokesh
July 21, 2012 at 8:49 pm
Could some please help me with this. I need to implement this in a project.
Thanks, Lokesh
July 21, 2012 at 12:55 am
thanks for your link. I have already seen this before. the real challenge here is to define range function. As mentioned above if I assign a status range from A...
July 20, 2012 at 6:13 pm
+3
But someone from the moderator's team should have checked this before posting 🙂
July 20, 2012 at 4:31 am
Further to what Wayne has written:
In order to use this full back-up to restore the datbase, we also need to apply the transaction log on top of the restore. This...
July 19, 2012 at 10:00 pm
+1
I think, there should be transaction 1 commiting before Full backup reading ends.
July 19, 2012 at 9:54 pm
Friend, for details check the book -->
SQL Server MVP Deep Dives, Volume 2
PART 1 ARCHITECTURE EDITED BY LOUIS DAVIDSON
1. Where are my keys? by AMI LEVIN
July 19, 2012 at 11:34 am
July 19, 2012 at 11:29 am
Above link is totally in agreement with Gail Shaw's explanation
July 19, 2012 at 11:28 am
Viewing 15 posts - 481 through 495 (of 515 total)