MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » May 2000

SQL Data Links & FieldRef - Was blobs


  • Subject: SQL Data Links & FieldRef - Was blobs
  • From: jpcarr@xxxxxxxxxxxx
  • Date: Wed, 3 May 2000 08:26:35 -0400

fixed



Concerning Data Links;
I was told by some DB2/400 person that we can create a View and Cast a Data
Link as Character data type.
So we basically have the ability.

Now then,   What does every think of having the REF capability in SQL
Create Table???

How does this strike you??

CREATE TABLE Customer (
  LIKE MyFieldRef (pull in all of the column definitions)
or
  LIKE MyFieldRef(CustID, Name, City)
);

I think this would be great!!!   Why should we be punished just  because
other platforms(Oracle, SQL Server) don't have the concept of REFFLD.

Do you all think this would be a good thing?     Would you like it to pull
the Column Headings/Text and other things too, or just Size, Type, Length,
Decimal Pos.  ???

John Carr
http://www.400school.com





+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact