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 > june 2005

Changing the ODBC default time out without program changes
Posted by Steve at 6/29/2005 9:27:44 PM
Hello This may have been asked before, but I can't seem to find it. I believe the default ODBC time out is 30 seconds. I know that you can override that by changing your application call. Can it be overridden without making program changes? Perhaps through a registry setting (though I ca...more >>

System resource exceeded
Posted by Philip McComish at 6/29/2005 11:20:33 AM
Recently the error message below started appearing when running a query against simple Excel spreadsheets. In the past this worked perfectly. Don´t know if the recently applied SP4 might have anything to do with it. System: SQL Server 2000 SP4 on Windows 2000 SP4 Error: Server: Msg 7399...more >>

Server showing multiple times in ODBC Configuration
Posted by Doug Crabtree at 6/28/2005 12:06:59 PM
We have a group of computers that are having problems connecting to our SQL Server Database... When they pull down the "Which SQL Server do you want to connect to?" box, it shows the server twice. If they select one, then the application fails, if they choose the other sometimes it works fine...more >>

Using SQLConfigDatasource/SQLInstallerError/etc - can't find documentation
Posted by Keith at 6/28/2005 9:19:09 AM
Hello, I'm using the functions exposed in ODBCCP32.dll via C# ([DLLImport ("ODBCCP32.dll")]), but am having trouble figuring out what the return/error codes are. The .dll isn't COM so I can't just add a reference to it. The docs provide the names of the codes (like ODBC_ERROR_REQUEST_FAIL...more >>

