in reply to Database access problem
Looks to me like you're trying to pass some Perl code into a statement handle prepare. I don't recognize the 'if exists' as being valid SQL ... but then I'm more of an Oracle guy and I'm not very good with PL/SQL.
Update: I'm told this is T-SQL. This illustrates why asking this kind of question here may not get you the results you seek, as other monks have commented. :)
|
|---|