0% found this document useful (0 votes)
59 views

Mangesh SQL

This document contains two SQL statements, the first selects all columns from all tables where the column name starts with "direct_credit", and the second alters a table by renaming an existing column from an old name to a new name.

Uploaded by

api-3716519
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views

Mangesh SQL

This document contains two SQL statements, the first selects all columns from all tables where the column name starts with "direct_credit", and the second alters a table by renaming an existing column from an old name to a new name.

Uploaded by

api-3716519
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

select * from all_tab_columns where column_name like 'direct_credit%'

alter table table_name


rename column old_name to new_name;

You might also like