$ 0 0 Use 'select * from dbc.columns where tablename = '''||TB1||''' ; ' Three ' single quotes before ||TB1 and similarly end HTH Harpreet