Ver Mensaje Individual
  #5  
Antiguo 02-05-2007
Avatar de jhonny
jhonny jhonny is offline
Jhonny Suárez
 
Registrado: may 2003
Ubicación: Colombia
Posts: 7.058
Reputación: 30
jhonny Va camino a la famajhonny Va camino a la fama
Nunca me había puesto a ver cuantas maneras hay de obtener la lista de las tablas que no pertenecen al sistema, también se puede hacer asi:

Código SQL [-]
select RDB$RELATION_NAME, RDB$SYSTEM_FLAG from RDB$RELATIONS
where RDB$FLAGS not is null
Pero se sigue viendo mas bonito como el 2do Post.

Bueno, en todo este hilo no he mencionado que si las quieres todas incluso las del sistema, tendríamos que hacer solo:

Código SQL [-]
select RDB$RELATION_NAME, RDB$SYSTEM_FLAG from RDB$RELATIONS

Nota: Que bueno que ya te funcione .
__________________
Lecciones de mi Madre. Tema: modificación del comportamiento, "Pará de actuar como tu padre!"

http://www.purodelphi.com/
http://www.nosolodelphi.com/

Última edición por jhonny fecha: 02-05-2007 a las 20:19:49.
Responder Con Cita