If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > CSDK.2.81.TC2 not support advance query

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-21-04, 07:53
sud_and sud_and is offline
Registered User
 
Join Date: Apr 2004
Posts: 1
CSDK.2.81.TC2 not support advance query

Hello All informix Users

I want to retrive data from Informix(Unix) & add into Oracle NT(Windows) for ODBC,Oledb sql syntax checking i made some form in VB6

but i write a query check the Sysntax it not run but some syntax are run properly eg. select * from systables but this advance query not run

SELECT a.tabname, b.colno, b.colname, b.coltype, b.collength
FROM systables a, syscolumns b
WHERE a.tabid = b.tabid
ORDER BY b.colno;

in informix is run proper i check all odbc string (CSDK.2.81.TC2 )

give me answer pls

From

Sudhir
Reply With Quote
  #2 (permalink)  
Old 05-21-04, 08:12
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi Sudhir,

I think that depending on you Ibm-Informix version, the size of the name the tables was incremented of 18 to 128 characters.

Please test running:

SELECT substr(a.tabname,1,22), b.colno,
substr(b.colname,1,22), b.coltype, b.collength
FROM systables a, syscolumns b
WHERE a.tabid = b.tabid
ORDER BY b.colno

Gustavo.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On