Guys is there any other way to determine a table exists other than below
select count(*) from where rownum =1 select 6条回答 旧时难觅i (楼主) 2020-12-31 06:46 You can do this (in oracle, in mssql there is a bit different): select count(*) from all_objects where object_type in ('TABLE','VIEW') and object_name = 'your_table_name'; 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
select 6条回答 旧时难觅i (楼主) 2020-12-31 06:46 You can do this (in oracle, in mssql there is a bit different): select count(*) from all_objects where object_type in ('TABLE','VIEW') and object_name = 'your_table_name'; 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
You can do this (in oracle, in mssql there is a bit different):
select count(*) from all_objects where object_type in ('TABLE','VIEW') and object_name = 'your_table_name';