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 > november 2003

Filter by week: 1 2 3 4 5

select unique record identifier
Posted by Michel Elie at 11/29/2003 6:02:37 AM
I am using SQL Server 2000 and Access 2002 for the interface of my application. Prolem: OK, i have some views that I need people to be able to use in Access 2002 (read/Write). When I try to link them using my ODBC data source I always get a dialogue box which says "select unique record...more >>


How to return a value from Stored Procedure?
Posted by Venkat at 11/28/2003 11:09:31 AM
Hi, I am calling a stored procedure from my java script app and trying to use the returned value later on in my app. Here is the javascript code. var connObj = Server.CreateObject("ADODB.connection"); connObj.Open("DRIVER={ SQL Server }; SERVER = 9.1.2.1; DATABASE=TEST","sa","xyz"); var...more >>

ODBC error and strange log entries
Posted by Dale Wilson at 11/27/2003 5:40:38 PM
I am getting the following error ODBC error: [Microsoft][ODBC SQL Server Driver]Communication link failure everytime I try to add a new field to a table in any database on my server. I can do queries, I can add new tables. I just can't edit the structure of an existing one. I am using versio...more >>

Helppppp... Writing in CPP and calling a stored procedure in SQL server and...
Posted by amazingwolf NO[at]SPAM hotmail.com at 11/27/2003 1:42:04 AM
I have this Stored proc in SQL server, which works perfectly when being run via Query Analyzer. The Stored proc is simple, just runs on a table and updates some fields in it. When calling the same Stored proc, with the same data, the Stored proc seems to run partly and then stop for no reason. T...more >>

Can't see a particular table in a database
Posted by CQMMAN at 11/26/2003 4:22:54 PM
Hello, I am trying to get info from a SQL7 database via ODBC. I can connect and view the vast majority of tables, but one particular table (ceninfo_data) does not appear. In SQL Enterprise manager, I have taken a look at the permissions on the table and public can select from it. What am...more >>

Orbiting the AS400
Posted by Rog at 11/26/2003 3:05:07 PM
I need to link to tables in an AS400 on a customer site. They use IBM CA and have the latest 5.2 version. (IBM CA includes both ODBC and OLE DB drivers). I tried configuring the IBM OLE DB for AS400 driver using both graphical and sp_addlinkedserver, but with no success. The best I can get is a...more >>

ODBC error
Posted by seugster NO[at]SPAM hotmail.com at 11/26/2003 1:44:56 AM
Hello all We're running a web application on a SilverStream application server (3.5.3) which connects to 4 databases on a MS SQL Server 6.5 (SP5a) over ODBC (03.70.06.90). Quite often the application server looses the connection to his DB's. The web application doesn't answer anymore! We get...more >>

