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

Connect to ODBC DB from SQL Server SPROC
Posted by Nick at 10/31/2005 12:08:02 PM
Hello, I have taken on a project where I'm wondering if I'm in a little over my head. Using SQL Mail I need to send out e-mails every hour for orders that have shipped. There are two databases. One is SQL Server and the other is only accessible via ODBC (I'm not even sure what type of datab...more >>

Modify the name of the table
Posted by Roberto Carcione at 10/31/2005 12:00:00 AM
Hi at all, I have a database on a sqlserver 7.0. I access to it via odbc api. So i need t change the name od a table. Is there a way via SQL* api functions to change the name of a table? thnaks roberto ...more >>

Problem with HOST_NAME Function with Linked View
Posted by Neil at 10/30/2005 8:55:45 PM
I have an Access 2000 MDB file with a SQL 7 back end. I have a main table with 50,000 records; and I have a selections table with 50,000 records for each machine that uses the database (about 25-50). This allows each user to have their own set of selections. The selections table has three f...more >>

NewBie, SQLAllocHandle only works on Win2003Server.
Posted by Rob Dob at 10/30/2005 5:35:40 PM
Hi, I just did a test, this code returns 1 on a windows2003 Server system, and my import works fine, however if I run this same code on a WinXP, Pro or XP Media it then returns 1 and the import does NOT work... Please any suggestions would be creatly appreciated.. where should I start ...more >>

NewBie, how to trap: SQLAllocHandle Error
Posted by Rob Dob at 10/30/2005 5:06:08 PM
I have a MFC VC7.1++ program using VS2003, and also using the MSDE2000 for some reason my import is now failing and I cannot figure out why, before today this first statement use to successfully process. The return value of retcode now is 0, it use to be retcode = 1 I have looked up the d...more >>

Creating Tables on the Fly
Posted by Neil at 10/29/2005 12:00:00 AM
I have an Access 2000 MDB with ODBC linked tables to a SQL Server 7 back end. I currently have a selections table in the front end file which the users use to make selections of records. The table has two fields -- primary key (which matches primary key of main, SQL Server table), and a boolea...more >>

Two Simple questions
Posted by Preacher Man at 10/28/2005 3:50:29 PM
I am just starting in the SQL world, so I know this will probably be extremely easy questions to answer. 1. On a machine that doesn't have SQL Server listed in the ODBC, how do I install that driver? By installing MDAC? 2. I went to a Win98 ver A machine and it didn't have an ODBC short...more >>

SBS 2003 SQL 2005
Posted by The Guy at 10/27/2005 8:28:02 PM
Hello I have 2 networks network A and B both networks are running SBS 2003. On Network A I have installed SQL 2005 On Network B I have Yardi SQL Both the networks are being controlled by SBS 2003. What I would like to do is have the SQL 2005 server communitcate with Yardi SQL Server. ...more >>



3197 record deleted error
Posted by merco at 10/27/2005 8:05:38 AM
HI, i have an access MDB linked by ODBC to SQL2k. I get a strange behaviour when i do an INSERT INTO to a local Mdb table from "LEFT OUTER JOINED" SQL tables. If the related table hasn't related record to the first table, it get an Error 3167. This behaviour is not present with MDB tables...more >>

Windows 2003 System DSN not found (but User DSN works)
Posted by joshua.ruppert NO[at]SPAM gmail.com at 10/26/2005 12:08:38 PM
We just setup a new Windows 2003 server and we can't use System DSNs. If we setup user DSNs they work just fine, but everytime we try to use a System DSN it can't be found. Does anyone have any suggestions? Josh ...more >>

ODBC Error with Sybase from Win2K Server (but works from WinXP!)
Posted by Patrick at 10/26/2005 4:04:03 AM
Our company only allow the use of Merant 3.60 32-bit Sybase ODBC Driver (Version) for connection to Sybase Sybase 12.5.3 DB on Sun OS 5.3) I have a stored procedure on Sybase 12.5 ASE which a) Select 'dummy' b) Select lots of stuff using joins and filters into tempDB.tempTable using dirt...more >>

