
总结
xujingcheng123
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
sql 复制表结构,带主键
在网上查的复制表结构两种方法, 1: create new_table_name from (select * from old_table_name where 1=2); 只复制表结构,没有主键,没有数据 2: create new_table_name like old_table_name 复制表结构,带数据,没有主键 3: ...原创 2020-04-17 19:08:48 · 1862 阅读 · 1 评论 -
oracle 批量表,多个表,修改字段
declare v_sql varchar(10000); v_tablename varchar(100); // 定义游标 names 为 从用户root 查出的所有表明 cursor names is select TABLE_NAME as t_name from dba_tables where owner='root' and TABLESPACE_NAME<>'T...原创 2020-04-17 18:37:09 · 551 阅读 · 0 评论