Board index » delphi » About General SQL error while using MSSQL 7 with BDE
Kevin Frevert
![]() Delphi Developer |
Tue, 27 May 2003 21:07:44 GMT
|
Kevin Frevert
![]() Delphi Developer |
Tue, 27 May 2003 21:07:44 GMT
About General SQL error while using MSSQL 7 with BDE
cms,
Wow, that is a big (wide) table. I don't know why you would be getting Good luck, |
Jeff Alexande
![]() Delphi Developer |
Wed, 28 May 2003 01:05:21 GMT
Re:About General SQL error while using MSSQL 7 with BDEI've seen the same error occur when opening a lot of tables at once and it usually happens on tables that are too wide (in my opionion). If you figure this one out could you please post your solution. My best guess is that it is what Kevin Frevent alluded to. The table is much wider than normal and the error is related to this. I am also using TTables to SQL Server7 w/ D5. (I know, don't use TTables, but I have to since I don't have any say in the data access method). Just a little more information to think about. Quotecms wrote: |
Redd
![]() Delphi Developer |
Wed, 28 May 2003 05:00:32 GMT
Re:About General SQL error while using MSSQL 7 with BDE"cms" <xqlmzlh...@sina.com.cn> wrote Hello CMS, Your table is not even in first normal form. Are you going to use it in a Also, in order to do anything useful at all, you will need a Prmary key, and Just to see what's there in the table, you can write a select statement like If it displays results, then keep on adding the fields until you see"General Goodluck, Quote> CREATE TABLE dbo.Hist_EndShiftRecord2000 ( |
Kevin Frever
![]() Delphi Developer |
Wed, 28 May 2003 04:06:16 GMT
Re:About General SQL error while using MSSQL 7 with BDEYou would be surprised what some consider a "real-application". It's not uncommon for desktop dbs to have tables larger (wider) than that. Our company's legacy system (15+ years old, before my time) had tables with 1,500 fields. krf QuoteReddy wrote in message <3a31214d_1@dnews>... |
Redd
![]() Delphi Developer |
Wed, 28 May 2003 08:13:25 GMT
Re:About General SQL error while using MSSQL 7 with BDEQuote"Kevin Frevert" <kfrev...@midwayusa.com> wrote in message Quote> You would be surprised what some consider a "real-application". It's not I thought I have seen some night-marish DB Designs -- obviously I have not ;). I worked on a system sometime back, which had fields like sign (+/-) as a seperate column. I guess, most of these databases are migrated from legacy/mainframe dbs/files (where they might be stored in a columnwise may be, instead of row-wise). But, it is always good to use a normalized db when using modern Relational DB Servers. Regards, |
Mark L
![]() Delphi Developer |
Thu, 29 May 2003 07:00:05 GMT
Re:About General SQL error while using MSSQL 7 with BDESwitch to ADO. BDE may not be compatible with some of the new functions implemented in MS/SQL 7. In fact, BDE is still using the old DBLibrary that MS had stopped supporting it. Under MS/SQL 7 and greater, the record size is allowed to be much much bigger than under MS/SQL 6.5. So, your record is OK under SQL7, it is just that you are still using BDE that may produce unexpected results. Mark Quote"cms" <xqlmzlh...@sina.com.cn> wrote in message Quote> Dear Sir: |
Paul Lineh
![]() Delphi Developer |
Fri, 30 May 2003 00:13:59 GMT
Re:About General SQL error while using MSSQL 7 with BDE "Kevin Frevert" <kfrev...@midwayusa.com> wrote: Quote> You would be surprised what some consider a "real-application". It's not five thousand fields). It was a legacy system which allowed Pascal records as a data type, so When I was writing code to extract data from this thing and put it Paul... Quote> krf |
1. About General SQL error while using MSSQL 7 with BDE
2. General SQL error with image BLObs, MSSQL+D4+BDE 5.01
3. General SQL Error, MSSQL 6.5, SQL Links 4.51
4. Native MSSQL Driver cause General SQL Error with TTable and TDBMemo
5. HELP! D1/MSSQL 6.5 General SQL Error
6. MSSQL 6.5 "General SQL Error "
7. BDE error: 13059 (General SQL error)
8. BDE error: 13059 (General SQL error)