Ask a Question related to Coldfusion Database Access, Design and Development.
-
Phillip Senn #1
.Recordsaffected or @@RowCount
Is there a way in native ColdFusion, without going through a SQL Server stored
procedure, to get the number of records affected by an UPDATE stmt?
I can't rely upon a SELECT stmt being executed after the UPDATE stmt, because
someone else may have done another UPDATE or an INSERT.
Phillip Senn Guest
-
CFOUTPUT QUERY rowcount = 0
Hello, I have a query which return 0 row. I have a CFOUTPUT QUERY which try to output my query. Coldfudion enter in the CFOUTPUT once EVEN if my... -
rowcount
How can I get a count of rows in a datagrid? -
RecordsAffected from query as connection method
Database: Access 2000 MDAC Version: 2.7 Provider: Microsoft.Jet.OLEDB.4.0 Is there a way to access the number of records affected when executing... -
@@rowcount in trigger
Hi, I read in a book which suggested to check the @@rowncount inside the trigger if it is =0 then return if @@rowncount=0 Return I am wondering... -
PaulH #2
Re: .Recordsaffected or @@RowCount
use something like
SET NOCOUNT ON
UPDATE table ...
SELECT @@ROWCOUNT as updatedRows
SET NOCOUNT OFF
in your cfquery.
PaulH Guest



Reply With Quote

