Aby zlikwidować wspaniałe usprawnienie Excel 2010 polegające na tym, że wszystkie arkusze kalkulacyjne otwierają się w jednym oknie (i trzeba robić cuda na kiju aby otworzyć dwa skoroszyty w dwóch oknach) należy zmienić wpisy w rejestrze w kluczach:
HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\command
na:
Domyślny REG_SZ “C:\Program Files\Microsoft Office\Office14\EXCEL.EXE”
command REG_MULTI_SZ ykG^V5!!!!!!!!!MKKSkEXCELFiles>VijqBof(Y8′w!FId1gLQ “%1″
oraz w
HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Open\command
Domyślny REG_SZ “C:\Program Files\Microsoft Office\Office14\EXCEL.EXE”
command REG_MULIT_SZ ykG^V5!!!!!!!!!MKKSkEXCELFiles>VijqBof(Y8′w!FId1gLQ “%1″
oraz zmienić nazwy kluczy
HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\ddeexec na HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\ddeexec_backup
oraz
HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Open\ddeexec na HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Open\ddeexec_backup
Komentarze są wyłączone
postmap /etc/postfix/virtual.cf
/etc/init.d/postfix reload
Komentarze są wyłączone
Example 5-4 Declaring Collections with %TYPE
DECLARE
TYPE few_depts IS VARRAY(10) OF VARCHAR2(30);
TYPE many_depts IS VARRAY(100) OF VARCHAR2(64);
some_depts few_depts;
/* If the type of some_depts changes from few_depts to many_depts,
local_depts and global_depts will use the same type
when this block is recompiled */
local_depts some_depts%TYPE;
global_depts some_depts%TYPE;
BEGIN
NULL;
END;
/
Komentarze są wyłączone
ORA-00054: resource busy and acquire with NOWAIT specified
po zerwaniu sesji – nie można zrobić drop table
aby sprawdzić jaka sesja trzyma:
SELECT * FROM DBA_DML_LOCKS;
szczegóły w kolumnie LOCK_ID1:
SELECT * FROM DBA_LOCK_INTERNAL;
źródła:
http://www.dba-oracle.com/t_ora_00054_locks.htm
Komentarze są wyłączone
DECLARE
CURSOR C1 IS SELECT ST_ID_OPISOWY_KROTKI, TP_ID_OPISOWY_KROTKI
FROM STW.SRODKI_TRWALE;
BEGIN
FOR rekord1 IN C1 LOOP
Dbms_Output.put_line(rekord1.ST_ID_OPISOWY_KROTKI);
END LOOP;
END;
/
Komentarze są wyłączone
:%s/\r/\r/g - zastąpienie ^M znakiem nowej linii
- Convert from dos/unix to dos
To convert the current file from any mixture of CRLF/LF-only line endings, so all lines end with CRLF only:
:update |
Save any changes. |
:e ++ff=dos |
Edit file again, using dos file format ('fileformats' is ignored).[A 1] |
:w |
Write buffer using dos (CRLF) line endings. |
http://vim.wikia.com/wiki/File_format
Komentarze są wyłączone