Pages

Banner 468 x 60px

 

Tuesday, March 14, 2017

Update SQL with LEN

0 comments
Hi guys, i want to share Update SQL with LEN :

 update [DB_Staging].[dbo].[LedgerJournalTrans]
  set BIT_LEDGERDIMENSION = SUBSTRING(BIT_LEDGERDIMENSION, 1, LEN(BIT_LEDGERDIMENSION)-2)
  where BIT_LEDGERDIMENSION like '%M1'

0 comments:

A financial dimension value is based on the record and has been used on a transaction. You cannot delete the record

  SOLUTION delete in table DimensionAttributeLevelValue base on Bank Account  :  and Delete the Bank Account FINISH