Link A Table With Odbc Into Sql Server?

Nov 14, 2003

is it possible to link a table with odbc into sql server?


it would be nice to link an MS Access table into sql server where i could use stored procedures to access the MS Access table.

View 1 Replies


ADVERTISEMENT

Cannot Link To SQL Tables Using ODBC Link Table In Access 2003

Feb 3, 2006

When trying to link to an SQL table in Access 2003, the software appears to be malfunctioning. 

The sequence of events is File - Get External Data - Link Tables - Files of Type: ODBC Databases().

The Problem: On two of my computers, the select data source window does not pop up, preventing me from linking to any ODBC data source. 

Observations:  This function has worked normally in the recent past and works on other computers running Access 2003.  One difference between the computers working and non-working computers is Norton Antivirus 2006 (recent upgrade).

Has anyone experienced anything like this?  What's going on?

View 8 Replies View Related

How To Link SQL Server 2005 Into ODBC

May 16, 2008

Hi guys,
Please can anyone show me how to connect SQL Server 2005 to ODBC Driver(Novell).
The import/export wizard data source has no ODBC option.

My final goal is to extract data from an eDirectory into SQL table.
I used Novell Client to create a link to eDirectory; with the ODBC driver as the data Source for the SQL Server to extract data from.
Every help will be rewarded with appreciation.
Thanks

View 3 Replies View Related

ODBC Communication Link Failure To SQL Server

Sep 1, 2004

Okay-- if anyone can solve this they are truly the SQL genius! We are getting this error when we run a VB program that we use to access an SQL database on a server across our network on a workstation. In fact we get this same error when we even run the program on the server where the SQL database is running or on any of our workstations. Here is the error message:

08501:[Micorsoft][odbc sql server driver] communications link failure

Now the odd thing is that many other functions in the workstation application work fine and retrieve data from SQL but certain data requests by the workstation application fail with the above error message and we get this message consistently. Even though it appears that different workstations running the identical Vb application will get this error consistently but in different locations when running the application. We were running SQL 6.5 on an old server, with the workstation application for literally years without any problems. We also decided to upgrade to a new server, installed server 2000 operating system and the latest version of SQl -- moved all the databases pointed the workstations odbc at this new server and get exactly the same error in the same location in the workstation applications. The programmer that wrote the application and designed the database in SQL can't find the problem and a number of other computer "experts" also could not find the error. We did add a new linksys DSL router/firewall but everything kept working after this installation for several weeks so I don't know if this is the problem on the network. THe programmer also noted that he had problems using terminal services on our network to connect to his office computer and decided that there must be some network issues that are causing the ODBC communicaitions to fail and also terminal services to fail-- or of course they may be unrelated. Has anyone ever seen this ODBC communication error in their travels through SQL implementations? Any help will be greatly appreciated. If we can't fix this we will have to abandon a software application that has been used for over five years and just too complex to rewrite.

Jeff Kilpatrick

View 3 Replies View Related

Help Setting Up An ODBC Link To SQL Server From Access 2003

May 6, 2007

PLEASE HELP ME



I'm a pretty smart guy, but sometimes I end up feeling left behind with all of the terminology I don't recognize.



I am running XP Pro, Access 2003, and SQL Server 2005 express.

I want to set up a ODBC connection in Access to a table that has been created in an SQL Server 2005 Express Database.



I keep getting the message connection failed, SQL Server does not exist or access denied.



Can somebody here please help me?

View 1 Replies View Related

[Microsoft][ODBC SQL Server Driver]Communication Link Failure

Aug 29, 2002

All,
I need a help from you all. I am getting this error if the users are running the application which is connecting from MSAccess97 to SQL Server 2000.
Error: [Microsoft][ODBC SQL Server Driver]Communication link failure
I would appreciate if you send me the resolution for this problem.
Thanks,
Reddy

View 1 Replies View Related

Microsoft ODBC Sql Server Driver Communication Link Failure

Nov 16, 2005

I get the message Microsoft [ODBC Sql server driver]communication link failure error message in my VB 6 application with MSDE engine. This error does not happen often.
My connection string is as below.

"Provider=MSDASQL;Driver={SQL Server};Server=" & mSvrName & ";DATABASE=cnsClient;uid=uid;pwd=pwd"

Please help.

View 1 Replies View Related

Link SQL Server 2005 Tables To External Database Through ODBC

Sep 24, 2007

