10g中如何修改数据库字符集?
本站文章除注明转载外,均为本站原创: 转载自love wife love life —Roger的Oracle/MySQL数据恢复博客
本文链接地址: 10g中如何修改数据库字符集?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 |
SQL> !uname -a Linux roger 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux SQL> select userenv('language') from dual; USERENV('LANGUAGE') ---------------------------------------------------- AMERICAN_AMERICA.WE8ISO8859P1 SQL> select * from v$version; BANNER ---------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod PL/SQL Release 10.2.0.4.0 - Production CORE 10.2.0.4.0 Production TNS for Linux: Version 10.2.0.4.0 - Production NLSRTL Version 10.2.0.4.0 - Production SQL> conn roger/roger Connected. SQL> create table ht01(id number,name varchar2(6)); Table created. SQL> insert into ht01 values(1,'海天'); 1 row created. SQL> insert into ht01 values(2,'北京'); 1 row created. SQL> commit; Commit complete. SQL> SQL> select * from ht01; ID NAME ---------- ------ 1 ???? 2 ???? 安装配置csscan SQL> @?/rdbms/admin/csminst.sql grant READ on directory log_file_dir to system * ERROR at line 1: ORA-22930: directory does not exist grant READ on directory data_file_dir to system * ERROR at line 1: ORA-22930: directory does not exist drop user csmig cascade * ERROR at line 1: ORA-01918: user 'CSMIG' does not exist Please create password for user CSMIG: Enter value for csmig_passwd: csmig old 1: create user csmig identified by &csmig_passwd new 1: create user csmig identified by csmig User created. Grant succeeded. Grant succeeded. Grant succeeded. Grant succeeded. Grant succeeded. Grant succeeded. Grant succeeded. Grant succeeded. Grant succeeded. Grant succeeded. User altered. 1 row created. 1 row updated. Table created. drop public synonym csm$parameters * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. Grant succeeded. Table created. drop public synonym csm$query * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. Grant succeeded. Table created. drop public synonym csm$tables * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. Grant succeeded. Table created. drop public synonym csm$columns * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. Grant succeeded. Table created. drop public synonym csm$extables * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. Grant succeeded. Table created. drop public synonym csm$errors * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. Grant succeeded. Table created. drop public synonym csm$langid * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. Grant succeeded. Table created. drop public synonym csm$charsetid * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. Grant succeeded. Table created. drop public synonym csm$indexes * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. Grant succeeded. Table created. drop public synonym csm$constraints * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. Grant succeeded. Table created. drop public synonym csm$triggers * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. Grant succeeded. Table created. drop public synonym csm$dictusers * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. Grant succeeded. 14 rows created. View created. drop public synonym csmv$tables * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. View created. drop public synonym csmv$columns * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. View created. drop public synonym csmv$errors * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. View created. drop public synonym csmv$indexes * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. View created. drop public synonym csmv$constraints * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. View created. drop public synonym csmv$triggers * ERROR at line 1: ORA-01432: public synonym to be dropped does not exist Synonym created. |