Latest News
Minggu, 24 Februari 2019

SQLSERVER: Membuat link server dari ms access


USE [master]
GO
EXEC master.dbo.sp_addlinkedserver @server = N'TEBET', @srvproduct=N'TEBET', @provider=N'Microsoft.ACE.OLEDB.12.0', @datasrc=N'C:\mdb KUA Data Base\Tebet\att2000.mdb'

GO
EXEC master.dbo.sp_serveroption @server=N'TEBET', @optname=N'collation compatible', @optvalue=N'false'
GO
EXEC master.dbo.sp_serveroption @server=N'TEBET', @optname=N'data access', @optvalue=N'true'
GO
EXEC master.dbo.sp_serveroption @server=N'TEBET', @optname=N'dist', @optvalue=N'false'
GO
EXEC master.dbo.sp_serveroption @server=N'TEBET', @optname=N'pub', @optvalue=N'false'
GO
EXEC master.dbo.sp_serveroption @server=N'TEBET', @optname=N'rpc', @optvalue=N'false'
GO
EXEC master.dbo.sp_serveroption @server=N'TEBET', @optname=N'rpc out', @optvalue=N'false'
GO
EXEC master.dbo.sp_serveroption @server=N'TEBET', @optname=N'sub', @optvalue=N'false'
GO
EXEC master.dbo.sp_serveroption @server=N'TEBET', @optname=N'connect timeout', @optvalue=N'0'
GO
EXEC master.dbo.sp_serveroption @server=N'TEBET', @optname=N'collation name', @optvalue=null
GO
EXEC master.dbo.sp_serveroption @server=N'TEBET', @optname=N'lazy schema validation', @optvalue=N'false'
GO
EXEC master.dbo.sp_serveroption @server=N'TEBET', @optname=N'query timeout', @optvalue=N'0'
GO
EXEC master.dbo.sp_serveroption @server=N'TEBET', @optname=N'use remote collation', @optvalue=N'true'
GO
EXEC master.dbo.sp_serveroption @server=N'TEBET', @optname=N'remote proc transaction promotion', @optvalue=N'true'
GO
USE [master]
GO
EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname = N'TEBET', @locallogin = NULL , @useself = N'False'
GO
  • Blogger Comments
  • Facebook Comments

0 komentar:

Posting Komentar

Item Reviewed: SQLSERVER: Membuat link server dari ms access Rating: 5 Reviewed By: ariesdev