Re: [GENERAL] What is the point of create or replace view command

2006-06-05 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-06-05 16:19:19 +1000: > On 6/5/06, Joe Conway wrote: > >Chris Velevitch wrote: > >> But what about my original question? > >> > >> "What is the point of the create or replace view command if you > >> can't change the > >> column and data types?" > > > >-- create t

Re: [GENERAL] What is the point of create or replace view command

2006-06-05 Thread Berend Tober
Chris Velevitch wrote: > On 6/5/06, Berend Tober wrote: > >> Chris Velevitch wrote: >> > What is the point of the create or replace view command if you can't >> > change the column and data types ? >> >> You could have a calculated column and change the calcuation. >> >> You could change the sort

Re: [GENERAL] What is the point of create or replace view command

2006-06-04 Thread Chris Velevitch
On 6/5/06, Joe Conway wrote: Chris Velevitch wrote: > But what about my original question? > > "What is the point of the create or replace view command if you > can't change the > column and data types?" -- create table t1 create table t1(f int); -- create view v1 based on table t1 creat

Re: [GENERAL] What is the point of create or replace view command

2006-06-04 Thread Joe Conway
Chris Velevitch wrote: But what about my original question? "What is the point of the create or replace view command if you can't change the column and data types?" -- create table t1 create table t1(f int); -- create view v1 based on table t1 create view v1 as select * from t1; -- cre

Re: [GENERAL] What is the point of create or replace view command

2006-06-04 Thread Chris Velevitch
On 6/5/06, brian ally wrote: Chris Velevitch wrote: > Yes, please, what is point of CREATE OR REPLACE FUNCTION, when it > doesn't let you change the function's parameter list or result type? The way that user-created functions work allows one to have the same function name with different numbers

Re: [GENERAL] What is the point of create or replace view command

2006-06-04 Thread Tim Allen
Chris Velevitch wrote: Yes, please, what is point of CREATE OR REPLACE FUNCTION, when it doesn't let you change the function's parameter list or result type? Being able to change the _logic_ of a function is certainly useful. Well, I find it so, at least - YMMV. Tim -- -

Re: [GENERAL] What is the point of create or replace view command

2006-06-04 Thread brian ally
Chris Velevitch wrote: On 6/5/06, Tom Lane wrote: "Chris Velevitch" <[EMAIL PROTECTED]> writes: > What is the point of the create or replace view command if you can't > change the column and data types ? You might as well ask what's the point of CREATE OR REPLACE FUNCTION, when it doesn't let

Re: [GENERAL] What is the point of create or replace view command

2006-06-04 Thread Chris Velevitch
On 6/5/06, Tom Lane wrote: "Chris Velevitch" <[EMAIL PROTECTED]> writes: > What is the point of the create or replace view command if you can't > change the column and data types ? You might as well ask what's the point of CREATE OR REPLACE FUNCTION, when it doesn't let you change the function's

Re: [GENERAL] What is the point of create or replace view command

2006-06-04 Thread Chris Velevitch
On 6/5/06, Berend Tober wrote: Chris Velevitch wrote: > What is the point of the create or replace view command if you can't > change the column and data types ? You could have a calculated column and change the calcuation. You could change the sort order, selection, or grouping clauses. That

Re: [GENERAL] What is the point of create or replace view command

2006-06-04 Thread Tom Lane
"Chris Velevitch" <[EMAIL PROTECTED]> writes: > What is the point of the create or replace view command if you can't > change the column and data types ? You might as well ask what's the point of CREATE OR REPLACE FUNCTION, when it doesn't let you change the function's parameter list or result typ

Re: [GENERAL] What is the point of create or replace view command

2006-06-04 Thread Berend Tober
Chris Velevitch wrote: What is the point of the create or replace view command if you can't change the column and data types ? You could have a calculated column and change the calcuation. You could change the sort order, selection, or grouping clauses. Just to name two. ---

[GENERAL] What is the point of create or replace view command

2006-06-04 Thread Chris Velevitch
What is the point of the create or replace view command if you can't change the column and data types ? Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ---(end of broadcast)--- TIP 1: if posting/readin