Como saber si una tabla tiene registros

21/09/2005 - 20:46 por Byron Santizo | Informe spam
Como puedo hacer para saber si una base de datos tiene registro, pero sin
usar el comando COUNT


PortalFox :: Nada corre como un zorro
http://www.portalfox.com

PortalFox - NNTP Forum Gateway

Preguntas similare

Leer las respuestas

#1 Darwin Quintero
21/09/2005 - 21:12 | Informe spam
Revisa : RECCOUNT( )


Darwin Quintero
Venezuela

"Byron Santizo" escribió en el mensaje
news:
Mostrar la cita
#2 Heberto Villavicencio
21/09/2005 - 23:10 | Informe spam
Fijate si te sirve:

Go Top
if Eof()
&& No tiene registros
endif



"Esparta Palma" escribió en el
mensaje news:
Mostrar la cita
#3 Esparta Palma
21/09/2005 - 23:55 | Informe spam
Podrias hacerlo con la función RECCOUNT(), pero esta no sirve tan bien
debido a que no respeta el estatus de SET DELETE. Ahora, cual es el
problema de usar COUNT()?



Byron Santizo wrote:
Mostrar la cita
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º

Espartaco Palma Martínez
SysOp http://www.PortalFox.com
México D.F.
MoBlogs!
http://weblogs.golemproject.com/esparta/
http://www.espartha.com/blog/
#4 Luis Martinez Rguez.
24/09/2005 - 04:22 | Informe spam
if bof() and eof()
** no tiene registros
endif

Saludos.
Luis Martinez
A Coruña - España

"Byron Santizo" escribió en el mensaje
news:
Mostrar la cita
Ads by Google
Search Busqueda sugerida