Viewing 15 posts - 31 through 45 (of 212 total)
Bad_Karma (5/9/2012)
I'm open to it, but a little confused. This seems to be a database setting, not server setting.
Yes, you are right - this setting probably doesn't apply to your...
_________________________________
seth delconte
http://sqlkeys.com
May 9, 2012 at 9:30 am
Bad_Karma (5/9/2012)
_________________________________
seth delconte
http://sqlkeys.com
May 9, 2012 at 8:36 am
Check this link and make sure you have followed all the steps, including enabling “Allow inprocess” for the OraOLEDB provider:
http://www.ideaexcursion.com/2009/01/05/connecting-to-oracle-from-sql-server/%5B/url%5D
Bad_Karma (5/9/2012)
_________________________________
seth delconte
http://sqlkeys.com
May 9, 2012 at 7:48 am
Ah, so you can use the linked server when using your Windows Auth login, but SQL Agent uses NT AUTHORITY and does not have access to the linked server. ...
_________________________________
seth delconte
http://sqlkeys.com
May 8, 2012 at 1:09 pm
So why would you even notice that Windows Authentication works, when you have designated SQL Server Authentication only, using the AMSCRYSTAL login? Can you run a query straight from...
_________________________________
seth delconte
http://sqlkeys.com
May 8, 2012 at 12:29 pm
And you've verified that the 'hard-code creds' work on the Oracle server? Have you set up the Linked Server security by checking 'Be made using this security context', and...
_________________________________
seth delconte
http://sqlkeys.com
May 8, 2012 at 10:48 am
If you are not opposed to hard-coding in empty nodes in an ISNULL, this works:
SELECT
W.RecID,
W.field1, (
SELECT
U.RecID2,
U.field2,
isnull((
SELECT
P.RecID3,
P.field3,
P.field4,
P.field5
FROM
@tmp3 P
WHERE
P.RecID3 = U.RecID2
FOR XML PATH ('Innermost'), ROOT('InnermostRoot'),TYPE ),
'<InnermostRoot><Innermost>
...
_________________________________
seth delconte
http://sqlkeys.com
May 7, 2012 at 12:39 pm
Can you show me what your 3 rows should look like?
_________________________________
seth delconte
http://sqlkeys.com
May 7, 2012 at 8:37 am
SELECT j.[job_id], j.[category_id], c.name [category_name]
FROM [msdb].[dbo].[sysjobs] j
JOIN [msdb].[dbo].[syscategories] c
on j.category_id = c.category_id
🙂
_________________________________
seth delconte
http://sqlkeys.com
May 4, 2012 at 12:39 pm
capn.hector (5/4/2012)
_________________________________
seth delconte
http://sqlkeys.com
May 4, 2012 at 11:32 am
capn.hector (5/4/2012)
When a unique clustered index is created on a view, the result set is stored in the database just like a table with a clustered index is...
_________________________________
seth delconte
http://sqlkeys.com
May 4, 2012 at 9:45 am
That's what we were thinking when we rebuilt the indexes - but why would that happen, especially more than once? Is it common for view indexes to get out...
_________________________________
seth delconte
http://sqlkeys.com
May 4, 2012 at 7:43 am
SQLRNNR (5/3/2012)
Woot woot.For any interested - Itzik has his poster posted here:
http://www.sql.co.il/books/insidetsql2008/Logical%20Query%20Processing%20Poster.pdf
Wonderful. Thanks!
_________________________________
seth delconte
http://sqlkeys.com
May 3, 2012 at 12:59 pm
Should be done during downtime - rebuilding indexes places table locks and prevents access during the rebuild process - unless you use REBUILD WITH ONLINE = ON.
USE my_db
GO
EXEC sp_MSforeachtable @command1="print...
_________________________________
seth delconte
http://sqlkeys.com
May 3, 2012 at 9:42 am
Awesome question! Thanks.
_________________________________
seth delconte
http://sqlkeys.com
May 3, 2012 at 7:12 am
Viewing 15 posts - 31 through 45 (of 212 total)