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 / General DB Topics / General DB Topics / January 2005

Tip: Looking for answers? Try searching our database.

'%TYPE' equivalent

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
- - 28 Jan 2005 04:31 GMT
my apologies for asking this qn in here as my post at the mysql didn't
get a reply.

in oracle there is a '%TYPE' to reference the data type of another
column.  is there an equivalent in mysql? thank you.
DA Morgan - 28 Jan 2005 07:55 GMT
> my apologies for asking this qn in here as my post at the mysql didn't
> get a reply.
>
> in oracle there is a '%TYPE' to reference the data type of another
> column.  is there an equivalent in mysql? thank you.

I don't believe there is in MySQL or any of the other commercial
RDBMS's. And it is not to reference "another column" but rather to
define a variable's data type and scale and precision based on a
table and column. No equivalent to %ROWTYPE either TTBOMK.

I hope to be corrected if this is not the case any longer.
Signature

Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace 'x' with 'u' to respond)

 
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



©2009 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.