Re: CREATE VIEW gets all mangled up when doing SHOW CREATE VIEW

2004-10-05 Thread Harald Fuchs
In article <[EMAIL PROTECTED]>, Jochem van Dieten <[EMAIL PROTECTED]> writes: > Since the is no requirement to have an accessible DEFINITION_SCHEMA > there may be a mechanism to recreate the definition on the fly from > other information, but the same goes for the other view related base > tables

Re: CREATE VIEW gets all mangled up when doing SHOW CREATE VIEW

2004-10-05 Thread Jochem van Dieten
On 05 Oct 2004 12:02:44 +0200, Harald Fuchs wrote: > "Martijn Tonies" <[EMAIL PROTECTED]> writes: >> >> I was asking if the view-source can be stored, so that it can be retrieved >> the way I created it. Do you agree or disagree? > > I disagree. A proper information_schema implementation is much

Re: CREATE VIEW gets all mangled up when doing SHOW CREATE VIEW

2004-10-05 Thread Jochem van Dieten
On 05 Oct 2004 11:46:18 +0200, Harald Fuchs wrote: > "Martijn Tonies" writes: >> >> MS SQL, or Firebird, for example, store the view-source as defined - >> this includes comments, spacing etc etc... In short: it becomes usuable. >> >> MySQL should do this too. From reading these lists, I think My

Re: CREATE VIEW gets all mangled up when doing SHOW CREATE VIEW

2004-10-05 Thread Martijn Tonies
Hello Harald, others, > >> > This is plain rubbish. See my other example with a more complicated > >> > view source. When adjusting the view, or extracting a script - the > >> > view source becomes complete gibberish. > >> > >> > MS SQL, or Firebird, for example, store the view-source as defined -

Re: CREATE VIEW gets all mangled up when doing SHOW CREATE VIEW

2004-10-05 Thread Harald Fuchs
In article <[EMAIL PROTECTED]>, "Martijn Tonies" <[EMAIL PROTECTED]> writes: > Hello Harald, others, >> > This is plain rubbish. See my other example with a more complicated >> > view source. When adjusting the view, or extracting a script - the >> > view source becomes complete gibberish. >> >>

Re: CREATE VIEW gets all mangled up when doing SHOW CREATE VIEW

2004-10-05 Thread Martijn Tonies
Hello Harald, others, > > This is plain rubbish. See my other example with a more complicated > > view source. When adjusting the view, or extracting a script - the > > view source becomes complete gibberish. > > > MS SQL, or Firebird, for example, store the view-source as defined - > > this inclu

Re: CREATE VIEW gets all mangled up when doing SHOW CREATE VIEW

2004-10-05 Thread Harald Fuchs
In article <[EMAIL PROTECTED]>, "Martijn Tonies" <[EMAIL PROTECTED]> writes: > This is plain rubbish. See my other example with a more complicated > view source. When adjusting the view, or extracting a script - the > view source becomes complete gibberish. > MS SQL, or Firebird, for example, sto

Re: CREATE VIEW gets all mangled up when doing SHOW CREATE VIEW

2004-10-04 Thread Martijn Tonies
> > I suppose these are the ways with Databases. They don't work the way > > we like them to. > > So please adjust with it. For this matter I think, any RDBMS will be > > doing their or paddings to the scripts when they are loading it in > > memories. > > But that doesn't make it right. > > Specif

Re: CREATE VIEW gets all mangled up when doing SHOW CREATE VIEW

2004-10-04 Thread Jochem van Dieten
On Tue, 5 Oct 2004 00:27:45 +0530, Eldo Skaria wrote: > > I suppose these are the ways with Databases. They don't work the way > we like them to. > So please adjust with it. For this matter I think, any RDBMS will be > doing their or paddings to the scripts when they are loading it in > memories.

Re: CREATE VIEW gets all mangled up when doing SHOW CREATE VIEW

2004-10-04 Thread Martijn Tonies
Hello Eldo, > I suppose these are the ways with Databases. They don't work the way > we like them to. > So please adjust with it. For this matter I think, any RDBMS will be > doing their or paddings to the scripts when they are loading it in > memories. > just the same way for oracle(where i have

Re: CREATE VIEW gets all mangled up when doing SHOW CREATE VIEW

2004-10-04 Thread Eldo Skaria
Hai Martin, I suppose these are the ways with Databases. They don't work the way we like them to. So please adjust with it. For this matter I think, any RDBMS will be doing their or paddings to the scripts when they are loading it in memories. just the same way for oracle(where i have some (in)exp

CREATE VIEW gets all mangled up when doing SHOW CREATE VIEW

2004-09-29 Thread Martijn Tonies
Hi there, I'm testing MySQL 5.0.1 a bit - and I noticed the following... When executing this: create view myview2 (t0) as select c1 from t It returns this when doing a SHOW CREATE VIEW myview2: CREATE VIEW test.myview2 AS select `test`.`t`.`c1` AS `t0` from `test`.`t` This is not at all what I