Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread VIEW in EDBManager
Fri, Jan 4 2008 9:28 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

You suggested using a view in EDBManager to replicate the structure view in DBSys. I can write the SQL Smileybut I don't know where/how to do it. Help me out please.

Roy Lambert
Fri, Jan 4 2008 10:44 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Don't worry - I finally pried my eyes open enough to find the right place Smiley


Now I've found it I'm with Harry about parameters. Think how much more useful

select tablename,name,type,"length",scale
from information.tablecolumns
where tablename = 'eln'
order by tablename

would be if I could put in a parameter for the tablename

Roy Lambert
Fri, Jan 4 2008 11:40 AMPermanent Link

"Harry de Boer"
Roy

Thanks for backing me up SmileHowever I can see that's it's a major request. A
view is handled like a table (TEDBtable) and parameters there seems to be
dififficult if not impossible. Maybe a TEDBQuery could have an etra property
with [edbQuery,edbView] values or a component TEDBView could make it's
entrance, or... You know what? Why don't we leave it all to Tim Smile

Regards, Harry

"Roy Lambert" <roy.lambert@skynet.co.uk> schreef in bericht
news:ED1D7EB2-385D-4887-BEDD-9C67AEC16ED3@news.elevatesoft.com...
> Don't worry - I finally pried my eyes open enough to find the right place
Smiley
>
>
> Now I've found it I'm with Harry about parameters. Think how much more
useful
>
> select tablename,name,type,"length",scale
> from information.tablecolumns
> where tablename = 'eln'
> order by tablename
>
> would be if I could put in a parameter for the tablename
>
> Roy Lambert
>

Sun, Jan 6 2008 8:25 PMPermanent Link

Ralf Graap
Hey Roy,

just my 2 cent... Why not using a procedure:

ALTER PROCEDURE "TableColumns" (IN "Tablename" VARCHAR(50) COLLATE ANSI_CI)
BEGIN
DECLARE Result CURSOR WITH RETURN FOR Stmt;

  PREPARE Stmt FROM 'SELECT *
                     from information.tablecolumns tc
                     where Tablename = ?';
  OPEN Result using Tablename;

END

Ralf

Roy Lambert schrieb:
> Don't worry - I finally pried my eyes open enough to find the right place Smiley
>
>
> Now I've found it I'm with Harry about parameters. Think how much more useful
>
> select tablename,name,type,"length",scale
> from information.tablecolumns
> where tablename = 'eln'
> order by tablename
>
> would be if I could put in a parameter for the tablename
>
> Roy Lambert
>
Mon, Jan 7 2008 2:34 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Ralf


Learning curve - I'm still at the bottom of the slope Smiley

Roy Lambert
Mon, Jan 7 2008 7:26 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ralf,

<< just my 2 cent... Why not using a procedure: >>

Very good point, thanks for pointing that out. Smiley

--
Tim Young
Elevate Software
www.elevatesoft.com

Image