Writing a datetime
Posted by Andrew Chalk at 10/26/2005 12:42:47 AM
I have an SQL Server database that uses 'datetime' fields. I want to write to these with SQLBindParameter(). What SQL type should I specify? If I use SQL_TYPE_TIMESTAMP I get errors from SQLExecute() and SQLGetDiagRec() states that there is an overflow. Many thanks. ...more >>

relinking tables using MS Access
Posted by AkAlan at 10/25/2005 10:44:03 AM
I'm new to SQL and am in the process of migrating to a SQL backend for my Access 2000 front end. I'm going the ODBC route to get my databases up and running quickly and then move to an Access Project but I'm haveing problems understanding the relinking issue. Is there a white paper I've missed...more >>

ODBC SQLINTEGER & (BADMEM) - Why?
Posted by j.a. harriman at 10/25/2005 5:33:06 AM
Hi, I have the ODBC tracing enabled on my development machine using the "default" tracing DLL. I thought it was just our applications causing this, but I'm also seeing this when using isqlw (SQL Query Analyzer). Is it an issue? The app. seems to have no issues. I know it is indicating ...more >>

SQL Server ODBC Problem - Help!!!
Posted by John Lane at 10/25/2005 5:21:02 AM
I’ve run into an issue with a user trying to make an ODBC connection to an SQL Server database and I have no clue as to why this one thing happens (or more precisely doesn’t happen). She logs on to her PC with her Id. She can make a connection to a database on one server with no problem. H...more >>

SQL query to do a Http Post record by record
Posted by warren kelley at 10/20/2005 1:17:01 PM
Is there any place where I could find the best way to query a sql table or access table via ODBC through either a web interface or a transact SQL query that would post the results to a http page record by record. (open a web browser window for each record) that way if we had to we could have...more >>

How to handle the ODBC Error "Communication Link Failure?"
Posted by Satyajit at 10/20/2005 8:32:11 AM
Hi All, I have an C++ application that uses ODBC to access SQL server. The application invokes the SQLAllocHandle() function to: 1. Get an Environment handle (Created only once) SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, &env) 2. Get Connection handle(s) by passing Environment hand...more >>

Microsoft OLE DB Provider for ODBC Drivers error '80004005'
Posted by (rc_forum NO[at]SPAM hotmail.com) at 10/18/2005 11:12:24 AM
Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC SQL Server Driver]Timeout expired Hi all, I am getting this error while trying to insert a record into the database table. We are using SQL SERVER 2000/ODBC/ASP combination. I would really appreciate if somebody...more >>

question on views
Posted by Jesse Aufiero at 10/17/2005 3:18:30 PM
Hello, A little background... I have a cube that automatically refreshes every 10 minutes and pulls it's data from a view ('ViewA') in sql server 2000. The cube takes around a minute and a half to completely refresh. During this time, in sql server, one of my other views ('ViewC') starts...more >>

Need Linked Server to show more db tables
Posted by danny.spence NO[at]SPAM gmail.com at 10/17/2005 1:42:22 PM
Moved a database over to a new SQL server. That database had a couple of stored procedures that call two different databases. I linked the servers, but I know that the tables that show up correspond to the default database on the security account i have setup to connect to the server. Is there a...more >>

ODBC SQL Server Drive Protocol error in TDS Stream
Posted by John K at 10/17/2005 6:15:03 AM
10/17/2005 Hi Sue, The problem is occuring when I am attempting to run a query from Query Analyzer using the Client side software and against only one of the databases. John K ...more >>

Form Slow, Then Fast
Posted by Neil at 10/16/2005 12:00:00 AM
I have a very puzzling situation with a database. It's an Access 2000 mdb with a SQL 7 back end, with forms bound using ODBC linked tables. At our remote location (accessed via a T1 line) the time it took to go to a record was very slow. The go to mechanism was a box that the user typed the in...more >>

Unique Selections In Back End
Posted by Neil at 10/14/2005 8:11:41 AM
I am using SQL 7 with an MS Access 2000 MDB front end, using bound forms with ODBC linked tables. In one form, the user needs to be able to check a box to select one or more records. This is accomplished with a local table containing two fields: the primary key value of the SQL table and a boo...more >>