strange ODBC connection problems
Posted by Patrick Peters at 6/27/2005 12:50:36 PM
We have a mysterious problem connecting to a SQL database with ODBC. Here's a little background on our environment: - We're connecting to a named instance of SQL 2000 on a Win 2003 Server cluter. The virtual server name and the instance name are the same (so the nomenclature to describe the in...more >>

Query Analyzer success vs ODBC Connection Failure
Posted by Geoffrey Kahan via SQLMonster.com at 6/27/2005 12:00:00 AM
We are calling a stored procedure that accepts a very long comma delimited parm. In the body of the stored proc, we loop through the parm using a user defined function to pull out the tokens. The function call uses 2 input parms: the original long parm and the int position of which token to ext...more >>

Updating Field value from Field in another table
Posted by Greg at 6/24/2005 9:40:04 PM
Is there a where to Update the Value of a Field in one table to a Field Value from another table. The following works in MS Access but I am unsure on how to do the same in SQL 2000 UPDATE [ci_CaseData] INNER JOIN [ci_Addresses] ON [ci_CaseData].[CaseGUID] = [ci_Addresses].[CaseGUID] SE...more >>

Can we redistribute the ODBCPing utility?
Posted by Brad Ashforth at 6/24/2005 8:16:11 PM
We would like to include it in our install to help facilitate any connectivity issues. -- Brad Ashforth...more >>



Retrieving entire columns from a resultset
Posted by MithilaP at 6/24/2005 11:26:03 AM
Hi, I would like to know if there is anyway of retreiving an entire column of data from a resultset into say an array or a vector. e.g. If the resultset contains columns ID (int), Name(varchar), age(int) then I'd like retrieve the ID values from each tuple in one go into say an int array...more >>

ODBC Error on new SBS server
Posted by rbojorq NO[at]SPAM tmc-act.com at 6/24/2005 10:43:09 AM
I posted this question in the SBS newsgroup as well. I have two internal client machines who connect to an external SQL server. Both were working fine on our old NT 4.0 domain but now that we have updated to SBS 2003 with ISA 2000, the two internal clients (XP SP2) are having errors with th...more >>

OpenQuery
Posted by Timothy Peer at 6/23/2005 9:34:04 PM
I wish to send dynamic SQL to Openquery but it seems OpenQUERY only accepts string constants. Any advise on how to do this. It would convenient if Openquery could execute similar to dynamic SQL EXEC. Please advise. Regards, Tim Pee...more >>

SQL Server ODBC connection - how to get host / port info?
Posted by Charles Durrant at 6/23/2005 12:00:00 AM
I have a connection to SQL Server set up via SQLConnect() referencing a System DSN. Is there a programatic way to obtain the SQL Server machine's host name and port number from the established connection? The documentation for SQLGetInfo and SQLGetConnectAttr doesn't seem to cover these items. ...more >>

Incorrect syntax near '5' where 5 is the beginning of a field name
Posted by jw at 6/19/2005 7:24:02 PM
Hi all i get the following error [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '5'. (#170) when trying to update or delete a record from an Access Linked table. Adding a record is fine. There is a field called 5Years, but this has not been a problem before. ...more >>

Query paramaters
Posted by Alex at 6/16/2005 3:52:10 PM
I am looking for a way to read a seperate .txt file and extract the paramaters for a query. I am given a .txt file with several thousand numbers a day, to query against the database. I would very much like to call the file and read it's contents in as the paramater. Is this possible through...more >>

Can I use integrated security in an ODBC connection string without using a DSN?
Posted by Tony at 6/11/2005 3:38:44 PM
Can I use integrated security in an ODBC connection string without using a DSN? If so, what would the syntax be for SQL Server and Oracle (if supported by Oracle)? Tony ...more >>

ODBC Error when running DTS directly on the server
Posted by Dominic Feron at 6/10/2005 1:22:14 PM
Hello everyone, I have just created some DTS package wich pump data from Visual FoxPro database to SQL Server 2000. Everything works fine when I execute de package on my local machine or any other machine that aren't servers. Things gets ugly when I try to execute these package directly o...more >>

RDO resultset performance problem
Posted by Marko Erzen at 6/10/2005 10:15:18 AM
Hi to all, I have a big performance problem with looping threw rdoresultset. I made some very complex sql queries. They link like 5 tables and uses a couple subqueries. The number of returned rows is something like 1000. Query execution takes about 1 second, which is completly acceptable. Bu...more >>

Problems with [Microsoft][ODBC driver for Oracle][Oracle]
Posted by pitdog NO[at]SPAM gmail.com at 6/9/2005 7:02:22 AM
Hello all, I have a VB application that is running fine in prod on a box without the .net framework installed. The app queries a Oracle 8.1.7 64 bit database. It uses the Microsoft ODBC Driver for Oracle and it works like a champ. However I am adding some enhancements to this application and ...more >>

Help - IIS fails to connect to MSSQL server on a nother computer
Posted by Stren Assaf at 6/8/2005 4:43:05 AM
Hello all. I am having a pretty serious problem and I tried almost every thing (I know…) but still with no success. There are 2 computer on a workgroup (lets call them A and B). On A there is an MSSQL Server 2000 with windows and QSL mixed authentication on Windows 2003 machine. On B I s...more >>

Timeout Expired - Same query working for months
Posted by mkschultz at 6/7/2005 2:43:13 PM
We are trying to troubleshoot a complex issue with SQL server 2000. We have been using an *off the shelf* application for the last 6 months that is used for portfolio management. The application is written in ASP and the database is SQL 2000. One of the screens in the application displays...more >>

SQL Linked server to Informix IDS v9.5 issues
Posted by CPiO at 6/6/2005 9:06:01 AM
I have used the ole db services for odbc to utilise a informix odbc driver to create my linked server in SQL server. The Informix IDS server in question is v9.4 on Suse Linux Enterprise V8. If I use the informix ODBC via Query in Excel I can retrieve data from the IDS databases with no pro...more >>

show the next 30 records in a limited path-through query
Posted by Sam at 6/3/2005 11:01:49 AM
my access application links to sqlserver odbc the form RecordSource is an path-through query limited to max 30 records 1. how can i show the next 30 records? 2. how can i find a spesific record placed out of the shown records? thanks sam ...more >>

using osql to update access db at command line
Posted by Addcom at 6/1/2005 12:06:40 PM
am trying to update an access file table contents using osql and am getting all sort of error Can anyone help This is the querry osql -U aaa -D MyLocalConfig -P synprof97 -Q "update System set LocalConfigPath = 'C:\DBase\Test\Config' where Ref = '{B2244A43-CAF7-11D0-8DD6-0000C07E4B0E}'" I ...more >>


DevelopmentNow Blog