Forum Replies Created

Viewing 3 posts - 1 through 4 (of 4 total)

  • RE: Stored Proc Update

    Oh, and another thing:

    in the example above, this bit of code...

    UPDATE Categories

     SET Description = CONVERT(varchar, Description ) + 'Hello'

     WHERE CategoryName = @InputParm

    if @@ROWCOUNT = 0 set @rc = 1

    if @@ERROR...

  • RE: Stored Proc Update

    You can access return values from SPs if you are using a parameterized Command object in VB6/ADO - just add a parameter with the type adReturnValue. There's also a way...

  • RE: Using a Stored Procedure to calculate percentage of records from a table

    Hi Ron

    how about using a mixture of SELECT TOP and ORDER BY?

    for example, if you do SELECT TOP 25% and ORDER BY a certain column, that should get your first...

Viewing 3 posts - 1 through 4 (of 4 total)