Can some one tell me the syntax in sql server to find out all the tables and views in my database.
I use select * from tab in oracle. I need like this in sqlserver.
secondly to find out all the columns in a particular table.
I use the select statement in oracle like this.
select column_name from all_tab_columns
where table_name ='EMP'
Thanks in advance for your help.
I use select * from tab in oracle. I need like this in sqlserver.
secondly to find out all the columns in a particular table.
I use the select statement in oracle like this.
select column_name from all_tab_columns
where table_name ='EMP'
Thanks in advance for your help.