Hi
I'm a newbie at SQL 2005 and I'm trying to create linked tables to our ERP system through ODBC. I can do this in MS Access or vb.net by using the ERP system's ODBC driver, but I am lost when it comes to SQL Server 2005.
Thanks for any help

View 1 Replies View Related

ODBC Link From Access To SQL Server 2005 Stored Function

Sep 20, 2006

If I define a table-valued function in a SQL Server 2005 database, can I link to it from Access 2003 using ODBC?

I've defined the function successfully, and I can link from Access to tables in the database (so my ODBC link is basically functioning), but I can't see the table-valued function in the Linked Table Manager in Access.

I can define a pass-through query to grab the table, but with a pass-through query I have to provide the ODBC password every time.

What am I missing?

Suggestions?

View 1 Replies View Related

[Microsoft][ODBC SQL Server Driver]Communication Link Failure

Nov 27, 2007

Several of our customers are getting a message intermitantly throughout the day where the connection is closed. The message being generated is [Microsoft][ODBC SQL Server Driver]Communication Link Failure.

These messages started in the last two weeks.


Thanks for any direction that can be thrown my way.

David

View 3 Replies View Related

How To Restrict Editing Of SQL Server 2005 Data Via ODBC Link?

Apr 25, 2007

I have a sql server 2005 database with Delphi 2006 in the front end and for querrying and reporting we use MS Access 2003 by connecting to this database via ODBC connection. I recently found out that the SQL Server 2005 data connected thus can be edited (updated) from MS Access. I do not want end users to modify/update the SQL Server 2005 data from MS Access while I also want them to have the ability to insert/update/delete rights using the appropriate application interface. For now, I am handling this by creating a user id that is not permitted to update, insert and delete and using the same account in the ODBC. Is there a way in SQL Server 2005 you can control insert/update/delete rights for all users that will be applicable only in the ODBC mode?



Any help will be greatly appreciated.



thulo

View 3 Replies View Related

Trying To Setup ODBC Link To SQL 2005 Express

Nov 8, 2006

Hello All

I am trying to use SQL 2005 express as a datasource for a mailmerge with Word 2000.

I have created a ODBC link successfully. I have enabled all the protocols. When I open the ODBC link, all I see is a ODBC drop down. I cant see or select any database tables?

When I open the dsn I get a dialog caled Header Record Delimiters. I accept the defaults and then I get another Dialog called Mail Merge Recipients with a whole lot of connection info, but no sign of any database tables.

Any Ideas?



View 4 Replies View Related

ODBC Bcp_init Run Time Dynamic Link Library

Aug 9, 2007

Hi,

I'm having problems successfully executing bcp_init through a function pointer retrieved at run time from sqlncli.dll.

The call works when the library is statically linked.



Can someone please point out the problem? The commented out code in green executes successfully when the library is statically linked. Code marked in red fails.


SQLGetDiagRecW does not provide any useful information.

Any help is appreciated.

Regards,
Venkat


typedef SQLRETURN (__stdcall *SQLALLOCHANDLEPROC)
(
SQLSMALLINT HandleType,
SQLHANDLE InputHandle,
SQLHANDLE OutputHandle
);

/// typedef native function SQLSetEnvAttr

typedef SQLRETURN (__stdcall *SQLSETENVATTRPROC)

(

SQLHANDLE EnvironmentHandle,

SQLINTEGER Attribute,

SQLPOINTER Value,

SQLINTEGER StringLength

);

/// typedef native function SQLSetConnectAttrW

typedef SQLRETURN ( __stdcall * SQLSETCONNECTATTRPROCW )

(

SQLHANDLE ConnectionHandle,

SQLINTEGER Attribute,

SQLPOINTER ValuePtr,

SQLINTEGER StringLength

);

typedef SQLRETURN ( __stdcall *SQLCONNECTW )

(

SQLHANDLE ConnectionHandle,

SQLWCHAR * ServerName,

SQLSMALLINT NameLength1,

SQLWCHAR * UserName,

SQLSMALLINT NameLength2,

SQLWCHAR * Authentication,

SQLSMALLINT NameLength3

);



typedef RETCODE ( __stdcall *BCPINIT )

(

SQLHANDLE ConnectionHandle,

const WCHAR* TableName,

const WCHAR* DataFileNae,

const WCHAR* ErrorFileName,

SQLINTEGER Direction

);