ODBC SQL Server Driver Protocol error in TDS stream
Posted by John K at 10/12/2005 7:55:16 AM
I am requesting help with the following SQL Server problem: When attempting to run a simple 'Select * from tablename' in Query Analyzer I receive back only a small portion of the total records in the table and the following error messages are displayed in the 'messages' tab: [Microsoft] [ODB...more >>

ODBC API: How to get list of database triggers?
Posted by aRIEL at 10/12/2005 12:09:22 AM
Is there a way to retrieve a list of all database triggers using the ODBC API? I'm looking for something like SQLProcedures that can retrieve a list of all database procedures. Are triggers not supported by the ODBC catalog functions? Why not?? I CANNOT use any database specific software s...more >>

varchar truncated to 1023 characters
Posted by TxITGuy at 10/11/2005 8:55:03 AM
I hope this is the correct forum for this question. I'm posting here because I suspect an ODBC or OLE DB setting is at the root of this problem. I have a very long string value, 2512 characters, that I need to store in the database to retrieve later. No matter what I try, however, it appear...more >>

ODBC error: [Microsoft]]ODBC SQL Server Driver][SQL Server]Line 1:
Posted by vidya at 10/11/2005 5:09:03 AM
Hi, I really appreciate if someone could help me with this problem. Actually i m trying to create a crystal report using stored procedure which uses temp table. First time when i created the report using this stored procedure it worked and it still works. But when i tried to create anoth...more >>

INF & IND errors
Posted by Chris Marsh at 10/7/2005 10:43:54 AM
How do I update or delete a record with this floating point error in X field? And, what the heck causes it? Thanks! Chris ...more >>

Restoring database receives UNICODE error
Posted by Nilkanth Desai at 10/6/2005 6:05:03 AM
Hi, I am having problem while restoring database to another SQL Server. I receives below given message. My both SQL Servers are 7.0. MESSAGE SQL DMO (ODBC SQL Stae 42000) The database you are attmpting to restore was backup under a different unicode Locale ID (1033) or Unicode Compar...more >>

Access 2000 FAILS to relink ODBC tables with correct credentials
Posted by Edwinah63 at 10/5/2005 9:39:49 PM
i have an access 2000 db in which i dynamically relink the tables from sqlserver 2000 depending on the user - some users having read only permissions, others read/write etc. however access 2000 DOES NOT relink correctly and after looking in msysobjects in access, have found that it seems to ca...more >>

compile [really link] question
Posted by georgejetson at 10/5/2005 6:26:01 AM
Hi, I'm having trouble linking a simple example using the bcp functions... The error: ************************************************ test.obj : error LNK2001: unresolved external symbol _bcp_init@20 ************************************************ Environment: Windows 2000, SQL Server 20...more >>

wrong column size with SQLDescribeCol
Posted by mlu at 10/5/2005 4:20:14 AM
To dynamically set the length of a variable (Code in C) to store data, i use the ODBC API function SQLDescribeCol. When a smalldatetime column type from SQLServer is treat by SQLDescribeCol, the COLSIZE return by the function is 16 when YYYY-MM-DD HH:MM:SS contain 19 characters. This case overlo...more >>

SQL Server 2000 SP4 - ODBC Performance issues
Posted by Deanw at 10/5/2005 3:30:02 AM
Server is quad processor with 3 gig of RAM of whcih 2 gig is allocated to SQL. Last weekend we upgraded the SQL from SP2 to SP4, since then the ODBC queries trhey run via MSQUERY appear to be really hitting the CPU and sqlserver.exe is consuming up to 90% of the CPU. It is looking very much lik...more >>

HELP Please! Provider Cannot Be Found, It may not be properly inst
Posted by Brad Ashforth at 10/4/2005 10:20:06 AM
On an XP PRo SP2 machine connecting to both a local and/or network SQL Server 2000 machine (unknown SP at this time), only ONE machine is getting this error "Provider cannot be found. It may not be properly installed.". While the answer looks simple (reinstall), this does not solve the problem...more >>

Driver
Posted by Mohammed at 10/4/2005 4:25:02 AM
Hi All, I’m developing a simple program which will connect to a SQL Server 2000, but when I install the SQL Server I got a message inform me that I cannot complete, once I check the ODBC drivers I cannot find any of them. I’m using a Win XP home edition, although I’ve tried...more >>


DevelopmentNow Blog