07 2019 档案
摘要:pl/sql导出1.导出表结构和数据. Tools->Export Tables只选中Drop tables.2.只导出表结构. Tools->Export User Objects只选中Single file.
阅读全文
摘要:-- Create the user create user TAITOU default tablespace USERS temporary tablespace TEMP profile DEFAULT;-- Grant/Revoke object privileges --grant exe
阅读全文
摘要:除了小数和日期,其他都设为字符型比较妥当 如果加字段的类型弄错,需清空字段的值,再删除,再重新加(number转varchar2,也许可以清空后再modify column varchar2(1000)),update TO_POVERTY_MEMBER_D set add_reason='',ad
阅读全文
摘要:putty改字符集: 右击窗口最上面->Change Settings->window->Translation->Remote character set:或改为UTF-8 或改为 Use Font encoding
阅读全文
摘要:select id,s1,length(s1),lengthb(s1),length(substr(s1,1,2)),lengthb(substr(s1,1,2)),length(substrb(s1,1,2)),lengthb(substrb(s1,1,2)) from ( select 1 id
阅读全文
摘要:--全角转半角 select to_single_byte('44619900715Xw') from dual; --半角转全角 select to_multi_byte('44619900715Xw') from dual; --全角转半角 select to_single_byte('4461
阅读全文
摘要:生成insert语句select ','||b.column_name ins1,'--'||b.comments ins2,',a.'||b.column_name||' as '||b.column_name sel from user_tab_cols a,user_col_comments
阅读全文
浙公网安备 33010602011771号