Viewing 15 posts - 1,006 through 1,020 (of 1,193 total)
anthony.green (5/8/2012)
Just out of noticing your joining syntax, what type of join are you after here as the syntax from table1, table2 denotes...
May 8, 2012 at 7:25 am
Another thing would be the mixing of AND & OR in the WHERE clause - is that being evaluated correctly for desired criteria?
May 8, 2012 at 7:21 am
A combination of @@PROCID & OBJECT_NAME()?
http://msdn.microsoft.com/en-us/library/ms174408(v=sql.105).aspx
May 8, 2012 at 5:09 am
Yes, just do:
SELECT CASE WHEN EXISTS(subquery) THEN...
There are some situations you can't use it (e.g. in a group by clause IIRC), but SQL should tell you quite clearly in that...
May 8, 2012 at 5:01 am
Yep, looks like you're hitting the double hop problem.
Jimbo's links should have the information you need to solve it.
Thanks
May 4, 2012 at 5:16 am
Lynn Pettis (4/27/2012)
SQLRNNR (4/27/2012)
Lynn Pettis (4/27/2012)
L' Eomot Inversé (4/27/2012)
GilaMonster (4/27/2012)
Lynn Pettis (4/27/2012)
Gail, without really digging into this, isn't this just an expensive NOP?
Yup.
On the plus side, SQL's smart enough not...
May 3, 2012 at 10:07 am
On the security page of the linked server properties, are any impersonated logins setup, and which option is selected in the 'For logins not defined in the list above, connections...
May 3, 2012 at 9:30 am
SQLCrazyCertified (5/3/2012)
Gazareth (5/3/2012)
I can understand the problem with a production outage if the DR site goes offline, but if the mirror's at the...
May 3, 2012 at 7:09 am
I'm trying to work this out as well.
I can understand the problem with a production outage if the DR site goes offline, but if the mirror's at the principle location...
May 3, 2012 at 3:27 am
Crikey that's a script! 😀
May 1, 2012 at 3:19 am
Don't have a query to hand, but there's sys.database_permissions, any use?
May 1, 2012 at 3:16 am
Your mileage may vary, but I've seen impressive results from adding the RECOMPILE option mentioned in Gail's article.
Wasn't exactly the same scenario, but similar enough that you might get some...
April 30, 2012 at 10:56 am
Sean Lange (4/26/2012)
???
CustomerSales / TotalSales
Agreed.
Not sure you really need custom code for this?
April 26, 2012 at 9:37 am
The other thing I can think of is:
Are you accessing it via http://computername/reports or http://localhost/reports ?
Try the Run as admin with both.
Other than that, there's loads to look at on...
April 25, 2012 at 10:22 am
Viewing 15 posts - 1,006 through 1,020 (of 1,193 total)