Viewing 15 posts - 241 through 255 (of 283 total)
Also - make sure you include the login and password in the openrowset query
You had:
SELECT a.* FROM OPENROWSET( 'SQLOLEDB', 'dbname' ,'select * from dba.dbo.ServerTypes')AS a
Try
SELECT a.* FROM OPENROWSET('SQLOLEDB','ServerName';'sa';'MyPassword,
'SELECT...
A.J.
DBA with an attitude
June 7, 2005 at 12:13 pm
A couple things to ensure -
1. You are logged in using SQL Authentication
2. Your SQL Server's service account is using a domain account (with access to the target servers...
A.J.
DBA with an attitude
June 7, 2005 at 12:04 pm
Look under \\... Microsoft\MSSQLServer\Providers....
A.J.
DBA with an attitude
June 6, 2005 at 1:14 pm
DBCC CHECKTABLE(tablename) is not needed since DBCC CheckDB checks every table in the database already
A.J.
DBA with an attitude
June 6, 2005 at 12:23 pm
I1 = Index
U1 = Unique Constaint
A.J.
DBA with an attitude
June 6, 2005 at 12:21 pm
However make sure that your registry settings for that particular OLEDB Provider have a value of
DisAllowAdHocAccess = 0
If this is non-existant it will not allow adhoc access (i.e. OpenQuery,...
A.J.
DBA with an attitude
June 6, 2005 at 12:15 pm
You'd probably be better off using SQLOLEDB provider rather than MSDASQL (which requires a ODBC DSN)
A.J.
DBA with an attitude
June 6, 2005 at 12:07 pm
Why don't you just use Profiler?
A.J.
DBA with an attitude
May 20, 2005 at 9:26 am
Does it just time out, or is there an error message of some sort?
A.J.
DBA with an attitude
May 13, 2005 at 9:06 am
You don't have to use dbo in the queries (although it's probably not best practice) as long as the database is owned by dbo. Is your SQL Server database owned...
A.J.
DBA with an attitude
March 17, 2005 at 12:52 pm
Collation compatible
A.J.
DBA with an attitude
March 15, 2005 at 2:01 pm
You will have no problems that I can forsee, as long as the Domain User account is a local Admin. I would recommend trying this on a test / development...
A.J.
DBA with an attitude
March 15, 2005 at 1:55 pm
You could probably find this information in the Windows event log, if you are logging informational messages.
A.J.
DBA with an attitude
March 15, 2005 at 1:53 pm
Use OpenQuery or OpenRowset
A.J.
DBA with an attitude
March 7, 2005 at 4:43 pm
Make sure that the DisAllowAdHocAccess registry setting is set to 0 (zero) for whichever OLE DB Provider that you are using.
From Microsoft web....
"... with the DisallowAdHocAccess property set to 1...
A.J.
DBA with an attitude
February 24, 2005 at 8:05 am
Viewing 15 posts - 241 through 255 (of 283 total)