main()
{

// Load library and initialize function pointers.

HMODULE hModule = ::LoadLibrary(_T("SQLNCLI.dll"));


SQLALLOCHANDLEPROC fnAlloc = (SQLALLOCHANDLEPROC)::GetProcAddress( hModule, _T("SQLAllocHandle") );

SQLSETENVATTRPROC fnEnvAttSet = (SQLSETENVATTRPROC)::GetProcAddress( hModule, _T("SQLSetEnvAttr") );

SQLSETCONNECTATTRPROCW fnConnectAttSet = (SQLSETCONNECTATTRPROCW)::GetProcAddress( hModule, _T("SQLSetConnectAttrW") );;

SQLCONNECTW fnConnectProc = (SQLCONNECTW)::GetProcAddress( hModule, _T("SQLConnectW") );

BCPINIT fnBCPInit = (BCPINIT)::GetProcAddress( hModule, _T("bcp_initW") );


// Allocate ODBC handles.

SQLHENV m_SQLEnvironment;

SQLHDBC m_SQLConnection;

SQLHSTMT m_SQLStatement;

SQLRETURN iReturn;


iReturn = fnAlloc( SQL_HANDLE_ENV,SQL_NULL_HANDLE,&m_SQLEnvironment);

//iReturn = SQLAllocHandle( SQL_HANDLE_ENV,SQL_NULL_HANDLE,&m_SQLEnvironment);




iReturn = fnEnvAttSet(m_SQLEnvironment,SQL_ATTR_ODBC_VERSION,(SQLPOINTER) SQL_OV_ODBC3,0);

//iReturn = SQLSetEnvAttr(m_SQLEnvironment,SQL_ATTR_ODBC_VERSION,(SQLPOINTER) SQL_OV_ODBC3,0);


iReturn = fnAlloc(SQL_HANDLE_DBC,m_SQLEnvironment,&m_SQLConnection);

//iReturn = SQLAllocHandle(SQL_HANDLE_DBC,m_SQLEnvironment,&m_SQLConnection);


// Set up bulk copy.
int nType = SQL_COPT_SS_BCP;

SQLPOINTER pvAttribute = (SQLPOINTER)SQL_BCP_ON;

SQLINTEGER nValue = SQL_IS_INTEGER;

iReturn = fnConnectAttSet(m_SQLConnection, nType, pvAttribute, nValue );

//iReturn = SQLSetConnectAttrW(m_SQLConnection, nType, pvAttribute, nValue );

// Connect.

BSTR ODBCSource = :: SysAllocString(L"SQL2005");

BSTR UserName = :: SysAllocString(L"sa");

BSTR Password = :: SysAllocString(L"xxx");

iReturn = fnConnectProc(m_SQLConnection, ODBCSource,7,UserName,2,Password,3);

//iReturn = SQLConnectW(m_SQLConnection, ODBCSource,7,UserName,2,Password,3);

// Init bulk copy.
BSTR sTableName = :: SysAllocString(L"test");

BSTR sErrorFile = :: SysAllocString(L"c:\test4.txt");

int nDirection = DB_IN;

RETCODE nRet = fnBCPInit( m_SQLConnection, sTableName, NULL, sErrorFile, nDirection ); // nRet = 0

//RETCODE nRet = bcp_initW( m_SQLConnection, sTableName, NULL, sErrorFile, nDirection ); // nRet = 1


}

View 10 Replies View Related

Datareader Source Connects To No Longer Existing ODBC-link

Aug 7, 2007

I am connecting to a MsAccess-database using ODBC. While developing the package we have changed mappings for this database. The ODBC was changed accordingly and the old definitions were deleted. However SSIS is still using the old ODBC-links even when deleting all existing connections and adding a new connection. Somehow the old settings have been saved and are being reused in the DataReader Source. If so where are they saved and how can I change/delete them ???? Note: I suspect the Server Explorer because every time I add a data connection using the ODBC, the Datareader Source starts using the wrong definition (even when Server Explorer uses the correct one).

View 7 Replies View Related

Creating A Link To An SQL Server Table??

Apr 25, 2000

