Tuesday, September 6, 2011

information_schema.columns


SELECT
'target.'+ COLUMN_NAME +'=New.' + COLUMN_NAME +' ,'
COLUMN_NAME  from
 information_schema.columns
WHERE table_name = 'Transaction'

No comments:

Post a Comment