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 LAND-00013 record and has been used on a transaction. You cannot delete the LAND-00013 record AX 2012

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