I have used to following Microsoft supplied code to create a link to
SQL server from access: (Is there a way to use a DSN-less connection at comment below? If not is there a way to create a DSN using code?

-------------------------------------------------------------------------
Sub ClientServerX3()
Dim dbsCurrent as Database
Dim tdRoy as TableDef
Set dbsCurrent = CurrentDb
Set tdfRoy = dbsCurrent.CreateTableDef("Roy")

tdfRoy.Connect = "ODBC;DATABASE=pubs;UID=sa;PWD=;DSN=Publishers"

***************IS THERE ANYWAY TO USE AN OLEDB (OR OTHER DSN-LESS)
***************CONNECTION HERE? How??


tdfRoy.SourceTableName = "Royalties"
dbsCurrent.TableDefs.Append tdfRoy
End Sub


Thanks, I really appreciate the help
Sam

View 1 Replies View Related

Link To An Access Table From SQL Server

Feb 26, 2007

I'm trying to find how to link to an Access table from within SQL Server. I know I have seen it once, but can not remember where I saw it. I'm using SQL Server 2005. TIA,

View 5 Replies View Related

Junction/link Table Primary Key: Best Practice Using SQL Server

Nov 30, 2005

Hi all,
This is a bit of a general question regarding SQL Server link tables that i hope someone can find the time to answer.

I am looking for the best practice. If I have 3 tables

1) tblCompetition
2) tblTeams
3) tblTeamsInCompetition (this is the link table)

I know the link table should have a related CompetitionID and TeamID,
but should the link table also have a primary key that is an identity
autoincrement by 1 just as you would with the other two tables. In
Access I have never done this, however in SQL Server I have read that
you should do this (but now I can't find the documentation again which
prompts me to ask the question here).

Thanks for taking the time to answer this question.

View 7 Replies View Related

Can't Find SQL Native Client In ODBC Connection Manager In SQL Server Open Database Connectivity (ODBC)

Feb 13, 2007

I apologize if this is not the correct forum for this posting. Looking at the descriptions, it appeared to be the best choice.

I am running Windows XP Pro SP2. I have installed the SQL Native Client for
XP. However, when I try to add a new data source through ODBC Connection
Manager, SQL Native Client is not listed as an option. I have followed this procedure on three other systems with no problems. What would be causing the
SQL Native Client to not show up in the list of available ODBC data sources?

View 4 Replies View Related

Access2003 Cannot Link (but Excel2003 Can Link) To Tables In Access97 Database

Feb 20, 2008

