Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
all groups > sql server odbc > december 2003

Filter by week: 1 2 3 4 5

Manual creation of DSNs
Posted by Stan at 12/31/2003 11:54:39 AM
I'm trying to adapt the code in the article "How to Create ODBC DSN on multiple SQL server Machines" (http://www.databasejournal.com/features/mssql/article.php/2238221) to create a script that will automate the creation of SQL Server DSNs. The article's code writes the DSN to the appropriate l...more >>


SQL Server does not exist or Access Denied
Posted by Lance Geeck at 12/30/2003 2:28:56 PM
I am very new to SQL server. I have successfully installed it on a = server. But when I try to setup an ODBC connection from my client = machine I get the "SQL Server does not exist or Access Denied. " There are two computers on the LAN connecting through a hub. Its probably something basi...more >>

ODBC
Posted by John Mitchell at 12/30/2003 1:57:04 PM
I am getting this message in my SQL Server Agent Error Log. What does it mean[165] ODBC Error: 11, General network error. Check your network documentation. [SQLSTATE 08S01] ...more >>

ODBC connection failed error 1396
Posted by mash at 12/30/2003 12:02:56 PM
hi when i try to ODBC into my SQL DB from Excel i get the following error Connection failed: Sql state :'01000' sql server error : 1396 [microsoft][ODBC SQL server driver][named pipes] connectionopen (createfile()) connection failed: SQL state:'08001' SQL server error:1396 [microsoft][O...more >>

sql odbc problem
Posted by melvin at 12/30/2003 1:44:46 AM
having a problem connecting to sql database when we have no internet connection,but we can ping the sql server normally. any suggestion?...more >>

ODBC
Posted by Ricardo at 12/27/2003 5:08:01 AM
When trying to open a link from the main Web Page of TimberHunt I get the following information: Microsoft OLE DB Provider for ODBC Drivers error '80040e07' [Microsoft][ODBC SQL Server Driver][SQL Server]Error converting data type varchar to numeric. /timber_trade/comp_trade_board.asp, ...more >>

SQL Question
Posted by Shelly at 12/26/2003 8:55:29 PM
I have been attempting to access a database that I have been able to use regularly prior to September 2003. I have tried to resolve this problem through tech support at Microsoft as well as the OEM. I have been unable to find a solution that is more than just temporary. The error msg re...more >>

General SQL Error - Native SQL Error 10040
Posted by microsoft at 12/26/2003 3:23:34 PM
I am getting an error connecting to my goldmine account when I attempt to login after I was messed up something in my ODBC administrator. When I click on Goldmine, I get a DATABASE ERROR BOX General SQL error Native SQL error:10040 Context: openDatabase MSSQL: xxxxxx.dbo.SPFILES 1. Al...more >>



ODBC Select Data Source in Crystal reports - continuously prompts
Posted by microsoft at 12/26/2003 1:41:50 PM
I've created an ODBC entry for crystal reports. When I go to refresh and run a report, it always prompts me with a select data source and SQL server is at the bottom of the list under dBase, Excel and MS Access Database. If I select it, the report runs. How do I have it automatically choose th...more >>

ODBC/SQL M$ EXCEL 97 vs XP
Posted by JimmieD at 12/26/2003 5:55:00 AM
Any ideas appreciated... Users can export to Excel97 but cannot using ExcelXP. Get error: "unknown token received from sql server" Have patched SQL & OfficeXP locally to current M$ levels. ODBC connects no problem. I'm a tech, not a programmer, so any ideas really appreciated. Jim...more >>

Very Big Table Problem
Posted by Murtix Van Basten at 12/25/2003 4:45:32 PM
HI all, I am trying to migrate a database from mysql to mssql2k. I use myODBC to connect to mysql server to pull the database from DTS and insert in to sql server. But in mysql server, there is one huge table. Size of it is 1.3 GB and more than 12 million rows. While I try with DTS, i...more >>

changinh DB of stored procedure
Posted by David Potahisnsky at 12/24/2003 2:06:01 PM
I have a stored procedure that as one of parameters receiving the database. I need to change the database that SQL statement in store procedure working on according to parameter. I cant find any solution except fill naming and rewiring whole statement depend on parameter or building SQL statem...more >>

SQL ODBC problem
Posted by cslee NO[at]SPAM masterfox.com.sg at 12/24/2003 1:33:05 AM
Dear Sir, We have install a database software which require connectivity to SQl Server. After installing teh software we can no longer evoke ODBC under win 2K Pro. Error message " Setup routine for SQL Server ODBC driver could not be loaded due to system code 126" . We would appreciate...more >>

Altered SQL table locked for edits in Access 2002 front-end
Posted by Bek at 12/20/2003 1:53:56 PM
I have altered SQL tables and then relinked them to a Access 2002 front-end and receive the following message "The Microsoft Jet Database engine stopped the process because you and another user are attempting to change the same data at the same time" When the SQL table is altered there ar...more >>

uninstall sql server odbc driver
Posted by Anthony at 12/20/2003 9:55:11 AM
How do i uninstall the sql server odbc driver? After having uninstalled microsoft sql server 2000, its odbc driver is still there and it is conflicting with other pieces of software on my machine thanks...more >>

ODBC LIKE clause does not work - SQL Server *BUG*
Posted by Angelo Kalpakis at 12/20/2003 8:01:49 AM
Hi All: I think there is a problem with the LIKE clause in a SELECT statement. I am using the latest SQL Server 2000 (ver 8.00.760) and Visual C/C++ 6.00 (with SP3) on Windows XP. I created an ODBC connection and tied into a database containing a customer table. The following piece of ...more >>

Error in restoring database
Posted by Jun at 12/20/2003 1:17:08 AM
Hi! I would like to ask for help regarding the error message that I always encounter when I'm trying to restore a database: ODBC SQLState: 42000 The database you are attempting to restore was backed up under a diffferent sort order ID (205) than the one currently running on this serve...more >>

Linked Server and Distributed Transactions
Posted by Mark at 12/19/2003 11:47:08 AM
We have a developer that is trying to do a distributed transaction using a View that in turn uses a Linked Server. The Linked server is the MSSQL 2000 server, so both databases reside on the same server. She is receiving the following error: [Microsoft][ODBC SQL Server Driver][SQL Server]...more >>

Non blocking query on a table in SQL Server 2000
Posted by Vishal Prabhu at 12/19/2003 11:31:41 AM
Hi Folks, How can I invoke a non blocking ODBC query on a table in a SQL Server database. Our current design requires the method invoking the query to 'return' immediately after invoking the query. The results of the query should be put in a globally accessible location. I think SQLFetch is...more >>

Non blocking query call
Posted by vprabhu NO[at]SPAM uci.edu at 12/19/2003 11:18:43 AM
Hi Folks, How can I invoke a non blocking ODBC query on a table in a SQL Server database. Our current design requires the method invoking the query to 'return' immediately after invoking the query. The results of the query should be put in a globally accessible location. I think SQLFetch is...more >>

=> Table Properties - Data in table read only
Posted by Rhpnda Fischer at 12/18/2003 5:55:56 AM
Hello, ============================================ (1) I have added a new table to my database: ============================================ CREATE TABLE SupplierComments ( supplier varchar(30) NOT NULL REFERENCES Suppliers ([supplier]), comments varchar (256), supplierCmtDat...more >>

Sql Server Timeout expired
Posted by indika Gamage at 12/17/2003 10:50:52 PM
Hi i'm trying to connect to sql server from client pc, every time gave me msg Unable to connect to server [XXXXXX] ODBC : Msg 0 ,Level 16 , state 1 [Microsft][ODBC: SQL ServerDriver] Timeout Expired Pls help !!! *** Sent via Developersdex http://www.developersdex.com *** Don't ...more >>

Turn Off Temporary Stored Procedures on 6.5
Posted by Nick DeVore at 12/16/2003 8:36:03 AM
Hi, I have a unique (don't we all) situation with Macintoshes talking to my SQL 6.5 server using the very old Visigenic's drivers. Anyway, the problem is that the driver is ignoring the "UseProcForPrepare" flag so all my Macs are creating session temporary stored procedures. Needless to say ...more >>

ODBC Setup
Posted by Rajesh at 12/15/2003 11:52:17 PM
I have downloaded MS SQL Server for Desktop to upsize my access database to SQL Server database. The upsizing is successful and when I setup the DSN connection. It gives the following error : Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D) [Microsoft][ODBC SQL Server Driver][S...more >>

SQL Server 2000 & ODBC Connection
Posted by HELP at 12/15/2003 11:19:19 PM
When creating a new DSN conection to SQL Server 2000 using SQL Server Authentication, user databases do not show up in the default database list. How ever I can access user databases with SQL Authentication login through SQL enterprise and Query analyser. Please advice....more >>

Req: how to deploy a SQL Client Alias to multiple clients
Posted by Silvio Accomando at 12/15/2003 8:51:15 PM
Hi there, I'm looking for a quick way to setup/deploy an SQL alias on multiple clients? Due to an hw upgrade, we are moving our cluster to a new server, and we need to setup on multiple clients a new SQL Client Alias and an ODBC System DSN. I found that Sql Client Alias configuration are st...more >>

COM+ won't accept Identity for Admin account
Posted by Tom at 12/15/2003 2:56:17 PM
People haven't answered my post on 'dev.component', 'programming.component', etc. I don't know where else to post this.. Hello. Somehow my Component Services is all messed up on our productions site. Normally, in test and all other environments I need to click "Identity" in Com+ and put ...more >>

[Microsoft][ODBC SQL Server Driver]Timeout expired
Posted by Siva at 12/15/2003 2:44:10 PM
Hi, Our web applications are using COM objects to call sps in SQL server. We are getting a lot of timeout errors. If you know why this happens and any fixes pls let me know. The error looks like following: [Microsoft][ODBC SQL Server Driver]Timeout expired...more >>

Runtime Error 3197- ..... Same data at the same time
Posted by Synergy at 12/15/2003 9:43:44 AM
I have an unbound form to add new inventory items to a table. With the Access Backend this was fine. Now the backend is SQL Server. The Field [invID] was orignally a Primary Key/Auto Number field in Access. It is now an Int field. I also added a field sqlID as a Primary Key Identity Insert ...more >>

I get this error "Protocol error in TDS Stream".
Posted by Subbu at 12/13/2003 8:40:13 PM
Hi I have a table with following structure Field1 VarChar(10) Field2 VarChar(10) Field3 Text In this table there are 3000 records and for each record the Field3 contains around 50000 to 60000 characters. In SQL Query Analyzer, If I select all the records in the above table, I get thi...more >>

UNICODE ?
Posted by Lisa Pearlson at 12/12/2003 6:24:03 AM
Hi, I am using MS Visual C++/MFC/ODBC and I execute commands like this: CRecordset rs; rs.Open( ..., _T("SELECT .... FROM ..."), ...) Now, I have been compiling and running this in NON-UNICODE mode.. But if I make this UNICODE, my query string will be in unicode. I'm assuming this is t...more >>

Distributed transaction error
Posted by deirdre at 12/11/2003 9:10:11 PM
Hi, I am getting the below error after a timeout when trying to connect to an SQL Server database. This refers to the connection setup to the database from my asp page. This was working perfectly fine until 2 days ago and this same connection is used throughout the system with out any p...more >>

How do I get db ddl properties from sql 2000 like documenter does in MS Access?
Posted by NOSPAM at 12/11/2003 8:53:40 PM
Hi, I am looking for an easy way to get all of the properties from a SQL 2000 database much like the documenter does in MS Access. Any ideas? ...more >>

Importing
Posted by David at 12/10/2003 5:30:55 PM
Is there an easy way to import an existing Access DB into SQL. The current Access DB is 1GB in size. When I try the upsizing wizard, I get the message that it skipped and/or failed....more >>

How do I back-up > truncate > shrink > back-up SQL 2000
Posted by NOSPAM at 12/9/2003 8:34:29 PM
Hello, I am hoping you can help me with the following problem; I need to = process the following steps every couple of hours in order to keep our = Sql 2000 database a small as possible (the transaction log is 5x bigger = than the db). 1.back-up the entire database 2.truncate the log 3.sh...more >>

What is Wrong ?
Posted by Tanveer H. Malik at 12/9/2003 5:19:34 PM
I'm using SQL Server 2K and VFP8. When I save a record, the following ODBC Error Message is displayed. 'Column Name [RefNo] appears more than once in the result column list.' Pls anybody come to my rescue....more >>

How can I restore a SQL 6.5 database backup to a SQL 7.0/2000 server?
Posted by Pedro Cunha Rodrigues at 12/9/2003 4:38:40 PM
Thanks, Pedro Rodrigues pedro@markdata.pt ...more >>

Help - SQLExecDirect
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 12/8/2003 12:37:01 PM
I could really use some help, I have a system dsn and am using the Sql Server 2000 odbc driver. I am getting an error S1000: [Microsoft][ODBC SQL Server Driver] Connection is busy with results for another hstmt. When I look at the dsn settings, there is a check box to turn off SQLPrepare....more >>

ODBC Connection failed
Posted by Andy at 12/8/2003 8:48:58 AM
I am having an issue connecting to a SQL server under windows Xp and office 2003. This is the error it gives. **** Connection Failed SQL State : 'HY000' SQL Server error : 0 [Microsoft][ODBC SQL server driver]Cannot generate SSPI content **** Connecting to the same Database on the SQL ...more >>

Stored procedure behave different in Query Analyser and ODBC, is it timeout?
Posted by iritgef-google NO[at]SPAM cs.huji.ac.il at 12/8/2003 3:04:09 AM
Hello, I have a stored procedure, that work fine from the Query Analyser. I used it from C code by ODBC api - not all of the rows that supposed to be changed, were changed. so i added SET NOCOUNT ON in the stored procedure, then it worked. After few days i tried it on another computer and i...more >>

Intersolv ODBC Driver
Posted by Nonno Oreste at 12/4/2003 4:30:33 PM
Help me! I try to import some data from an informix 5.0 table to Sql Server 2000 with a DTS package. I use Intersolv ODBC driver version 03.011.0021 to connect to the database. It works well, but i can't define a parameter in the sql statement. For example if a try to execute : sele...more >>

ODBC DSN ....
Posted by Toxi_boy at 12/4/2003 1:39:50 AM
Hello . im programing a one application in Delphi . and my program connected to sql server successfully . but thats not why im calling . suppose i exported my program ( .exe ) and sell it . as you know in users pc DSN dosnt exist in odbc . can they open my program without DSN in their systems...more >>

Row handle referred to a deleted row or a row marked for deletion
Posted by James Brown at 12/3/2003 12:41:31 PM
Hi! I've just recently migrated a VB system from Microsoft Access to SQL Server 2000, and a few pieces of code loop through a recordset like the following example: do while not rsRecordset.eof if ...... then rsRecordset.delete else .... (add a new record, or edit ...more >>

SQL Server 2000 - access module
Posted by Mickey at 12/2/2003 9:07:21 PM
Hi, Does anybody know how to write a query using ms access module to retrieve data from SQL Server 2000? How to setup a connection to SQL Server using module ? Please kindly help. Thanks. - Mickey...more >>

PostgreSQL
Posted by MikeM at 12/2/2003 2:52:40 PM
wkstn: Win XP SQL Server 2000(local, on wkstn) I'm trying to connect to a PostgreSQL(on RedHat linux server) database using the latest PostgreSQL ODBC driver (07.03.0200) (trying)within SQL server via Import wizard and DTS package...I keep getting this error: "Multiple- step OLE DB operati...more >>

Database Setup Package/Installation
Posted by Jason at 12/2/2003 2:35:53 PM
Hi Folks, I've created a SQL Server database and converted it to Oracle (an app we made supports MSSQL and Oracle) and I'd like to be able to provide a "server-side" installation that clients can run on their database server that would automatically create the MSSQL or Oracle database, the t...more >>

ODBC Error on Certain Machines
Posted by cblythe at 12/2/2003 10:12:36 AM
2 of the 40 machines in my office have started getting the following error when trying to execute queries on tables linked to Access 2000 from SQL Server 2000. [Microsoft][ODBC SQL Server]Select permission denied on object 'tblname', database 'DatabaseName' owner 'dbo'. (#229) The ODBC ...more >>

=?ISO-8859-1?Q?Domain_Anmeldeproblem_=FCber_ODBC?=
Posted by carsten NO[at]SPAM carsten-lahme.de at 12/2/2003 2:44:31 AM
Hallo NGs, ich habe bereits die Gruppen durchforstet, aber irgendwie nicht das Richtige gefunden. Situation: Windows 2000 AD Umgebung; Alles in Deutsch; 1 SQL 2000 Server; 1 IIS-Server Auf allen sind der MDAC 2.8, SP4 und alle aktuellen Fixes installiert. Auf dem IIS ist eine ODBC auf den SQL...more >>

ODBC LIKE clause
Posted by Angelo at 12/1/2003 3:15:41 PM
I'm trying to execute the following query within a Visual C++ program... SELECT LastName from Employees WHERE LastName LIKE ? In the C++ program, I use the SQLBindParameter() to associate to the ?. The SQLBindParameter() variable used contains 'A%' (without the single quote). This is ...more >>

Protocol error in TDS stream
Posted by tyler at 12/1/2003 9:56:04 AM
I keep randomly getting the following error when I am processing read only and read/update queries through a reporting tool: [Microsoft][ODBC SQL Server Driver]Protocol error in TDS stream. I know that it is not the queries themselves, because if you re-process, it will ususally go through. I've...more >>


DevelopmentNow Blog