Viewing 15 posts - 241 through 255 (of 282 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...
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...
June 7, 2005 at 12:04 pm
Look under \\... Microsoft\MSSQLServer\Providers....
June 6, 2005 at 1:14 pm
DBCC CHECKTABLE(tablename) is not needed since DBCC CheckDB checks every table in the database already
June 6, 2005 at 12:23 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,...
June 6, 2005 at 12:15 pm
You'd probably be better off using SQLOLEDB provider rather than MSDASQL (which requires a ODBC DSN)
June 6, 2005 at 12:07 pm
Does it just time out, or is there an error message of some sort?
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...
March 17, 2005 at 12:52 pm
Collation compatible
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...
March 15, 2005 at 1:55 pm
You could probably find this information in the Windows event log, if you are logging informational messages.
March 15, 2005 at 1:53 pm
Use OpenQuery or OpenRowset
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...
February 24, 2005 at 8:05 am
Viewing 15 posts - 241 through 255 (of 282 total)