I have created an Access2003 project (existing data) that links to external data. First I connected to a SQL Server 2000 database. Success. Then I tried to set up a Transact SQL data connection to a legacy MDW-secured Access97 database. (A third-party VB6 application goes against it, and we don't have the source code, so we cannot upgrade it.)

The Transact SQL link tests OK but I cannot select any of the tables or queries from the list presented. However, with the same credentials, I can use these same objects in Excel 2003.

When setting up the link in Access2003, I specify JET 4.0 OLE DB Provider, I enter the MDW file on the All tab, a username and a password on the Connection tab where I browse to the MDB file, and specify Shared Deny None on the Advanced tab. When I test the connection, it tests OK ("Test connection succeeded"). Yet on the "Select the Database and Table/Cube which contains the data you want" dialog, "(Default)" appears in the grayed-out dropdown. Then, beneath that dropdown, there is a grid with Name and Description columns. The grid contains query names but the grid is not enabled. The list of queries is this table is grayed out. Neither of the scrollbars works.

BUT... if I use the SAME username and password in Excel2003, and specify the same MDW, there is no problem working with these same database objects in the legacy Access97 database. WHAT IS DIFFERENT ABOUT THE WIZARD IN EXCEL THAT ALLOWS IT TO SUCCEED AND THE WIZARD IN ACCESS THAT CAUSES IT TO FAIL HERE? In Excel, the list of available providers says Microsoft Access Driver, not JET 4.0 OLE DB Provider.

Thanks
TR

View 1 Replies View Related

Link To A Table

Jun 21, 2006

There is a way to create a link from a SQL Server database to a table located on a MSAccess database? I mean like creating links from MSAccess to other databases. The requested table is updated many times/day, and I dont want to import the table each time an update happens.
Thanks,
Richard

View 2 Replies View Related

Link Aspnet_User Table With Another .

Aug 31, 2006

Hi, is correct add a relation to Asp.net_User to one another table(example orders)With column relactioned the table users with the table Orders , UserId , UserName , I am a little confused I need help!. Thank you

View 1 Replies View Related

Link To SQL 7 Table --db Lib-- PART 2

Apr 28, 2000

I have used the Microsoft code below to create a link to SQL server from access. I am using DAO not ADODB. Someone said that I should use dblib instead of ODBC in the connection string below in order to get the connection to work.

Does anyone know the correct syntax for OLE DB connection string and can it be used with DAO? I am getting an error "ISAM path not found"?? Seems I have wrong connection string syntax?? Please advise.

Thanks again for your help.


-------------------------------------------------------------------------
Sub ClientServerX3()
Dim dbsCurrent as Database
Dim tdRoy as TableDef
Set dbsCurrent = CurrentDb
Set tdfRoy = dbsCurrent.CreateTableDef("Roy")

tdfRoy.Connect = "ODBC;DATABASE=pubs;UID=sa;PWD=;DSN=Publishers"

***************IS THERE ANYWAY TO USE AN OLEDB (OR OTHER DSN-LESS)
***************CONNECTION HERE? How??


tdfRoy.SourceTableName = "Royalties"
dbsCurrent.TableDefs.Append tdfRoy
End Sub

View 1 Replies View Related

Table Link To Another Database

Feb 15, 2000

Hi,

I'm looking for a possible way to access tables from SAP but in another database. This is not possible using ABAP from SAP. Therefore I wonder if it's possible to define some kind of virtual table in a database which in fact refers to a table in another MSSQL database...

Help and/or tips highly appreciated,
Paul

View 1 Replies View Related

Link With A Part Of A Table

Apr 20, 2005

Tell me please how can I make a foreing key constraint for a table using from another not all primary key or not all data. For example, I need to link a table "subject" with primary key "dscp_num, depart" using depart as a foreing key. But there is no table with such primary key, there is only table "codif_values" where selecting records by condition "codif_num = 1" gives the relation with necesary primary key to link. Also I need to link "subject" table as a primary key table with the table "ses_curr". But this table doesn't include "depart" field. It includes field "reg_num" that is a primary key in table "students". This table include field "stgroup" as a foreing key for table "groups". The last table includes "speciality" field that is a foreing key for table "specialities". And only this table includes "depart" field. Tell me please how I can make a foreing key constraint for table "ses_curr" by table "subject".

View 3 Replies View Related

Link To Another SQL Database Table

May 11, 2004

Hello All,
I have a question on linking tables with SQL Server. I have SQL Server 2000 with database A on machine A. I have SQL Server 2000 with database B on machine B. I want to link tables from the database on machine A into a database on machine B. I am not quite sure how to do this - I believe this can be done as I have seen it before. Any information and or resources to direct me to would be greatly appreciated.

Thanks

View 10 Replies View Related

How Can I Link To A Table In A Different Database?

Jun 1, 2004

Hi all,

We have lookup tables we share on 6 database servers. We keep copying these very large tables to every database we use on each server, obviously a great waste of space. We don't mind copying these tables onto each of the servers but we want to be able to link to these tables from each database from within our servers. How is this done? Thanks in advance.

ddave

View 7 Replies View Related

How To Update A Table From A Link

Jan 16, 2007

I need to append data to the existing Table1 from a .txt file stored in a link e.g. "http://xx00xx0123.abcdef.net/ABC_REPORTS/DATA/Table1.csv"

(Columns in both tables are identical)

This .csv contains a rolling 7 days of stats. which means if it is added every Morning 6 of those Days will have been added before and must be Deleted.

I would like to schedule an automatic procedure to create a temp table in the server every day and a script removing duplicates.

I have a few questions:

*) Can I shedule from the Enterprise Console to read/create table from the above link to do this?

**) I heard I need an SQL agent. If so why and what is it?

***) Is it better to append data and then script removing Duplicates, or is it better to import into a temp table run comparison between the 2, Delete from Temp what is Common and then append whats left of the Temp to the Table1?

****) Please could someone paste a sample of CREATE TABLE from a http link like the one above?


Thanks for your help,

Gezza

View 4 Replies View Related

Getting Tables That Link To A Table

Apr 2, 2008

Hi,How can I run a query to figure out what tables and correspondingcolumns link to any column in my table T?Thanks, - Dave

View 1 Replies View Related

Microsoft.Data.Odbc.OdbcException: ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]

Dec 10, 2003

Hi Everybody,


On localhost this application works fine but when I put on remote server. I am getting following errors. For both localhost and server, I am using same remote sql 2000. I will appreciate any help.

Thanks,

Arif



Server Error in '/' Application.
--------------------------------------------------------------------------------

ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near ')'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Microsoft.Data.Odbc.OdbcException: ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near ')'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[OdbcException: ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near ')'.]
Microsoft.Data.Odbc.OdbcConnection.HandleError(IntPtr hHandle, SQL_HANDLE hType, RETCODE retcode) +27
Microsoft.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method) +838
Microsoft.Data.Odbc.OdbcCommand.ExecuteNonQuery() +80
Calgary.venues.Page_Load(Object sender, EventArgs e) in c:inetpubwwwrootCalgarySitevenuesvenues.aspx.vb:32
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731

