Update all records of a Table at once for better speed performance (Update_recordset)

    public void run()
    {
        Al0ProjContractTrans al0ProjContractTrans;
        Salesquotationtable salesquotationtable;

        ttsbegin;

        delete_from al0ProjContractTrans
            where projid == projId;

        update_recordset salesquotationtable
            setting projidref = ""
            where salesquotationtable.projidref == projId;

        ttscommit;
   
        Info(projId + " as been deleted");
    }

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s