Forum Replies Created

Viewing 11 posts - 1 through 12 (of 12 total)

  • RE: No Begin for Commit

    Did everyone else realise that the original poster solved his own problem - it is the second post in the thread and I have only just noticed it!

    Ryan,

    If the code...

  • RE: No Begin for Commit

    The problem isn't syntax - it is data related - if the following statement is false then the error will occur

       IF (@vcCname != @in_vcCatname AND @dtExpiry != @in_dtExpdate)

    I have...

  • RE: No Begin for Commit

    If a you have a SELECT statement within a transaction than produces an error the transaction is rolled back without any specific indication. You should however get the error message...

  • RE: No Begin for Commit

    I agree with other comments made about error in one of the sql statements within the transaction.

    As I understand it if you get an error an implicit rollback takes place...

  • RE: 3 General questions

    All the testing I have ever done on this tells me that the lock will not be maintained unless it is within a transaction however I have not done too...

  • RE: 3 General questions

    If you wanted to use a pessimistic locking technique and apply a lock to a row at the time you select it then you would need to do it within...

  • RE: Returning multiple rows from single row

    Hi Jeff,

    It is not a case of parameterising the view - I would simply use a where clause when selecting from the view.

    Select * from vwMyView where Product ='widget'

     

    Regards

    John

  • RE: Returning multiple rows from single row

    Thanks noeld,
     
    That will teach me not to read the answer thoroughly.
    Your reply works great - as you said it would.
    I am now very interested in spt_values - what is it?
    I...
  • RE: Returning multiple rows from single row

    Thanks for your quick responses.
    I had imagined the answer to be something like you suggest but I was hoping to avoid temporary tables.
    I would like to do this in a...
  • RE: Mobile laptop users and replication

    Antares686. After further tests I can definately confirm your initial response (at least with respect to transactional replication). I am interested in the CommitBatchSize and CommitBatchThreshold arguments to the distribution...

  • RE: Mobile laptop users and replication

    I am also investigating use of replication for a remote sales force. The tests I have done so far suggest the opposite to Antares686 statement. My test publication includes 2...

Viewing 11 posts - 1 through 12 (of 12 total)