SQL 2000 ODBC output to Internet explorer.
Posted by Nichola Harvey at 11/25/2003 1:48:09 PM
Hi Group, I wondered if anyone can assist me with an issue I currently have. I would like to export the contents of one table that to internet explorer, the query would need to repeat once every five minutes. Dependant on the results I would also like to colour format the output (Green for...more >>



problem of Shrinking the Transaction Log in the SQL
Posted by Rafael at 11/25/2003 4:56:51 AM
Hi, My name is Rafael from Hilroy Technologies email: oz@ozbooks.com; HilroyTechnoologies@yahoo.com We need some help in resolving a problem of Shrinking the Transaction Log in the SQL Transaction Log. Our OS is Microsoft 2000 Advance Server The setup was configured to grow 20% without l...more >>

Excel sheetinformation in SQL server 7.0
Posted by Frank Westerbeke at 11/24/2003 2:16:37 PM
I would like to update a SQL table with information entered in a spreadsheet .. Can anyone tell me where to start. Frank ...more >>

IIS Logging
Posted by Bubba at 11/24/2003 1:12:25 PM
We are currently logging IIS data to an SQL server. The amount of data has reached 14 GB. When we were logging to the IIS server as regular log files for the same period of time (roughly one month the log files were not more than 2 gb. There has been no real increase in traffic to our serv...more >>

SQL datetime to C tm
Posted by Leon McCalla at 11/21/2003 10:29:44 PM
can I import a datetime field from SQL to a tm structure without going to a string first? ODBC mentions timestamps and SQL uses datetime. I'm having difficulty understanding what I should do to import/export from a C tm structure to an SQL datetime field and visa versa. right now I have to con...more >>

connection going to sleep??
Posted by Steve at 11/21/2003 1:50:57 PM
Ok, here's the scenario. On a Windows 2003 Server I have MSSQL 2000 installed. On another test server I have Windows 2003 server, IIS 6 and Coldfusion installed. There has been an account created in SQL and assigned permissions. My coldfusion web site makes multiple calls to the database ser...more >>

Uncommitted Reads via ODBC
Posted by MarkTiller at 11/20/2003 6:05:37 AM
Hi All, Does anybody know a way to get an ODBC connection (or SQL Server User) to do all it's reads uncommitted short of rewriting all the Select Statements (This is what I'm trying to avoid) Any help greatly appreciated. Regards Mark...more >>

Again on date data-type
Posted by Villi Bernaroli at 11/19/2003 5:43:14 PM
Is it possible to receive empty dates instead of 01-01-1900 for NULL date fields (since SQL server does not accept empty date fields)? I'm receiving 01-01-1900 instead of empty date, otherwise I can receive NULL values but I can not use them due to my environment. I tried with the ISNULL SQL s...more >>

How to get value of identity autoincrement field from SQL seerver
Posted by Villi Bernaroli at 11/19/2003 5:32:13 PM
Hi I'm using a VFP8 cursoradapter to connect to a remote SQL server database via ODBC. I have a cursor which comes from a single table in the SQL server DB, and this table contains an identity (autoincrement) field. This table has not a unique index, apart from the identity field. When I add a...more >>

SQL DMO error
Posted by Ionut Ceausu at 11/19/2003 3:01:17 PM
I want to make a backup of an sql server using sql dmo. When I execute this line I obtain the 80040c81 error . hr = m_pBackup->SQLBackup(server.m_pSrv); I search all over the internet byt this error code is not documented ..Anybody have any ideea? P.S On other machine work fine.... ...more >>

Linked Table Manager
Posted by Andrew Agbay at 11/19/2003 12:21:45 PM
I have SQL tables linked in Access and they work fine. However, if I run the linked table manager on the SQL tables, I am informed that the links refreshed. When I open the tables, they are read-only. If I delete the tables and re-link them, they work fine again. Any ideas why this occur...more >>

ODBC to SQL2000 & Crystal Reports 8.5 (left outer join)
Posted by Josh at 11/19/2003 10:56:37 AM
I'm having a problem understanding why my left outer join in a crystal reports isn't returning expected results. According to documentation in crystal and sql a left outer join will return all the records in the left table regardless if there is or isn't a match in the right table. Below...more >>

Help Request PLEASE =8^0 ODBC connection failed (to sql tables)
Posted by Maureen at 11/18/2003 10:43:11 PM
Hello all, I am struggling to reconnect an Access97 mde file from our EDI application to a new sql database I have created a system DSN and manually linked the tables removing the "dbo_" Of the 12 linked tables 10 open fine (querys/forms realted to them are operating without error) The other...more >>

Problem with Access 2000 Front-end & SQL 2000 Back-end
Posted by Mike Edwards at 11/18/2003 12:49:14 PM
Further to my post on a problem on connectiong to SQL 2000 database's using Access 2000 as a front-end (see below), as the Access 2003 version is working correctly, should the Access 2003 Runtime version with the developer extensions work in just the same way ? Anyone using Access 2003 Runtime...more >>

odbc performance
Posted by eddie wang at 11/18/2003 12:08:34 PM
#1. We have the ASP here on Houston server and it takes about 15 seconds to retrive 50 row table from Oklahoma via MS ODBC driver for Oracle 2.5. #2. But, we have the ASP here on Oklahoma server and it only takes about 3 seconds to retrive same 50 row table from Oklahoma via MS ODBC d...more >>

how to get the number of rows returned by a select statement in SQL server 2000
Posted by Vishal Prabhu at 11/17/2003 2:44:29 PM
Hi, How can I determine the number of rows returned by a select statement in SQL server 2000? I do not want to use ' select count(*)...' the code would be - retcode = SQLExecDirect(hstmt, (SQLCHAR *)sql_stmt, SQL_NTS); /* get row count*/ // code to get the number of rows selected. w...more >>

how to determine the number of rows returned by select statement in SQL server 2000
Posted by vprabhu NO[at]SPAM uci.edu at 11/17/2003 2:39:08 PM
Hi, Is there any way I can determine the number of rows returned by a select statement without using ' select count(*)...' the code would be - /* sql_stmt - a select statement.*/ retcode = SQLExecDirect(hstmt, (SQLCHAR *)sql_stmt, SQL_NTS); /* get the number of rows retrieved.*/ // co...more >>

How to stop Reports processin from MSAccess
Posted by freddy at 11/14/2003 10:37:11 AM
I run some report in access 2000 that are based on ODBC connexion to SQLserver7. I want to know How can I stop a report(process) while it seem not responding for more than 30 minutes. It seems that if I do a dirty shut it slow all other user until we stop/start sqlserver. What I would like...more >>

MDAC 2.7 installation question
Posted by mrwoopey NO[at]SPAM yahoo.com at 11/14/2003 8:13:55 AM
I need to get MDAC 2.7 on a client machine. I have MDAC 2.7 Service Pack 1 Refresh on my computer. Can I just install MDAC 2.7 Service Pack 1 Refresh (http://www.microsoft.com/downloads/details.aspx?FamilyID=9ad000f2-cae7-493d-b0f3-ae36c570ade8&displaylang=en)? Or is MDAC 2.7 Service Pack 1 Refre...more >>

LINK TABLES IN SQLSERVER
Posted by ilisoft21 ilisoft21 at 11/14/2003 12:55:53 AM
Hello, We have an application in Delphi which we connected with ADO ACCESS to DB1 (DATABASE ACCESS), where some of the DB1 tables are tie to DB2. We want to import to SQLSERVER DB1 and DB2, and to continue conserving in SQLSERVER, DB1 tie tables to DB2 IS POSSIBLE? if we have two databas...more >>

ODBC Connection
Posted by Benjamin at 11/13/2003 11:50:10 PM
am trying to connect from one server to the SQL Server residing on a different server, but within the LAN, and the same domain. Previously I was able to connect. Recently the IP addresses of both these servers were changed. Once that was done, I was unable to connect from one particular ...more >>

BUG: SET FMTONLY not working on SQL Server 2000
Posted by Bulent Biyikoglu, MCSD at 11/13/2003 9:56:08 PM
Hello I have reported this bug previosly, but Microsoft has so far not responded yet, so I am reporting it again. Basicly, SET FMTONLY is NOT working correctly with SQL Server 2000. Because of this bug I still have to use SQL Server 7.0 for my campuswide student information system application, alt...more >>

HYC00, Optional feature not implemented
Posted by Roger Stoller at 11/13/2003 3:05:50 PM
Hello. I am an ODBC newbie using SQL server 2000. I am attempting to call SQLBindParameter on a column of type DATETIME. The C type is SQL_C_DATE and the SQL type is SQL_DATE. I am receiving the error named in the Subject of this message. Any ideas why? It seems odd to me that the ODBC ...more >>

MSSQL ODBC connection limited to one statement?
Posted by Claude Schneegans at 11/13/2003 11:49:45 AM
Hi, Is it possible that an MSSQL ODBC connection is limited to one statement at a time? I'm looping on a result set generated by a call to SQLColumns() on some hstmt, In each iteration, I'm calling SQLGetTypeInfo() on a second statement hstmt2 to get more details about the type of the column,...more >>

Urgent: SQL 7 "sa" log in failed.
Posted by Michael Ju at 11/13/2003 4:54:46 AM
This happens on all the web sites that have SQL Server databases (SQL version 7). The username is sa, password is xxxxxx. This only started happening at the weekend. We'd seen this error before recently, but restarting SQL Server service fixed it. Now that doesn't work. Restarting the server...more >>

System DSN not listed
Posted by Andy at 11/12/2003 10:33:42 AM
I'm trying to create a System DSN, following all steps, but when I finish the wizard, the System DSN is not listed in the list box. Any idea ? Thank you ...more >>

Run time error 3669. Execution cancelled on a large table
Posted by anita hery at 11/11/2003 11:40:46 PM
Hi All I found an error ( run time error 3669. Execution cancelled) when ran the following query via VB6 SP5. select crc,month,sum(v) as v from ( select crc,v, case when fadate between '1/1/2003' and '1/31/2003' then 1 else 2 end as month from...more >>

ODBC to Ingress from ASP page or SQL Server 7.0
Posted by Kiran at 11/11/2003 8:03:01 PM
Hi there, I'm trying to connect to Ingress 2.0 from ASP page but not sure of how to! Iwas wondering if it is possible for such a connection. Can anyone help me in telling me how to create an odbc connection from ASP page?? or is it easy to connect to ingress via sql stored procedure? I no...more >>

bcp problem
Posted by Bernd Lambertz at 11/11/2003 4:40:21 PM
I have a problem with bcp and format files. We changed our databases from varchar to nvarchar to support unicode. No problems so fare with that. It is working fine. But now I need a format file for the customer table and and it is not working. It is working fine with the old DB with varcha...more >>

Saving a View(query)
Posted by michael.dionne NO[at]SPAM nextel.com at 11/11/2003 2:36:18 PM
I recently set up a Linked Server to an Oracle Db for my SQL Server. I ran an Openquery to be able to see a table on the Oracle Db. I can see the results from the query, but really want to be able to say the query/view so that I can select it in the future for other queries. When I go to save...more >>

Date data type
Posted by Villi Bernaroli at 11/11/2003 11:44:12 AM
Hi Is it possible to stare dates before year 1753 in SQL server? Looks like it doesn't accept them. Also, is it possible to receive empty dates instead of 01-01-1900 for empty date fields? I'm receiving 01-01-1900 instead of empty date. I'm using Visual FoxPro 8 SP1 against a SQLserver 2000 se...more >>

can't send date to stored proc. why?
Posted by Leon McCalla at 11/11/2003 10:49:48 AM
SQLSTATE: 07002 Native error: 0 Message: [Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error I get the above error when i try to submit the line below to SQL. Stop.connect_time is a SQL_timestamp_structure. what could be wrong? SQLBindParameter(hstmt, 3, SQL_PARAM...more >>

MSSQL ODBC: TEST FAILED!
Posted by guly at 11/11/2003 6:00:05 AM
Hi, i' ve a problem: when i attemp the connection from the Control Panel -> Administrative tools -> ODBC, i get the message "TEST FAILED!" My PC is configurated with MDAC 2.7 and SQL Server 2000 SP2. Is a good idea to install SP3a (that contain also MDAC 2.71)? Any ideas?! Thank' s. ...more >>

ASE ODBC 12.5 Driver has problem with SQLServer 8.0 DTS: HELP!
Posted by opales NO[at]SPAM zonnet.nl at 11/11/2003 3:48:41 AM
Hi, On one side, I have a Sybase 12.5 32 bits Server running on AIX 5.1 (maintenance level 3). On the other, I've got W2000 5.00.2195 (SP2) with SQL Server Standard Edition, Product Version 8.00.534 (SP2), having installed MDAC 2.6. I connect to the Sybase 12.5 database using Merant ASE OD...more >>

Blocking Issues
Posted by jgerni at 11/10/2003 11:36:08 AM
Hello, I am upgrading a database from SQL Server 6.5 to 7.0 and am now having problems with blocking. An application written in MS Access using DAO is causing the probem when trying to open a querydef recordset. The application just freezes until it times out and then comes back with an ODBC erro...more >>

sql error
Posted by pradeep at 11/10/2003 5:21:13 AM
i'm getting an error, Unable to connect to server Server :Msg17,Level6,State1 [microsoft][ODBC SQL Server driver][TCP/IP Sockets] SQL server does not exist or access denied Can someone help me...more >>

Volume / ODBC Error Message
Posted by grez at 11/8/2003 3:37:36 PM
Hi! I'm totally new to SQL, so please bear with me. Going to backup a database in SQL 7.0. I'm comfortable with the backup procedures. However, I get the following message: (header) MSFT SQL-DM0 (ODBC SQL State: 42000) Teh volume on device "C:\mssql7\backup\*filename*.bak is not part...more >>

Win2003 enterprise- SQL2000enterprise - ODBC error
Posted by Clarise at 11/7/2003 5:30:41 PM
On one of our domains we have win2003 enterprise and SQL 2000 enterprise installed. The clients that access this server are windows 2ooo prof or XP prof. When trying to connect to the sql2000 server through ODBC. I get the error [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets] SQL Server ...more >>

MS Access Link Table list incomplete
Posted by Don Jellie at 11/7/2003 4:18:57 PM
Hi all, I'm using the MS Access Link Tables function to link to a SQL Server 2000 DB and the list only shows 1 table (actually, it's alphabetically the first view in the DB. The server is new and we recently moved the DB to it, but nothing in the DB itself looks different or suspicious. Perm...more >>

ODBC failure after applying SP3 to SQL70
Posted by Michele at 11/7/2003 9:58:36 AM
AFter upgrading a SQL 7.0 server to SP3, our previously working odbc connections to a database are failing, saying - SQL Server Error 18452. Login failed for user sa - not associated with a trusted SQL server connection. Any ideas?...more >>

Equivalent of Oracle's Rrownum SQL
Posted by Aparna at 11/7/2003 5:37:02 AM
Hi, We have a requirement to display records from MS SQL database in pages of predefined rows. In Oracle, we can incorporate this paging logic using "rownum" pseudocolumn. I am new to SQL. Is there any equivalent of rownum funda in SQL ? Thanks & Regards, Aparna S....more >>

Load Access 97 *.db in SQL-Server
Posted by Jochen_Brüggemann at 11/7/2003 2:39:02 AM
Hi, to load an Access 97 *.db-file in my SQL-Server I need an appropiate ODBC-driver. Where do I get one? Thanks in advance Jochen ...more >>

ODBC error inserting data via ASP
Posted by Rodney at 11/6/2003 10:55:24 AM
I am working with a form on an ASP page and getting the following error when attempting to insert data into my MSSQL7 table which had been working fine. Microsoft OLE DB Provider for ODBC Drivers error '80040e57' [Microsoft][ODBC SQL Server Driver][SQL Server]String or binary data would...more >>


DevelopmentNow Blog