DB Linking to MS SQL Server

I would like to know if it is possible to do a DB-LINK to a MS SQL Server? if so how or where can i find info? thanks

possibly the account running the webi report server doesn't have access to the drive. Is it local system? Try using the same account you are logged into the webi rich client as, but you will most likely need to grant that account local admin on the server so it can run the service.
Regards,
Tim

Similar Messages

  • OraOledb for 64-bit, Linked Servers and SQL Server 2005 issues

    Our environment is : SQL Server 2005, Windows Server 2003, 64-bit and 32-bit operating systems.
    Problem on 64-bit operating system box: (32-bit works fine).
    I am trying to access Oracle 10g database using linked server from our SQL Server 2005. In case of number fileds i got the following error:
    Invalid data for type "numeric".
    After going through one of the posting in this forumn i was able to resolve the problem by converting those column values to char while querying and then converting them back to numeric type on SQL server side.
    But today i ran into another problem. There is a VARCHAR2 column. I was able to retrieve the data yesterday for that column but today i am getting a blank recordset. If i exclude the colum from the query then i am getting all the rows.
    I am querying against a view and it has got a number of columns whose data type is VARCHAR2.
    Again the problem is on 64-bit operating system only. We have a 32-bit operating system on which i am able to retrieve the data including this column. I looked at the data and everything looks OK. No funny characters etc.
    I tried workarounds like using cast, to_char, checking for nulls etc., Nothing works.
    Any help is greately appreciated. Thanks.

    Did you find a resolution for this? We have similar problem. Set up a linked server in SQL 2006 to Oracle (running on Windows 64-bit) Linked server works and views I had set up were working but they added some new data in the Oracle test database I am using and now I get errors on one of the views.
    Error I am getting on the view is "Cannot initialize the data source object of OLE DB Provider "OraOLDEDB.ORacle" for the linked server"
    If I fine tune my queries to find the specific table or view that is at issue, then I get the error "inconsistent metadata for a column"

  • Link to download Sql Server 2012 "Standard Edition"

    We have purchased Sql Server 2012 “Standard” edition license. Looking for the link to download of installation software for 2012 “Standard” edition. Have tried
    a lot but could only found - the “enterprise” evaluation copy.
    Looking for urgent help on this. Thanks.

    Thanks for the update.
    1. Would like to check if it is possible to download Sql Server 2012 “Standard" Edition straight away rather than doing a two step install?
    2. Assuming we do a two step install - during upgrade once we specify the license key, would it ask whether we need to change edition to standard/ enterprise or it automatically determines the edition based on the value of the license key?
    Hi,
    1.Do you have MSDN subscription ? You can download from MS link directly if you have one. Please ask the vendor who provided you with License he would be best person to call.
    2. On license page you just have to enter license key that's it , after that SQL Server just knows what it has to do. It does not asks you anything about license it just proceeds
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • DB LINK Oracle to SQL Server SQL Server TimeStamp converts to Oracle Date

    Hi All,
    I have created a DB link between Oracle 10g 10.2.0.5 to SQL server 2005 using Oracle 11g gateway. When I execute a query from Oracle that selects data from SQL server using the DBLINK then the column value of type Timestamp from SQL server gets converted to Date data type in Oracle and it losses the time value.
    Is there some way (in gateway configurations or in select query sql ) that the SQL server data type Timestamp gets converted to Oracle's Timestamp?
    Please help.
    Best Regards!
    Irfan
    Edited by: irf_mas on Mar 13, 2012 3:23 AM

    You're getting the ORA-2070 error as the gateway that you are using is not supporting the to_timestamp function in this context. You need to rewrite the code.
    Best would be if you first check out the data format that is sent as a string when you just select the date column - for example:
    data_create_dt
    Jan 11 2012 1:40PM
    Now the easiest way is to make sure the format you are using in your where clause matches the string from the SQL Server:
    select * from "data_ms_view"@FREETDS_DG4ODBC_EMGTW_11_2_0_3 where "data_create_dt"<'Jan 11 2012 1:41PM';
    which will result in:
    data_create_dt
    Jan 11 2012 1:40PM
    BTW,
    it works with all formats the SQL Server understands:
    SQL> select * from "data_ms_view"@FREETDS_DG4ODBC_EMGTW_11_2_0_3 where "data_create_dt">'11-JAN-12 01.40.00.000000000 AM';
    data_create_dt
    Jan 11 2012 1:40PM
    Another way using binds:
    SQL> variable datum varchar2(26);
    SQL> exec select to_char(systimestamp,'MON dd yyyy hh:mi') into :datum from dual;
    PL/SQL procedure successfully completed.
    SQL> print datum
    DATUM
    MAR 19 2012 08:29
    SQL> select * from "data_ms_view"@FREETDS_DG4ODBC_EMGTW_11_2_0_3 where "data_create_dt" <:datum;
    data_create_dt
    Jan 11 2012 1:40PM
    There are several ways to get a result, just make sure you don't use an unsupported function in your statement. A list of supported functions is found in the manual.

  • JDeveloper link to MS SQL Server database MDS errors

    The database connection to the SQL server can be successfully created and used (after putting the sqljdbc4.jar file into the project's path). Then when I try to use that db connection for a SOA-MDS connection, the "Messages" tab in JDev displays the following error:
    WARNING: Error reading db partitions for connection name Connection1. Reason : MDS-00003: error connecting to the database
    Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Error during pool creation in Universal Connection Pool Manager MBean: oracle.ucp.UniversalConnectionPoolException: Error during pool creation in Universal Connection Pool Manager: java.sql.SQLException: Invalid Universal Connection Pool configuration: java.sql.SQLException: Unable to create factory class instance with provided factory class name: java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerXADataSource
    To get around this error, I explicitly added the sqljdbc4.jar file to the classpath by doing the following:
    In the jar “C:\Oracle\Middleware_2\jdeveloper\jdev\extensions\oracle.mds.dt.jar”, need to modify the META-INF/extension.xml to include the classpath:
    <classpath>C:/Oracle/Middleware/jdeveloper/lib/sqljdbc4.jar</classpath>
    Once this is done, then I can successfully create the SOA-MDS connection. I can also explore the MDS connection and see the names of available resources. However, the problem then comes again when a resource is actually chosen to be referenced in a composite. When choosing the resource or when trying to build after choosing the resource, an error is displayed that is the same as the original (reference above).
    I tried following both of the workarounds located in the following link, but it does fix the error when attempting to use MDS resources. http://efreedom.com/Question/1-5805190/JDeveloper-DB-Based-MDS-Connection-Issue
    It seems to me like JDeveloper uses multiple different class paths when doing different actions (creating DB link, creating MDS connection, using MDS resources, compiling projects that use MDS resources, etc.).
    Please let me know if you know how to use an MDS that is based in a Microsoft SQL Server DB.
    Ben

    I found a different way to implement the database connection that is used by the SOA-MDS connection. Instead of using the microsoft provided sqljdbc4.jar for the SQLServerDriver, I setup the db connection to instead use the Weblogic provided wlsqlserver.jar. I no longer need any of the workarounds mentioned previously and everything appears to be working. I can navigate the MDS resources as well as viewing and choosing to use them in the composites.
    As a side note, any user that is used for the DB connection for MDS connections must have the SOA_MDS (or DEV_MDS, depending on the setup) schema as its default (Jdev assumes the user’s default schema and thus doesn’t define the whole path). Also, the user must have select and execute privileges on the SOA_MDS schema (direct or role-based) as it needs to query tables and execute stored procs.

  • Linked clones , sysprep sql server , how does storage works

    Hi,
    I have created a sysprep install of SQL Server 2008 R2 . deployed linked clones from this templates.
    Everything works fine !!!
    I just want to know how the installatioon takes place. will the linked clones share the binaries and files from parent ?
    will there be any performance degration in future ?
    or all the SQL Server program files and installation files actually gets copied over ?
    What exactly happens ...
    Thanks

    The deployed linked clones of your SQL template contain only the difference in data between themselves and the original template.  Therefore when they are 1st deployed there is very little data attributable to them.  Once you've powered them on, and loaded some data in, the linked-clone's virtual disk files will contain, the difference between themselves and the base template, and will grow in size as they're used and data changes.
    So (overly simplifying things) the OS and SQL application will reside in the VM template, and the SQL data imported after clone/deployment will reside in the linked clone.  If you update the OS or SQL install (or make any otehr changes that will affect data stored on the VM's disks), these changes will occur in the linked-clone, but will still be dependant on the original template.
    So far as performance is concerned, there can be some performance drop when using linked clones as opposed to full fat VM's, in a similar fashion to normal VM's with snapshots.  Normally it isn't a problem, even if you have a chain of linked clones of linked clones, but it can be.  All depends on how much you need to push your SQL servers, and how much grunt is available from your ESX's and the storage that your VM's are running from.

  • OraOledb, Linked Servers and SQL Server 2005 issues

    Some issues I've come across when using SQL Server 2005 (and SQL Server Express 2005), the OraOLEDB provider (10.2.0.1) and a linked Oracle database (8.1.7.4.0 64-bit)
    1) You must set the OraOledb.Oracle\AllowInProcess value to 1 to allow the OraOledb provider to run in SQL Server's process. Without doing this I receive an 'unspecified error' from the OLE DB provider when attempting to run a query
    2) When running a ' select * ' query across a linked server using the provider, I receive the following error: Msg 9803, Level 16, State 1, Line 1
    Invalid data for type "numeric". I can, however, select all of the columns by name and the query completes (no error). Sometimes the 'select *' query returns a few rows before the error, sometimes it doesn't. The Microsoft Provider for Oracle does not have this problem

    Okay... I've got a Win2K3 Std Ed server (x64) running 64-bit SQL Server 2005 Enterprise Edition. I've installed the Oracle 10g 10.2.1 full client and admin tools, added two named services via the NetConfig assistant, and successfully set up (and tested) a connection via the ODBC Administrator to an Oracle database.
    Now... when I try to create a new connection manager in SQL Server 2005 Integration Services, the OLEDB provider for Oracle can't be found, and when I try to manually add an underlying OLEDB connection to the database, SQL Server reports:
    Test connection failed because of an error in initializing provider. The 'OraOLEDB.Oracle.1' provider is not registered on the local machine.
    Does anyone know what I need to do to see my ODBC Server data connections in SQL Server 2005 (64 bit)? I don't have this issue on my 32-bit SQL Server 2005 servers.

  • DB links Oracle to Sql server

    Hi All,
    I am planning to create DB link from oracle to sql server 2005.
    Please provide the doc for creating db link from oracle to sql server 2005 and also let me know is their any freeware to do the same.
    Regards

    It would be helpful if you could mention which platform your Oracle database is running on and which word size the OS is (32/64bit).
    The free solution would be to use the Database Gateway for ODBC (=Dg4ODBC) and install it on a MS Windows platform or on Linux 64bit as for these 2 platforms Microsoft offers a free ODBC driver. On all other platforms you have to purchase an suitable ODBC drivers from a 3rd party vendor like DataDirect. I know, some people here on the Forum are using FreeTDS but this driver is not a good choice when using it in production.
    Starting with the documents where you can build up a database link without additional costs:
    Please have a look at the documents available on My Oracle Support portal:
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on 64bit Windows Operating Systems to Connect to Non-Oracle Databases Post Install [ID 1266572.1]
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit to Connect to Non-Oracle Databases Post Install [ID 466225.1]
    and
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit to Connect to Non-Oracle Databases Post Install [ID 466225.1]
    As mentioned for other platforms you commonly have to purchase a 3rd party ODBC driver and depending on the licensing costs this 3rd party ODBC driver might be more expensive the using Oracle's commercial product, the Database Gateway for MS SQl Server. It is designed for MS SQl Server connections and much more powerful then DG4ODBC - for example it allows you to call remote SQL Server stored procedures or to participate in distributed transaction.
    Documents about DG4MSQl can be found also on Oracle's support portal.
    - Klaus

  • DB Links pointing to  sql server not working

    Hi,
    We created a db link to fetch data from sql server we are getting the following error
    Link : "APPS_EDW_WALT.WORLD"
    Error : ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from APPS_EDW_WALT
    Please let us know how to resolve the same.
    praavan

    Hi Praavan,
    Please provide Oracle and OS versions.
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Cause: An attempt to call an external procedure or to issue SQL to a non-Oracle system on a Heterogeneous Services database link failed at connection initialization. The error diagnosed by Net8 NCR software is reported separately.
    Action: Refer to the Net8 NCRO error message. If this isn't clear, check connection administrative setup in tnsnames.ora and listener.ora for the service associated with the Heterogeneous Services database link being used, or with 'extproc_connection_data' for an external procedure call.Please refer to following links:
    ORA-28545: error diagnosed by Net8 when connecting to an agent error URGENT
    http://dbaforums.org/oracle/index.php?showtopic=6684
    HTH,
    Thierry

  • Use Database link connect to SQL Server

    I have a database link from Oracle to SQL Server using user cdit and this user connects to database "northwind".How can i get data from another database use this database link?

    Just add the @<<db link name>> to the table name in your SELECT
    SELECT *
      FROM <<table name>>@<<db link name>>Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Possible to link FormsCentral with SQL Server 2005 database?

    Is this possible?
    We need to generate feedback forms, with mail-merge type fields that will need to be pre-populated from our database before sending out the form to our clients for feedback.
    Thank you

    Thought so. Then this product is not useful for us.
    Is there any Adobe product out there that is web based, form oriented, and able to be used to create PDF forms from a database?
    Creating blank data entry forms, might as well use SurveyMonkey or basic ASP.net.
    Thanks anyway.

  • Linking to SQL Server using Transparent Gateways

    I want to use the Transparent Gateways to link to a SQL Server DB.
    I downloaded Oracle Enterprise Server from OTN.
    As far as I can tell, the Transparent Gateways are supposed to be bundled with Oracle Enterprise Server, but I can't find them from the Universal Installer.
    Does anyone know how I install the Gateways? Are they included with the downloaded Oracle Enterprise Server? If not, do I need to get the Oracle Enterprise Server CD Pack?
    Thanks
    Mike

    You did create a DUAL table in the Sqlserver database?
    Sybrand Bakker
    Senior Oracle DBA

  • Linking to SQL Server using DG4ODBC

    Hi all,
    I've configured Oracle 11g R1 for Windows 2003 Server 32-bit to connect to MS SQL Server 2005 through ODBC.
    Following is the error I got when I try to access SQL Server by the db link in Oracle:
    SQL> select sysdate from dual@sqls ;
    select sysdate from dual@sqls
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from SQLSThe ODBC link to the SQL Server was successfully tested.
    The listener, however, returned error as shown below.
    /* The file E:\Oracle\OraDb11g\hs\admin\initsqls.ora */
    HS_FDS_CONNECT_INFO = sqls
    HS_FDS_TRACE_LEVEL = 1
    /* Listener.ora */
    LISTENER =
    (ADDRESS_LIST=
          (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    SID_LIST_LISTENER=
      (SID_LIST=
          (SID_DESC=
             (SID_NAME=sqls)
             (ORACLE_HOME=E:\Oracle\OraDb11g)
             (PROGRAM=dg4odbc)
    /* tnsnames.ora */
    sqls =
      (DESCRIPTION=
        (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
        (CONNECT_DATA=(SID=sqls))
        (HS=OK)
    /* sqlnet.ora */
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT, HOSTNAME)
    /* testing the connection */
    E:\Oracle\OraDb11g\BIN>tnsping sqls
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 14-JUN-2
    010 09:36:35
    Copyright (c) 1997, 2007, Oracle.  All rights reserved.
    Used parameter files:
    E:\oracle\OraDb11g\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT
    =1521)) (CONNECT_DATA=(SID=sqls)) (HS=OK))
    OK (20 msec)
    /* code to create the db link */
    CREATE PUBLIC DATABASE LINK sqls CONNECT TO
    "SRV11\Administrator" IDENTIFIED BY "ospassword" using 'sqls';
    /* Contents of Listener Log */
    Mon Jun 14 11:25:59 2010
    14-JUN-2010 11:25:59 * trc_level * 0
    14-JUN-2010 11:26:06 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=185599488)) * status * 0
    Mon Jun 14 11:26:22 2010
    14-JUN-2010 11:26:22 * (CONNECT_DATA=(SID=sqls)(CID=(PROGRAM=)(HOST=WORKGROUP\SRV10)(USER=SRV10\Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=3333)) * establish * sqls * 12505
    TNS-12505: TNS:listener does not currently know of SID given in connect descriptorAny hint is appreciated.

    You did create a DUAL table in the Sqlserver database?
    Sybrand Bakker
    Senior Oracle DBA

  • I can't link to an I series (IBM AS400) server from my sql server 2014 server (64 bit) -- but yes can link on sql server 2005 (32 bit)

    I have an I series (IBM AS400) server linked "OK" to a sql 2005 sql server (32 big).  I copied the link script (but changed credentials) from the sql server 2005 link and attempted to run it in the sql server 2014 server (on win 7 64 
    bit).  There are no complaints from SSMS when I run the script, but when I try to query a table I get this error message:
    OLE DB provider "MSDASQL" for linked server "CWMPDTA" returned message "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed".
    OLE DB provider "MSDASQL" for linked server "CWMPDTA" returned message "[IBM][System i Access ODBC Driver]Key value in connection string too long.".
    Msg 7303, Level 16, State 1, Line 11
    Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "CWMPDTA".
    Here is the script (from the sql server 2005 (32 bit)) I ran on the sql server 2014 SSMS -- is there anything I need to change?  How can I get this I series server to link to my sql server 2014 server?
    USE [master]
    GO
    /****** Object: LinkedServer [CWMPDTA] Script Date: 9/25/2014 10:39:12 AM ******/
    EXEC master.dbo.sp_addlinkedserver @server = N'CWMPDTA', @srvproduct=N'cwmpdta', @provider=N'MSDASQL', @datasrc=N'iseries2', @provstr=N'Provider=IBMDA400.DataSource.1;Password=myPwrd;Persist Security Info=True;User ID=myID;Data Source=10.0.0.51;Initial Catalog=T9S', @catalog=N'T9S'
    /* For security reasons the linked server remote logins password is changed with ######## */
    EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'CWMPDTA',@useself=N'False',@locallogin=NULL,@rmtuser=N'myID',@rmtpassword='myPwrd'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'collation compatible', @optvalue=N'false'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'data access', @optvalue=N'true'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'dist', @optvalue=N'false'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'pub', @optvalue=N'false'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'rpc', @optvalue=N'false'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'rpc out', @optvalue=N'false'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'sub', @optvalue=N'false'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'connect timeout', @optvalue=N'0'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'collation name', @optvalue=null
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'lazy schema validation', @optvalue=N'false'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'query timeout', @optvalue=N'0'
    GO
    EXEC master.dbo.sp_serveroption @server=N'CWMPDTA', @optname=N'use remote collation', @optvalue=N'true'
    GO
    Rich P

    Thank you for this reply.  I went to the link and selected the option for DB2s and ran the install.  Then I started up SSMS.  I copied the same script as above, and it executed successfully.  But when I try to run a query against
    a table in a database on this linked sever -- I get this error message:
    OLE DB provider "MSDASQL" for linked server "CWMPDTA" returned message "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed".
    OLE DB provider "MSDASQL" for linked server "CWMPDTA" returned message "[IBM][System i Access ODBC Driver]Key value in connection string too long.".
    Msg 7303, Level 16, State 1, Line 8
    Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "CWMPDTA".
    Do I need to change the line containing -- @provider=N'MSDASQL',  maybe?
    this is the query I'm running:
    select TOP 10 * from CWMPDTA.T9S.CWMPDTA.INSKU
    The same exact query runs fine on the sql server 2005 linked server.  Is there something I need to configure?
    Rich P

  • How to create a DSN-less connection to SQL Server for linked tables in Access

    hey
    i cant understand how i use that Function
    if that information what you need
     stLocalTableName: dbo_user_name
    stRemoteTableName: user_name
    stServer :sedo2015.mssql.somee.com
    stDatabase :sedo2015
    stUsername :sedo_menf_SQLLogin_1
    stPassword :123456789
    how will be that Function??
    please write that Function to me
    '//Name : AttachDSNLessTable
    '//Purpose : Create a linked table to SQL Server without using a DSN
    '//Parameters
    '// stLocalTableName: Name of the table that you are creating in the current database
    '// stRemoteTableName: Name of the table that you are linking to on the SQL Server database
    '// stServer: Name of the SQL Server that you are linking to
    '// stDatabase: Name of the SQL Server database that you are linking to
    '// stUsername: Name of the SQL Server user who can connect to SQL Server, leave blank to use a Trusted Connection
    '// stPassword: SQL Server user password
    Function AttachDSNLessTable(stLocalTableName As String, stRemoteTableName As String, stServer As String, stDatabase As String, Optional stUsername As String, Optional stPassword As String)
    On Error GoTo AttachDSNLessTable_Err
    Dim td As TableDef
    Dim stConnect As String
    For Each td In CurrentDb.TableDefs
    If td.Name = stLocalTableName Then
    CurrentDb.TableDefs.Delete stLocalTableName
    End If
    Next
    If Len(stUsername) = 0 Then
    '//Use trusted authentication if stUsername is not supplied.
    stConnect = "ODBC;DRIVER=SQL Server;SERVER=" & stServer & ";DATABASE=" & stDatabase & ";Trusted_Connection=Yes"
    Else
    '//WARNING: This will save the username and the password with the linked table information.
    stConnect = "ODBC;DRIVER=SQL Server;SERVER=" & stServer & ";DATABASE=" & stDatabase & ";UID=" & stUsername & ";PWD=" & stPassword
    End If
    Set td = CurrentDb.CreateTableDef(stLocalTableName, dbAttachSavePWD, stRemoteTableName, stConnect)
    CurrentDb.TableDefs.Append td
    AttachDSNLessTable = True
    Exit Function
    AttachDSNLessTable_Err:
    AttachDSNLessTable = False
    MsgBox "AttachDSNLessTable encountered an unexpected error: " & Err.Description
    End Function

    thanks more thanks for you
    look i add that code in form
    it worked but i cant add recored  why ??
    Private Sub Form_Open(Cancel As Integer)
    Call AttachDSNLessTable("dbo_user_name", "user_name", "sedo2015.mssql.somee.com", "sedo2015", "sedo_menf_SQLLogin_1", "123456789")
    End Sub

Maybe you are looking for

  • EXPORT to MEMORY ID Vs. EXPORT to DATA BASE IDX table??

    Hi, Some times we use EXPORT to MEMORY ID and some times we EXPORT to DATABASE IDX table, pls. let me know, 1) When we use EXPORT to MEMORY ID? 2) When we use EXPORT to DATA BASE IDX table? 3) I knew that in the (1) case, data wuld be stored in share

  • Font too small to read increase site font size

    IThe font in firefox keeps decreasing in size. Most sites font is probably a 6 or 7 pt. Ridiculous and I cannot find out how to change it. Please help immediately or I will have to cancel firefox account. Norton does not indicate I have any virus of

  • J'ai le wifi mais safari ne s'ouvre pas?

    J'ai le wifi mais quand je veux ouvrir safari on me met " the operation couldn't de completed.Cannot allocate memmory

  • Opening an eps causes Illustrator CS3 to lock up

    I am running Illustrator CS3 on a Mac G4 laptop running 10.4.11. Today I tried to open an EPS file, of the same time that I've opened before, I Illustrator looks up -- the spinning beach ball. I've tried to open the EPS file from within Illustrator,

  • Slices and centering in dreamweaver

    I have sliced my webpage in photoshop cs3 and followed the output options. I open the html file in dreamweaver and now want to center the sliced webpage. I watched a tutorial and it said I should be able to click and select the entire table and align