Viewing 15 posts - 901 through 915 (of 14,953 total)
It's a somewhat common practice (not as common as it needs to be) to disable or reduce the permissions of builtin\admin post-installation. Is it possible someone did this? ...
August 28, 2012 at 10:37 am
If you want to experiment with it and see it a bit more directly, try creating a clustered index with included columns, and another view (different name, same definition) with...
August 28, 2012 at 10:23 am
Lynn Pettis (8/28/2012)
UPDATE Orders SET
some_col = (select
...
August 28, 2012 at 10:15 am
What you need to do is Full Outer Joins instead of Left Outer Joins. Join on Doc ID and Row Number.
SELECT COALESCE(dbo.GR.DocNum, dbo.GE.DocNum, dbo.Ref.DocNum) AS DocNum,
...
August 28, 2012 at 10:09 am
Is this in response to something? Or just felt the need to vent? (That happens.)
We can compete on some of that, generally by total quality and cost of...
August 28, 2012 at 9:41 am
Do you have a bunch of SQL Agent jobs that run extremely frequently? That's likely what's causing it.
August 28, 2012 at 9:37 am
The only way I see to possibly avoid tempdb on this one would be to build permanent tables, do the work in them that tempdb is doing in worktables, and...
August 28, 2012 at 7:31 am
Robert.Sterbal (8/27/2012)
August 28, 2012 at 6:53 am
Yeah, it's kind of unpredictable what will work and what won't, when it comes to cross-server queries.
August 28, 2012 at 6:32 am
When you return a date (or datetime, etc.) datatype in a query in Management Studio, the format you get is YYYY-MM-DD. Has nothing to do with how the data...
August 27, 2012 at 2:30 pm
Ah the joys of the Distributed Transaction Coordinator! That's the most likely culprit. My usual solution is pull the remote data over into a table variable (avoids log...
August 27, 2012 at 2:19 pm
Rod at work (8/27/2012)
GSquared (8/27/2012)
August 27, 2012 at 2:15 pm
One potential difference is that the tables in the From clause do not include their schema names. Thus, if his login has a different credential than yours, it might...
August 27, 2012 at 12:08 pm
Can't you just hard-code the string in the Select?
select 'Linked Server Name' as LinkedServerName
from [LinkedServer].database.schema.object;
August 27, 2012 at 10:29 am
I don't think you can do so. Per http://msdn.microsoft.com/en-us/library/aa258841(v=SQL.80).aspx:
DROP TABLE permissions default to the table owner, and are not transferable. However, members of the sysadmin fixed server role or...
August 27, 2012 at 10:27 am
Viewing 15 posts - 901 through 915 (of 14,953 total)