Subject | Re: [firebird-support] Re: Need advice on SQL & table design. |
---|---|
Author | Martijn Tonies |
Post date | 2004-04-18T11:14:04Z |
Well,
compared to returns "14, 1, 15" etc...
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com
> > You cannot do this with a join, however, you CAN do thisIf you're using "embedded": what wire? :-)
> > with a selectable stored procedure - make it an inline select
> > and let the procedure select the flags and concat them into
> > the output string.
>
> Thanks Martijn
>
> OK. I could cache the PEOPLE_FLAGS and just get the SP to concat
> their PK's which would result in less data being sent down the wire.
> I guess that means for 'n' entries in my people table, I'm doing 1+'n'I doubt there's any difference between returning the actual string
> selects. I'm using FB embedded for this application and I expect the
> majority of the machines will be fairly weedy, hence my need to keep
> the SQL processing down to a minimum.
compared to returns "14, 1, 15" etc...
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com