View 5 Replies View Related

SQL Server VARCHAR(MAX) Column Returns Error While Inserting Records Into Table(ODBC Driver: SQL Native Client)

Aug 15, 2007

I created very simple table with 3 columns and one is varchar(max) datatype

When i insert records thru VC++ ADO code i am getting this error



Exception Description Multiple-step OLE DB operation generated errors. Check e
ach OLE DB status value, if available. No work was done. and Error Number:: -2147217887



ODBC Driver: SQL Native Client

SQL server 2005



Table

CREATE TABLE [dbo].[RAVI_TEMP](

[ID] [int] NULL,

[Name] [varchar](max) NULL,

[CITY] [varchar](50) NULL

)



VC++ code

#include "stdafx.h"
#include <string>
#include <strstream>
#include <iomanip>


int main(int argc, char* argv[])
{
try
{
HRESULT hr = CoInitialize(NULL);
_RecordsetPtr pExtRst = NULL;
_bstr_t bstrtDSN, bstrtSQL;
bstrtDSN = L"DSN=espinfo;UID=opsuser;PWD=opsuser;";
bstrtSQL = L"SELECT * FROM RAVI_TEMP";

_variant_t vartValueID,vartValueNAME,vartValueCITY;
_bstr_t bstrtValueID,bstrtValueNAME,bstrtValueCITY;

pExtRst.CreateInstance(__uuidof(Recordset));
hr = pExtRst->Open(bstrtSQL, bstrtDSN, adOpenDynamic, adLockOptimistic, adCmdText);

hr = pExtRst->AddNew();

bstrtValueID = L"1";
vartValueID = bstrtValueID.copy();

bstrtValueNAME = L"RAVIBABUBANDARU";
vartValueNAME = bstrtValueNAME.copy();

bstrtValueCITY = L"Santa Clara";
vartValueCITY = bstrtValueCITY.copy();

pExtRst->GetFields()->GetItem(L"ID")->Value = vartValueID;
pExtRst->GetFields()->GetItem(L"NAME")->Value = vartValueNAME;
pExtRst->GetFields()->GetItem(L"CITY")->Value = vartValueCITY;
pExtRst->Update();
pExtRst->Close();

}
catch(_com_error e)
{
printf("Exception Description %s and Error Number:: %d",(LPTSTR)e.Description(),e.Error());
return e.Error();
}
return 0;
CoUninitialize();
}


if i use regular SQL ODBC driver, no error but its truncating the data



Adv Thanks for your help

View 1 Replies View Related

One Table Link Breaks Every Time

Aug 16, 2005

Using an MS A2K front end running on WinXP and ODBC connections to SQLServer 7 on Win 2K server; there are about 10 users who access thefront end via Terminal Server and use the same front end; there areabout another 10 users who run a copy of the db on their local machine.SQL server has 2 databases, with approx. 20 tables between them (oneis for processing ckts from a remote sql server for local use, theother is a site database).There is one user that always has to refresh the same single table eachtime a release of the db is copied to his local machine. Once thetable is refreshed in link manager, the front end is good to go...untilthe the next release is made (about every 2 months--for changes inbusiness rules). We have gone and checked his WINS and DNS settingsand at this point, the only difference between other users and this onewho can't get the table normally, is that he is using a different brandmachine (he uses a toshiba satellite, all others use a ibm thinkpad).Since purchasing a new laptop for him is out of the question, doesanyone have a suggestion for correcting this problem?TIA for the help,EricO.

View 4 Replies View Related

Link To Express Table In Access 2003

Jan 29, 2006

How can make link to a table stored in an sql express 2005 database in access 2003 ? the classic method doesen't work. i tried to use odbc databases as file type to link, then build a data source using SQL native clint driver, but in the combo for default database i don't have the database created before, only master,msdb, model, tempdb. If i try to use the attach database filename text box i receive an error "the datadase entered is not valid". Any suggestions ?

Thx

View 4 Replies View Related

Link To Another Databse Table In Stored Procedure

Dec 11, 2007

Hi I need to know if it is possible to write on a table from another database and this using a stored procedure. If yes what is the correct syntax to connect to the other database.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved