I am not all that familiar with DB2. We are on version 7.2.
We have several tables that have the # sign in column names. They work fine when they are selected from a mainframe program.
However, we are trying to create SQL Stored procedures using some of these fields in the selection cursor. We are running into problems compling them because of the # sign. Is there a way around this?
I know is Access/SQL Server you can use the [] to circumvent this problem.
For example
SELECT [RECORD#] from xxx.Table
any help is appreciated.
Thanks
Brian
We have several tables that have the # sign in column names. They work fine when they are selected from a mainframe program.
However, we are trying to create SQL Stored procedures using some of these fields in the selection cursor. We are running into problems compling them because of the # sign. Is there a way around this?
I know is Access/SQL Server you can use the [] to circumvent this problem.
For example
SELECT [RECORD#] from xxx.Table
any help is appreciated.
Thanks
Brian