Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / Ingres Topics / July 2008

Tip: Looking for answers? Try searching our database.

Long varchar vs Long byte

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
William - 17 Jul 2008 11:29 GMT
Hi,  Is there any practical difference between a 'long varchar' column
compared to a 'long byte' column field?

Long varchar seems to accept binary data without problem.    We are just
storing and then retriving the data,  the column will not appear in any
where clauses etc.

Thanks.
Ian Kirkham - 17 Jul 2008 11:42 GMT
Yes there could be depending on what you do with it. The (LONG)BYTE data
will be treated as raw but (LONG) VARCHAR type will be subject to
character set handling which could be dealing with  multi-byte
characters. As such, I'd expect BYTE to be more efficient for your
intended purpose.
Regards,
Ian

-----Original Message-----
From: info-ingres-bounces@kettleriverconsulting.com
[mailto:info-ingres-bounces@kettleriverconsulting.com] On Behalf Of
William
Sent: 17 July 2008 11:30
To: info-ingres@kettleriverconsulting.com
Subject: [Info-Ingres] Long varchar vs Long byte

Hi,  Is there any practical difference between a 'long varchar' column
compared to a 'long byte' column field?

Long varchar seems to accept binary data without problem.    We are just

storing and then retriving the data,  the column will not appear in any
where clauses etc.

Thanks.

_______________________________________________
Info-Ingres mailing list
Info-Ingres@kettleriverconsulting.com
http://www.kettleriverconsulting.com/mailman/listinfo/info-ingres
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.