• OK, it looks like I was over thinking it.

    [Code]

    UPDATE Documents

    SET DocumentFileName = REPLACE(DocumentFileName,'TIF','pdf')

    WHERE DocumentFileName LIKE '%.TIF' AND DocumentLinked = '1'

    [/Code]

    Can anyone see any potential issued with above code?

    Kind Regards,

    Phil.

    -------------------------------------------------------------------------------------
    A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."

    Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '

    Tommy Cooper