I got a nested query which I'm trying to run; however I have to screen for numbers with a -1 I have the following:
update invoices set type = 5 where tranno like dbo._fnStripLeadZeroes((
select invoice_number from [bob.jupiter.com].webap.dbo.billinglog)) + '-1'
with invoice_number(varchar15) and tranno(varchar10)
am i approaching this correctly?