Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Bases de datos > Firebird e Interbase
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

 
 
Herramientas Buscar en Tema Desplegado
  #11  
Antiguo 20-03-2013
Avatar de Casimiro Noteví
Casimiro Noteví Casimiro Noteví is online now
Merodeador
 
Registrado: sep 2004
Ubicación: En algún lugar.
Posts: 32.671
Poder: 10
Casimiro Noteví Tiene un aura espectacularCasimiro Noteví Tiene un aura espectacular
A ver si leemos la documentación

Cita:
ROW_COUNT

Available in: PSQL
Added in: 1.5
Changed in: 2.0
Description: The ROW_COUNT context variable contains the number of rows affected by the most recent DML statement (INSERT, UPDATE, DELETE, SELECT or FETCH) in the current trigger, stored procedure or executable block.
Type: INTEGER
Example:
update Figures set Number = 0 where id = :id;
if (row_count = 0) then
insert into Figures (id, Number) values (:id, 0);
Behaviour with SELECT and FETCH:
  • After a singleton SELECT, ROW_COUNT is 1 if a data row was retrieved and 0 otherwise.
  • In a FOR SELECT loop, ROW_COUNT is incremented with every iteration (starting at 0 before the first).
  • After a FETCH from a cursor, ROW_COUNT is 1 if a data row was retrieved and 0 otherwise. Fetching more records from the same cursor does not increment ROW_COUNT beyond 1.
  • In Firebird 1.5.x, ROW_COUNT is 0 after any type of SELECT statement.
Responder Con Cita
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
Problema file not found dbxpress.dcu liito16 Varios 3 28-09-2012 05:18:56
Problemas con dbxpress en dll mcsebas Conexión con bases de datos 3 05-08-2010 08:33:04
Busqueda en SQL Server con dbxpress mbcito SQL 1 10-11-2005 16:42:43
problema con delphi7,firebird 1.5 y dbxpress Eskema Conexión con bases de datos 2 27-07-2005 13:22:52
donde poner los componentes dbxpress wonder boy Conexión con bases de datos 5 23-03-2004 15:25:51


La franja horaria es GMT +2. Ahora son las 13:54:49.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi