Viewing 15 posts - 31 through 45 (of 148 total)
Hi Lynn,
Since the highest level reached is 1, for simplicity sake, you can remove the following:
DECLARE @lvl_limit AS int = 2;
and
WHERE lvl < @lvl_limit
----------------------------------
You can use the...
March 29, 2014 at 3:27 pm
Hi Sean, I managed to create scripts which only includes the very minimum records, therefore no need to compress them. Attached the 3 scripts. First script is to create a...
March 28, 2014 at 4:26 pm
Sean, if I had issue posting stuff how did I get my query posted ?
Secondly, if you download the files, open SQL Server, create a new database, paste the...
March 28, 2014 at 1:20 pm
Hi Sean Lange, I listed the full query.
Unfortunately there is no way around the table scripts (includes both schema and data scripts),
I tried limiting the records for 'SR49931'...
March 28, 2014 at 11:53 am
Hi Koen, forgive me for not posting a new article, but I wanted a reply from you since I noticed you did your MCSA SQL Server 2012 - MCSE Business...
October 3, 2013 at 3:18 pm
Hi, can I assume your query is for a report dataset ?
August 26, 2013 at 3:26 pm
Hi Gail, thanks for the reply, just want to confirm the following:
I assume I should rather use these -
Snapshot isolation.
Read committed snapshot isolation.
Database Snapshot.
I assume...
August 2, 2013 at 12:09 pm
OK,
In SQL 2012 you can have a read-only copy of the database - which you can use for SQL Reports,
in this case you can use READ UNCOMMITTED or skip...
August 2, 2013 at 11:54 am
For SQL Reports stored procedures you most definitely want to use "SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED".
You only specify it once in the beginning of your stored procedure, as to...
August 2, 2013 at 1:49 am
Hi Steve, you mentioned -
We need to learn more about statistics and analysis to ensure that as we work with business people to query data, we understand what...
July 9, 2013 at 1:33 pm
Hi Sergiy, firstly thanks to you and everyone else who responded to my post.
I think I should rather have named the title of my post:
How to find duplicates based...
April 23, 2013 at 4:08 pm
Hi, perhaps I did not explain myself clearly, so I am trying to fix that.
I need to search a table with user records, find only those users that occur more...
April 23, 2013 at 12:51 am
sdhanpaul,
Prior to removing duplicate instance of user, I first want to get list of duplicate users, to do that I need to filter them and make sure they really...
April 20, 2013 at 4:41 am
Thanks GilaMonster, you're sharp, very sharp (and quick too).
Had one issue (two entire weeks were = week 53):
2011-12-31 00:00:00.000 Week 53
2012-01-01 00:00:00.000 Week 53
Replaced...
March 27, 2013 at 3:30 pm
Hi, below I pasted 3 examples of Pivot (sample 2 is shows you that a case statement can be used to replace Pivot i you don't like Pivot method).
-- sample...
March 27, 2013 at 2:51 pm
Viewing 15 posts - 31 through 45 (of 148 total)