Viewing 15 posts - 571 through 585 (of 18,926 total)
Get back to 1 query at a time to add those filters.
Start by selecting the columns before applying the filter.
You can dump the results (copy / paste) into excel and...
December 6, 2011 at 11:32 am
SQLRNNR (12/6/2011)
That pretty much sums up what I would recommend.
You wouldn't force all projects and changes to go through all those stages?
December 6, 2011 at 11:29 am
So what's wrong with the results?
PS on nolock => http://sqlblog.com/blogs/andrew_kelly/archive/2009/04/10/how-dirty-are-your-reads.aspx
Any reason why you do UNION instead of UNION ALL (union = SELECT DISTINCT * FROM all 3 queries combined)?
December 6, 2011 at 11:07 am
The R2 exams are not out YET?
So they start the exams once the product is out of support or something :hehe:
And I was referring to this >
I am thinking...
December 6, 2011 at 10:59 am
SQLRNNR (12/6/2011)
For the time being, go...
December 6, 2011 at 10:52 am
I think those certs are out.
I'd go with 2008 R2 certs at the least if not 2012 (assuming they are out now, or very close to be out).
December 6, 2011 at 10:41 am
Check if switch works in a query.
If not embed all the iifs you need.
Edit : Wait are you runnin that query on the MS access engine or on sql server?
December 6, 2011 at 10:39 am
HTH, come back if you need more help or get stuck.
December 6, 2011 at 10:37 am
Grant Fritchey (12/6/2011)
LutzM (12/6/2011)
Ninja's_RGR'us (12/6/2011)
...Would have been such a slam dunk of either of Jeff, Gail or I had been the single finalist from ssc! 😉
I guess I know...
December 6, 2011 at 10:36 am
LutzM (12/6/2011)
Ninja's_RGR'us (12/6/2011)
...Would have been such a slam dunk of either of Jeff, Gail or I had been the single finalist from ssc! 😉
I guess I know why neither...
December 6, 2011 at 10:34 am
Read uncommitted would be useless here.
It's also a a bad practice most of the time.
If you can't say with 100% certainty that you can have the incorrect results returned then...
December 6, 2011 at 10:31 am
DECLARE @Id INT
SET @Id = (SELECT TOP 1 ID FROM <local system>)
INSERT INTO <local system> (columns list)
SELECT Columns, list FROM ServerName.DbName.owner.tblname WHERE Id > @Id
This assumes those dbs are on...
December 6, 2011 at 10:22 am
What's the PK? Identity by any change (or anything ever increasing would be nice)?
December 6, 2011 at 10:17 am
LutzM (12/6/2011)
Ninja's_RGR'us (12/6/2011)
ChrisM@Work (12/6/2011)
Ninja's_RGR'us (12/6/2011)
LutzM (12/6/2011)
Changing subject: Does anyone know one of the DBAinSpace finalists?There's no name I recognize as one of the Threadizens....
There's noone I recognize from this site,...
December 6, 2011 at 10:16 am
Brandie Tarvin (12/6/2011)
My first question, before anything else, is why are you using WITH RECOMPILE in the sproc?
4 multiple value parameters. Good idea, but useles with @t.
@OP, can you...
December 6, 2011 at 10:13 am
Viewing 15 posts - 571 through 585 (of 18,926 total)