Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Informix > Re: extended_id...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 13974 of 14357
Post > Topic >>

Re: extended_id availability

by "Art S. Kagel (Oninit)" <art@[EMAIL PROTECTED] > May 6, 2008 at 05:46 PM

Gerardo Santana G=F3mez Garrido wrote:

SELECT DBINFO( 'version', 'major' )
INTO myvar    -- Use synax appropriate to your host language!
FROM systables
WHERE tabid =3D 1;

If  myvar >=3D 9 then
       -- There is extended_id
else
       -- No extended_id
end if

> Ouch.
>
> Which is the best way to parameterized my code to select extended_id
> only when it is available?
>
> Thanks in advance.
>  =20
--=20

Art S. Kagel
Oninit (www.oninit.com)
IIUG Board of Directors (art@[EMAIL PROTECTED]
)
 




 1 Posts in Topic:
Re: extended_id availability
"Art S. Kagel (Onini  2008-05-06 17:46:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 6:22:26 CDT 2008.