New session in new sql file

Hello,
I wonder it is possible to create new session while opening new sql file. (like in pl/sql developer).
Many thanks
klenikk

Hi klenikk,
I do not think starting a new connection with each sql file is possible.
The following may be useful to work around this issue:
1/Have different connection names with the same username password, which can then
be selected in the connection pull down menu.
2/The sqlplus connect keyword will create a new connection. connect scott/tiger@tnsnames_entry
3/Ctrl shift n - creates a new worksheet with a cloned separate connection/new session.
4/To execute a script try @/path/to/file.sql
(There is also tools->preferences->database->worksheet->Select default path to look for scripts (so you can go @file.sql))
You could check the enhancement requests section - and add your request there (or comment on an existing request if this request is already there).
-Turloch
SQLDeveloper Team

Similar Messages

  • When i close window with multiple tabs angd start new session (open new window) old tabs open again, how can i stop it?

    when i close window with multiple tabs and start new session (open new window) old tabs open again, how can i stop it?

    It is possible that there is a problem with the files [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    Delete [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.
    Deleting sessionstore.js will cause App Tabs and Tab Groups to get lost, so you will have to create them again (make a note).
    See:
    * http://kb.mozillazine.org/Session_Restore

  • How do i create a new table from a *.sql file in JSP

    <html>
    <%@ page language="java" import="java.sql.*" %>
    <%@ page errorPage="ExceptionHandler.jsp" %>
    <%
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    String dbUrl = "jdbc:mysql://localhost/test?user=root";
    Connection conn = DriverManager.getConnection(dbUrl);
    Statement stmt = conn.createStatement();
    stmt.executeUpdate("\\. addresses.sql");
    %>
    how would i create a table from the addresses.sql file?

    stmt.executeUpdate("\\. addresses.sql");This, of course, will not work.
    You might even execute it the same way you do from command line with some Runtime.exec() jugglery but I would suggest you to work with my first suggestion unless someone else came up with something better.

  • Can not open new Session

    Dear Expert,
    I have problem with my SAP system (ECC 6.00). When I want to create a new session, I got message
    No Connect to Database, Session Terminated
    I have checked my database and it's ok.....
    Regards,
    MAL

    Dear Expert,
    I use Oracle 10. My OS is Windows server 2003 R2 Enterprise Edition SP2. I can not create new session from SAP GUI.. I Use SAP GUI 7.10 Patch 7. (I get the message when i try to create a new session, even to export file i get this error)
    And below is my trans.log
    4 ETW000 r3trans version 6.14 (release 700 - 15.06.07 - 15:50:00).
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 21.04.2008 - 11:30:08
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: r3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Mon Apr 21 11:30:08 2008                               0  0.000000
    4 ETW000  [dev trc     ,00000]  db_con_init called                                     0  0.000000
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                              0  0.000000
    4 ETW000  [dev trc     ,00000]  Loading DB library 'dboraslib.dll' ...                 0  0.000000
    4 ETW000  [dev trc     ,00000]  load shared library (dboraslib.dll), hdl 0          5601  0.005601
    4 ETW000  [dev trc     ,00000]      using "G:\usr\sap\JMP\sys\exe\run\dboraslib.dll"
    4 ETW000                                                                              19  0.005620
    4 ETW000  [dev trc     ,00000]  Library 'dboraslib.dll' loaded                         8  0.005628
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library dboraslib.dll
    4 ETW000                                                                              14  0.005642
    4 ETW000  [dev trc     ,00000]  Version of 'dboraslib.dll' is "700.08", patchlevel (0.107)
    4 ETW000                                                                              87  0.005729
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library dboraslib.dll
    4 ETW000                                                                              14  0.005743
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library dboraslib.dll
    4 ETW000                                                                              23  0.005766
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              15  0.005781
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              18  0.005799
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         13  0.005812
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              13  0.005825
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              15  0.005840
    4 ETW000  [dev trc     ,00000]  Prepending G:\usr\sap\JMP\sys\exe\run to Path.       141  0.005981
    4 ETW000  [dev trc     ,00000]  Oracle Client Version: '10.2.0.1.0'                22225  0.028206
    4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         20  0.028226
    4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.WE8DEC        2032  0.030258
    4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPJMR3's password          15  0.030273
    4 ETW000  [dev trc     ,00000]  Connecting as /@JMP on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    4 ETW000                                                                              21  0.030294
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              17  0.030311
    4 ETW000  [dev trc     ,00000]    0 WE8DEC                                                    1   02655DF0   0037F9C4   0037F24C
    4 ETW000                                                                              16  0.030327
    4 ETW000  [dev trc     ,00000]  Allocating service context handle for con_hdl=0       16  0.030343
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      14  0.030357
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server JMP (con_hdl=0,svchp=0037F198,srvhp=0265E57C)
    4 ETW000                                                                             100  0.030457
    4 ETW000  [dev trc     ,00000]  Assigning server context 0265E57C to service context 0037F198
    4 ETW000                                                                           29566  0.060023
    4 ETW000  [dev trc     ,00000]  Allocating user session handle                        18  0.060041
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=0037F198,srvhp=0265E57C,usrhp=026A9E78)
    4 ETW000                                                                              30  0.060071
    4 ETW000  [dev trc     ,00000]  Assigning user session 026A9E78 to service context 0037F198
    4 ETW000                                                                           31084  0.091155
    4 ETW000  [dev trc     ,00000]         BEGIN DBMS_APPLICATION_INFO.SET_MODULE (:A0, :A1); END;                                                                  
    4 ETW000                                                                              36  0.091191
    4 ETW000  [dev trc     ,00000]         BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO (:A0); END;                                                                  
    4 ETW000                                                                              43  0.091234
    4 ETW000  [dev trc     ,00000]  Now '/@JMP' is connected (con_hdl 0, nls_hdl 0).
    4 ETW000                                                                             433  0.091667
    4 ETW000  [dev trc     ,00000]         ALTER SESSION SET NLS_SORT = BINARY                                                                               
    4 ETW000                                                                              28  0.091695
    4 ETW000  [dev trc     ,00000]         SELECT USERID, PASSWD FROM SAPUSER WHERE USERID IN (:A0, :A1)                                                            
    4 ETW000                                                                             243  0.091938
    4 ETW000  [dev trc     ,00000]  Got SAPJMR3's password from OPS$-user                473  0.092411
    4 ETW000  [dev trc     ,00000]  Disconnecting from connection 0 ...                   11  0.092422
    4 ETW000  [dev trc     ,00000]  Rolling back transaction ...                          15  0.092437
    4 ETW000  [dev trc     ,00000]  Closing user session (con_hdl=0,svchp=0037F198,usrhp=026A9E78)
    4 ETW000                                                                             121  0.092558
    4 ETW000  [dev trc     ,00000]  Now I'm disconnected from ORACLE                     338  0.092896
    4 ETW000  [dev trc     ,00000]  Connecting as SAPJMR3/<pwd>@JMP on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
    4 ETW000                                                                              16  0.092912
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              15  0.092927
    4 ETW000  [dev trc     ,00000]    0 WE8DEC                                                    1   02655DF0   0037F9C4   0037F24C
    4 ETW000                                                                              16  0.092943
    4 ETW000  [dev trc     ,00000]  Assigning username to user session 026A9E78            9  0.092952
    4 ETW000  [dev trc     ,00000]  Assigning password to user session 026A9E78           11  0.092963
    4 ETW000  [dev trc     ,00000]  Starting user session (con_hdl=0,svchp=0037F198,srvhp=0265E57C,usrhp=026A9E78)
    4 ETW000                                                                              14  0.092977
    4 ETW000  [dev trc     ,00000]  Assigning user session 026A9E78 to service context 0037F198
    4 ETW000                                                                           19690  0.112667
    4 ETW000  [dev trc     ,00000]         BEGIN DBMS_APPLICATION_INFO.SET_MODULE (:A0, :A1); END;                                                                  
    4 ETW000                                                                              35  0.112702
    4 ETW000  [dev trc     ,00000]         BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO (:A0); END;                                                                  
    4 ETW000                                                                              25  0.112727
    4 ETW000  [dev trc     ,00000]  Now 'SAPJMR3/<pwd>@JMP' is connected (con_hdl 0, nls_hdl 0).
    4 ETW000                                                                             296  0.113023
    4 ETW000  [dev trc     ,00000]         ALTER SESSION SET NLS_SORT = BINARY                                                                               
    4 ETW000                                                                              19  0.113042
    4 ETW000  [dev trc     ,00000]         SELECT VALUE FROM V$NLS_PARAMETERS WHERE PARAMETER IN ('NLS_LANGUAGE', 'NLS_TERRITORY', 'NLS_CHARACTERSET') ORDER BY PARAM
    4 ETW000                                                                             213  0.113255
    4 ETW000  [dev trc     ,00000]         ETER                                                                               
    4 ETW000                                                                              15  0.113270
    4 ETW000  [dev trc     ,00000]  Database NLS settings: AMERICAN_AMERICA.WE8DEC       245  0.113515
    4 ETW000  [dev trc     ,00000]         SELECT UPPER(INSTANCE_NAME),HOST_NAME,VERSION,TO_CHAR(STARTUP_TIME,'MON DD, YYYY, HH24:MI:SS') FROM V$INSTANCE           
    4 ETW000                                                                              24  0.113539
    4 ETW000  [dev trc     ,00000]  DB instance JMP is running on JMSAP04 with ORACLE version 10.2.0.2.0 since MAR 31, 2008, 07:51:48
    4 ETW000                                                                             284  0.113823
    4 ETW000  [dev trc     ,00000]         SELECT SUBSTR(NAME,1,3), TO_CHAR(CREATED,'YYYYMMDDHHMMSS') FROM V$DATABASE                                               
    4 ETW000                                                                              19  0.113842
    4 ETW000  [dev trc     ,00000]  Connection 0 opened (DBSL handle 0)                 1431  0.115273
    4 ETW000  [dev trc     ,00000]         SELECT VERSION FROM SVERS                                                                               
    4 ETW000                                                                            3789  0.119062
    4 ETW000  [dev trc     ,00000]         SELECT COMPCNT FROM "DDNTT"                                                                               
    4 ETW000                                                                             369  0.119431
    4 ETW000  [dev trc     ,00000]  NTAB: Structure of NTAB on DB is VERS_B              199  0.119630
    4 ETW000  [dev trc     ,00000]  NTAB: standalone processing                           27  0.119657
    4 ETW000  [dev trc     ,00000]  NTAB: read profile                                     9  0.119666
    4 ETW000  [dev trc     ,00000]  NTAB: rsdb/ntab/entrycount 1000.                       8  0.119674
    4 ETW000  [dev trc     ,00000]  NTAB: rsdb/ntab/ftabsize 500.                          8  0.119682
    4 ETW000  [dev trc     ,00000]  NTAB: rsdb/ntab/irbdsize 100.                          7  0.119689
    4 ETW000  [dev trc     ,00000]  NTAB: rsdb/ntab/sntabsize 100.                         8  0.119697
    4 ETW000  [dev trc     ,00000]  NTAB: compute_hash_card: 2003.                        12  0.119709
    4 ETW000  [dev trc     ,00000]  NTAB: maxcnt 1000.                                    18  0.119727
    4 ETW000  [dev trc     ,00000]  NTAB: hfactor 2003.                                    7  0.119734
    4 ETW000  [dev trc     ,00000]  NTAB: mem_protocol_size 104                            7  0.119741
    4 ETW000  [dev trc     ,00000]  NTAB: hdr_backpack_offset 0                            8  0.119749
    4 ETW000  [dev trc     ,00000]  NTAB: hdr_backpack_size 0                             11  0.119760
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: header_size 44.                            8  0.119768
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: item_size 36.                              8  0.119776
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: item_cnt 1000.                             8  0.119784
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: unit_size 4                                8  0.119792
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: unit_cnt 128000.                           8  0.119800
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: data_size 512000.                          8  0.119808
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: header_size 44.                            7  0.119815
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: item_size 36.                              8  0.119823
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: item_cnt 250.                              8  0.119831
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: unit_size 8                                7  0.119838
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: unit_cnt 12800.                            8  0.119846
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: data_size 102400.                          8  0.119854
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: header_size 44.                            8  0.119862
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: item_size 36.                              7  0.119869
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: item_cnt 250.                              8  0.119877
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: unit_size 4                                7  0.119884
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: unit_cnt 25600.                            8  0.119892
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: data_size 102400.                          8  0.119900
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: header_size 148.                           8  0.119908
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: item_size 24.                              8  0.119916
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: item_cnt 1000.                             7  0.119923
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: unit_size 152                              8  0.119931
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: unit_cnt 1000.                             8  0.119939
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: data_size 152000.                          8  0.119947
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: hh_p 266e5e8, hh_len 44                  592  0.120539
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: aa_p 3a836a0, aa_len 8012                 10  0.120549
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: ia_p 3a855f8, ia_len 36000                 9  0.120558
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: dat_p 3a90008, dat_len 512000              8  0.120566
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: hh_p 267ef10, hh_len 44                    9  0.120575
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: aa_p 26aa1b8, aa_len 8012                  8  0.120583
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: ia_p 3b0d010, ia_len 9000                  8  0.120591
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: dat_p 3b0f340, dat_len 102400              8  0.120599
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: hh_p 266e978, hh_len 44                    9  0.120608
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: aa_p 3b28348, aa_len 8012                  8  0.120616
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: ia_p 3b2a2a0, ia_len 9000                  8  0.120624
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: dat_p 3b2c5d0, dat_len 102400              8  0.120632
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: hh_p 2698f60, hh_len 148                   8  0.120640
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: aa_p 3b455d8, aa_len 8012                  9  0.120649
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: ia_p 3b47530, ia_len 24000                 8  0.120657
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: dat_p 3b4d2f8, dat_len 152000              8  0.120665
    4 ETW000  [dev trc     ,00000]  NTAB: ntab_mem_protocol 2698f60, ntab_mp_p 2698f60, ntab_proc_id 0
    4 ETW000                                                                              84  0.120749
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: hh_p 266e5e8, ha_list 3a836a0, hi_list 3a855f8, buffer 3a90008
    4 ETW000                                                                              41  0.120790
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: hh_p 267ef10, ha_list 26aa1b8, hi_list 3b0d010, buffer 3b0f340
    4 ETW000                                                                              14  0.120804
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: hh_p 266e978, ha_list 3b28348, hi_list 3b2a2a0, buffer 3b2c5d0
    4 ETW000                                                                              13  0.120817
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: hh_p 2698fc8, ha_list 3b455d8, hi_list 3b47530, buffer 3b4d2f8
    4 ETW000                                                                              13  0.120830
    4 ETW000  [dev trc     ,00000]  NTAB: mem_handler: alloc for 500 elems, task 0, art 0
    4 ETW000                                                                              19  0.120849
    4 ETW000  [dev trc     ,00000]  NTAB: mem_handler: alloc for 500 elems, task 0, art 1
    4 ETW000                                                                              22  0.120871
    4 ETW000  [dev trc     ,00000]  NTAB: mem_handler: alloc for 500 elems, task 0, art 2
    4 ETW000                                                                              22  0.120893
    4 ETW000  [dev trc     ,00000]  NTAB: mem_handler: alloc for 500 elems, task 0, art 3
    4 ETW000                                                                              20  0.120913
    4 ETW000  [dev trc     ,00000]         SELECT TABNAME, BLOCKNR, FIELDSLG, FIELDS FROM "DDNTF" WHERE TABNAME = :A0 ORDER BY TABNAME, BLOCKNR                     
    4 ETW000                                                                              57  0.120970
    4 ETW000  [twdydbacc.c ,00565]  i:0                                                  421  0.121391
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       PGMID                         10  0.121401
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      1                              7  0.121408
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      0                              6  0.121414
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   4                              7  0.121421
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:4                             20  0.121441
    4 ETW000  [twdydbacc.c ,00565]  i:1                                                    8  0.121449
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       OBJECT                         7  0.121456
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      1                              7  0.121463
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      4                              6  0.121469
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   4                              7  0.121476
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:4                              6  0.121482
    4 ETW000  [twdydbacc.c ,00565]  i:2                                                    7  0.121489
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       OBJ_NAME                       7  0.121496
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      1                              6  0.121502
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      8                              7  0.121509
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   40                             6  0.121515
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:40                             7  0.121522
    4 ETW000  [twdydbacc.c ,00565]  i:3                                                    7  0.121529
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       KORRNUM                        7  0.121536
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      0                              9  0.121545
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      48                             7  0.121552
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   10                             6  0.121558
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:10                             6  0.121564
    4 ETW000  [twdydbacc.c ,00565]  i:4                                                    8  0.121572
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       SRCSYSTEM                      7  0.121579
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      0                              6  0.121585
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      58                             7  0.121592
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   10                             6  0.121598
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:10                             6  0.121604
    4 ETW000  [twdydbacc.c ,00565]  i:5                                                    7  0.121611
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       AUTHOR                         7  0.121618
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      0                              6  0.121624
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      68                             7  0.121631
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   12                             6  0.121637
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:12                             7  0.121644
    4 ETW000  [twdydbacc.c ,00565]  i:6                                                    7  0.121651
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       SRCDEP                         7  0.121658
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      0                              6  0.121664
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      80                             6  0.121670
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   1                              7  0.121677
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:1                              6  0.121683
    4 ETW000  [twdydbacc.c ,00565]  i:7                                                    7  0.121690
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       DEVCLASS                       7  0.121697
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      0                              6  0.121703
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      81                             7  0.121710
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   30                             6  0.121716
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:30                             7  0.121723
    4 ETW000  [twdydbacc.c ,00565]  i:8                                                    7  0.121730
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       GENFLAG                        7  0.121737
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      0                              6  0.121743
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      111                            6  0.121749
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   1                              7  0.121756
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:1                              6  0.121762
    4 ETW000  [twdydbacc.c ,00565]  i:9                                                    7  0.121769
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       EDTFLAG                        7  0.121776
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      0                              6  0.121782
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      112                            7  0.121789
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   1                              6  0.121795
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:1                              7  0.121802
    4 ETW000  [twdydbacc.c ,00565]  i:10                                                   7  0.121809
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       CPROJECT                       9  0.121818
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      0                              6  0.121824
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      113                            7  0.121831
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   8                              6  0.121837
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:8                              6  0.121843
    4 ETW000  [twdydbacc.c ,00565]  i:11                                                   8  0.121851
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       MASTERLANG                     6  0.121857
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      0                              7  0.121864
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      121                            7  0.121871
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   1                              6  0.121877
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:1                              6  0.121883
    4 ETW000  [twdydbacc.c ,00565]  i:12                                                   8  0.121891
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       VERSID                         7  0.121898
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      0                              6  0.121904
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      122                            6  0.121910
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   20                             7  0.121917
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:20                             6  0.121923
    4 ETW000  [twdydbacc.c ,00565]  i:13                                                   8  0.121931
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       PAKNOCHECK                     7  0.121938
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      0                              6  0.121944
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      142                            7  0.121951
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   1                              6  0.121957
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:1                              6  0.121963
    4 ETW000  [twdydbacc.c ,00565]  i:14                                                   8  0.121971
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       OBJSTABLTY                     7  0.121978
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      0                              6  0.121984
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      143                            7  0.121991
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   1                              6  0.121997
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:1                              6  0.122003
    4 ETW000  [twdydbacc.c ,00565]  i:15                                                   8  0.122011
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       COMPONENT                      7  0.122018
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      0                              6  0.122024
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      144                            7  0.122031
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   30                             6  0.122037
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:30                             6  0.122043
    4 ETW000  [twdydbacc.c ,00565]  i:16                                                   8  0.122051
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       CRELEASE                       7  0.122058
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      0                              6  0.122064
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      174                            7  0.122071
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   10                             6  0.122077
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:10                             7  0.122084
    4 ETW000  [twdydbacc.c ,00565]  i:17                                                   9  0.122093
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       DELFLAG                        7  0.122100
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      0                              6  0.122106
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      184                            7  0.122113
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   1                              6  0.122119
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:1                              7  0.122126
    4 ETW000  [twdydbacc.c ,00565]  i:18                                                   8  0.122134
    4 ETW000  [twdydbacc.c ,00566]  db_fd_p<i>.fname:       TRANSLTTXT                     6  0.122140
    4 ETW000  [twdydbacc.c ,00567]  db_fd_p<i>.is_key:      0                              7  0.122147
    4 ETW000  [twdydbacc.c ,00568]  db_fd_p<i>.offset:      185                            6  0.122153
    4 ETW000  [twdydbacc.c ,00569]  db_fd_p<i>.db_length:   1                              7  0.122160
    4 ETW000  [twdydbacc.c ,00570]  db_fd_p<i>.fixed_length:1                              6  0.122166
    4 ETW000  [dev trc     ,00000]         SELECT VERSION, UUID, CRTIMESTMP, ABTIMESTMP, DYTIMESTMP, FLDCNT, TABLENGTH, KEYCNT, KEYLENGTH, CLIENTPOS, TABTYPE, TABFOR
    4 ETW000                                                                              31  0.122197
    4 ETW000  [dev trc     ,00000]         M, REFNAME, HFLAG, BUFSTATE, BUFPARM, ALIGN, POINTERLG, UNICODELG, COMPCNT, LEAFCNT FROM "DDNTT" WHERE TABNAME = :A0     
    4 ETW000                                                                              15  0.122212
    4 ETW000  [twdydbacc.c ,00713]  buffer:'g CRIPTION = (SDU = 32768) (ADDRESS_LIST = (ADDRESS = (COMMUNITY = SAP.WORLD) (PROTOCOL = TCP) (HOST = jmsap04) (PORT = 1527))) (CONNECT_DATA = (SID = JMP) (GLOBAL_NAME = JMP.WORLD)))'
    4 ETW000                                                                             321  0.122533
    4 ETW000  [twdydbacc.c ,00718]  i:0                                                    7  0.122540
    4 ETW000  [twdydbacc.c ,00719]  tw_fd_p<i>.offset:0                                    6  0.122546
    4 ETW000  [twdydbacc.c ,00718]  i:1                                                    6  0.122552
    4 ETW000  [twdydbacc.c ,00719]  tw_fd_p<i>.offset:4                                    7  0.122559
    4 ETW000  [twdydbacc.c ,00718]  i:2                                                    6  0.122565
    4 ETW000  [twdydbacc.c ,00719]  tw_fd_p<i>.offset:8                                    6  0.122571
    4 ETW000  [dev trc     ,00000]  { db_rtab( fcode = 'RT_READ_ONLY', tname = 'TADIR' ) {twdbcall.c:648}
    4 ETW000                                                                              19  0.122590
    4 ETW000  [dev trc     ,00000]         SELECT * FROM "TADIR" WHERE "PGMID" = :A0 AND "OBJECT" = :A1 AND "OBJ_NAME" = :A2                                        
    4 ETW000                                                                              91  0.122681
    4 ETW000  [dev trc     ,00000]  } db_rtab( fcode = 'RT_READ_ONLY', retcode = 0 )
    4 ETW000                                                                             281  0.122962
    4 ETW000 Connected to DBMS = ORACLE --- dbs_ora_tnsname = 'JMP' --- SYSTEM = 'JMP'.
    4 ETW000  [dev trc     ,00000]  { db_rtab( fcode = 'RT_INSERT', tname = 'PATCHHIST' ) {saprel.c:1251}
    4 ETW000                                                                             179  0.123141
    4 ETW000  [dev trc     ,00000]         INSERT INTO "PATCHHIST" VALUES( :A0 , :A1 , :A2 , :A3 , :A4 , :A5 , :A6 , :A7 )                                          
    4 ETW000                                                                             309  0.123450
    4 ETW000  [dev trc     ,00000]  } db_rtab( fcode = 'RT_INSERT', retcode = 0 )        364  0.123814
    4 ETW000  [dev trc     ,00000]  dsql_open (con_da=(0,R/3),stmt="SELECT EXECUTABLE,SAPRELEASE,H ...",#binds=0,name=UNKNOWN,#input=0)
    4 ETW000                                                                              75  0.123889
    4 ETW000  [dev trc     ,00000]         SELECT EXECUTABLE,SAPRELEASE,HOSTNAME,PLATFORM,DBVENDOR,TIMESTAMP,PATCHNO,DBSLPATCHN FROM PATCHHIST WHERE EXECUTABLE = 'R3
    4 ETW000                                                                              36  0.123925
    4 ETW000  [dev trc     ,00000]         trans' AND TIMESTAMP = (SELECT MAX(TIMESTAMP) FROM PATCHHIST WHERE EXECUTABLE = 'R3trans' AND SAPRELEASE = '700' AND HOSTN
    4 ETW000                                                                              15  0.123940
    4 ETW000  [dev trc     ,00000]         AME = 'JMSAP04' AND PLATFORM = 'NT' AND DBVENDOR = 'ORA')                                                                
    4 ETW000                                                                              15  0.123955
    4 ETW000  [dev trc     ,00000]  dsql_fetch (con_da=(0,R/3),cu_id=0,#output=8)         17  0.123972
    4 ETW000  [dev trc     ,00000]  dsql_close (con_da=(0,R/3),cu_id=0)                  265  0.124237
    4 ETW000  [dev trc     ,00000]  { db_rtab( fcode = 'RT_DELETE', tname = 'PATCHHIST' ) {saprel.c:1359}
    4 ETW000                                                                              17  0.124254
    4 ETW000  [dev trc     ,00000]         DELETE FROM "PATCHHIST" WHERE "EXECUTABLE" = :A0 AND "SAPRELEASE" = :A1 AND "HOSTNAME" = :A2 AND "PLATFORM" = :A3 AND "DBV
    4 ETW000                                                                              31  0.124285
    4 ETW000  [dev trc     ,00000]         ENDOR" = :A4 AND "TIMESTAMP" = :A5                                                                               
    4 ETW000                                                                              15  0.124300
    4 ETW000  [dev trc     ,00000]  } db_rtab( fcode = 'RT_DELETE', retcode = 0 )        256  0.124556
    4 ETW690 COMMIT "0" "0"
    4 ETW000  [dev trc     ,00000]  db_con_commit (con_da={R/3,0,0},th_commit=1,tx=1,hold_cursor=0)
    4 ETW000                                                                              41  0.124597
    4 ETW000  trace to file pointer closed
    4 ETW000  trace at level 1 opened for a given file pointer
    4 ETW000
    4 ETW000 ================== STEP 1 =====================
    4 ETW000 date&time        : 21.04.2008 - 11:30:08
    4 ETW000 function         : CONNECT
    4 ETW000 buffersync       : YES
    4 ETW000 clients          : default
    4 ETW000 l.s.m.           : VECTOR
    4 ETW000 commit           : 100000
    4 ETW000 table cache      : dynamic
    4 ETW000
    4 ETW000  [dev trc     ,00000]  Disconnecting from ALL connections:                  113  0.000113
    4 ETW000  [dev trc     ,00000]  Disconnecting from connection 0 ...                   15  0.000128
    4 ETW000  [dev trc     ,00000]  Closing user session (con_hdl=0,svchp=0037F198,usrhp=026A9E78)
    4 ETW000                                                                             314  0.000442
    4 ETW000  [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=0037F198,srvhp=0265E57C)
    4 ETW000                                                                             405  0.000847
    4 ETW000  [dev trc     ,00000]  Now I'm disconnected from ORACLE                     361  0.001208
    4 ETW000  [dev trc     ,00000]  Disconnected from connection 0                        14  0.001222
    4 ETW000  [dev trc     ,00000]  statistics db_con_commit (com_total=1, com_tx=1)
    4 ETW000                                                                              13  0.001235
    4 ETW000  [dev trc     ,00000]  statistics db_con_rollback (roll_total=0, roll_tx=0)
    4 ETW000                                                                              11  0.001246
    4 ETW000 Disconnected from database.
    4 ETW000 End of Transport (0000).
    4 ETW000 date&time: 21.04.2008 - 11:30:08
    Regards,
    MAL
    MAL

  • Call transaction in new session not working inside CRM Interaction Center

    Hi Experts,
    I have developed a report which contains a screen with push button. When user clicks on button a  transaction (FPL9) is being called and opened in new session or window. But when the report is being called in CRM Interaction Center using transaction launcher and button is clicked no new session or new window is being opened. Our requirement is FPL9 transaction will be opened in new session / window inside Interaction Center also.
    Please help me how to open a new session or window  in interaction center on push botton click.
    Thanks in advance.
    Regards,
    Arnab

    Hi Anil..
    This is the Solution for ur Requirement.   try this program and change as per ur need.
    REPORT  ZSEL_CALL_TCODE.
    data : IT_KNA1 TYPE TABLE OF KNA1 WITH HEADER LINE.
    DATA : IT_SPA TYPE TABLE OF RFC_SPAGPA WITH HEADER LINE.
    SELECT * FROM KNA1 INTO TABLE IT_KNA1 .
    LOOP AT IT_KNA1 .
      WRITE:/ IT_KNA1-KUNNR HOTSPOT ON.
      HIDE IT_KNA1-KUNNR .
    ENDLOOP.
    CLEAR IT_KNA1-KUNNR.
    AT LINE-SELECTION.
    CASE SY-LSIND.
    WHEN 1.
    IF IT_KNA1-KUNNR IS NOT INITIAL.
    REFRESH IT_SPA.
    IT_SPA-PARID = 'KUN'.
    IT_SPA-PARVAL = IT_KNA1-KUNNR.
    APPEND IT_SPA.
      CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'S1'
        EXPORTING
          TCODE                         = 'XD02'
         SKIP_SCREEN                   = ' '
        MODE_VAL                      = 'A'
        UPDATE_VAL                    = 'A'
      IMPORTING
        SUBRC                         =
       TABLES
        USING_TAB                     =
         SPAGPA_TAB                    = IT_SPA
        MESS_TAB                      =
      EXCEPTIONS
        CALL_TRANSACTION_DENIED       = 1
        TCODE_INVALID                 = 2
        OTHERS                        = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      ENDIF.
    ENDCASE.
    <b>Reward if Helpful.</b>

  • Firefox now opens new tabs in new Firefox sessions. This is new behaviour and is a nuisance. How do I stop it?

    This may be a Windows problem or it may be a Firefox issue.
    I think it started when I installed updated Firefox to version 35.
    Firefox 35 is running in Windows 8.1 on a desktop.
    When I click a link in my Firefox browser, I've set FF to open new windows in a new tab instead.
    It doesn't.
    It opens a new window altogether that sits at the far end of my Windows task bar. If I have several tabs running, the taskbar displays the main program icon, which is pinned to the taskbar, and way over to the right it displays an icon that shows another session of Firefox. If there are three new sessions running, that icon on the right shows layers.
    To close Firefox, I have to select each session and close it individually.
    In the past, the Windows taskbar icon showed just one Firefox icon, although it would show layers if there was more than one tab open. Now it's showing the two as described above.
    This is a nuisance. Is it caused by Firefox 35, and if so, how do I stop it?

    Thanks, Fred. The settings checked under "Tabs" are Open new windows in a new tab instead, and When I open...switch to it immediately.
    Maybe I'm describing the problem incorrectly. Firefox is 'pinned' to my taskbar. When clicked, a second FF icon appears to the right and it is not pinned. It appears to be an entirely new session. New tabs open in it.
    My home page is a web page with links with the target=_blank attribute. When I click one a new session starts with two tabs in it, my home page and the page for the url I linked to. The attached image shows four FF sessions running, three of them with two tabs, resulting from clicking 3 links on my home page. Instead of one "unlit" icon and one "lit" icon with seven tabs shared between four sessions, there should be one icon, lit, with one session with four tabs.
    I think this started happening when FF upgraded to version 35, but it may have been when Windows 8.1 upgraded itself, if that happened recently. I've only noticed this behaviour for a few days; until then FF stayed in one session with multiple tabs, and only the pinned program icon showing in the task bar.
    This ONLY occurs with Firefox. My other browsers, IE 11, Opera 26 and Safari, just use the one pinned icon.

  • How to create a new session in JSP file

    Usually a child IE window uses same session with parent window. Dose someone know how to create a new session when creating a new IE window by clicking a URL in parent window? The web page is writen by jsp file.

    I am not sure of your question. Are you wanting to have 2 Session objects (one for the parent window and another for the child)?
    A session is usually created once per client and is stored on the server the session id is carried around in a cookie or a URL rewrite so that everytime the user submits a page you will be able to store/access information.
    // this will create a new session object if one doesn't already exist.
    HttpServletRequest.getSession( true );
    Hope this helps

  • SQL Server 2012 Management Studio:Importing XML file to new Table of new Database-XML parsing: unexpected end of input???

    Hi all,
    In the Notepad, I created an xml file (ZenQroducts.xml) :
    <Qroducts>
    <Qroduct>
    <SKU>1</SKU>
    <Desc>Book</Desc>
    </Qroduct>
    <Qroduct>
    <SKU>2</SKU>
    <Desc>DVD</Desc>
    </Qroduct>
    <Qroduct>
    <SKU>3</SKU>
    <Desc>Video</Desc>
    </Qroduct>
    In my SQL Server 2012 Management Studio, I executed the following code:
    --to create a new object Qroducts in a new database OPENXMLtesting
    CREATE DATABASE OPENXMLtesting
    GO
    CREATE TABLE Qroducts(
    sku INT Primary KEY,
    qroduct_desc VARCHAR(30));
    INSERT INTO Qroducts (sku, qroduct_desc)
    SELECT X.qroduct.query('SKU').value('.', 'INT'),
    X.qroduct.query('Desc').value('.', 'VARCHAR(30)')
    FROM (
    SELECT CAST(x AS XML)
    FROM OPENROWSET(
    BULK 'H:\ZenQroducts.xml',
    SINGLE_BLOB) AS T(x)
    ) AS T(x)
    CROSS APPLY x.nodes('Qroducts/Qroduct') AS X(qroduct);
    SELECT sku, qroduct_desc
    FROM Qroducts;
    I got the following message:
    Msg 9400, Level 16, State 1, Line 6
    XML parsing: line 13, character 12, unexpected end of input
    I have no ideas why I got this "XML parsing:line 13, character12, unexpected end of input" message. Please kindly help, advise me on where I made mistake and how I can resolve this problem, and respond in this Forum.
    Thanks in advance,
    Scott Chang
     

    Hi Manish, Thanks for your response.
    Yes, it is a duplicate with Qroducts/Qroduct instead of Products/Product. I did it, because I don't know how to remove the existing "Products" database.
    Again, I got the existing "Qroducts" database in this second trial!!??  I am comletely lost in doing "Importing XML file to SQL Table" now!!  I think that I have not touched T-SQL and XML programming, since 2008. I
    did not catch the new features of T-SQL 2008, XML, SQL/XML, XQuery, etc. for long time. Recently, I did not know what DECLARE, @x, SET,...were, and dived into the SQL/XML and XQuery programming. I knew the SQL Basics (SELECT, FROM, WHERE,..), creating
    the names of databases and tables in SQL Server 2008/2012 Management Studio (Express) before. This morning, I found an old T-SQL 2008 Prgrammer's Guide that has the new features of SQL Server 2008 for T-SQL, XML, XQuery, etc. I just starting reading
    it to know what DECLARE, @x, SET,... are. But, I still don't know where the existing databases "Products" and "Qroducts" (created by me) are - they are not in the Databases of SQL Server 2012 Management Studio I am using!!??  Could
    you please kindly point out where the "Products" and "Qroducts" databases are?
    Prashanth responded to my posted question too and he asked to to try his code: DECLARE @xml XML, SELECT @xml =' <Qroducts>.....SELECT product.value.....FROM @XML.nodes.....AS.... I just learned that his code is doing the thing we
    want to do and print the results below the SQL Query. This is not what I need in doing my SQL/XML programming. I am reading/studying the new (2008) features of T-SQL, XQuery 1.0: An XML Query Language (Second Edition), and Microsoft XQuery Language Reference
    (SQL Server 2012 Books Online) closely now. I hope that I can resume the T-SQL, XML Query, SQL/XML, XQuery in my SQL Server 2012 Management Studio soon.
    Please tell me  where the existing databases "Products" and "Qroducts" I created in my previous trials in my SQL Server 2012 Management Studio.  This is what I need to know and to delete them, before I do this kind of "Importing
    XML file to Table of SQL Server 2012 Management Studio"  programming again.
    Please kindly help, advise and respond again.
    Many Thanks,
    Scott Chang

  • Is it possible to open a new Worksheet without creating a new *.sql file

    Hello Community,
    Declaimer: It may be a trivial question. I just willing to make SQL Developer my default day to day tool.
    I is possible to open a new Worksheet without creating a new *.sql file. Like in an MS Word. If I just need some space to write something and than destroy the file without saying. I can quickly click < ctrl + N > and get the space.
    In SQL Developer to get a new "space"/work sheet i
    -a- < ctrl + N >
    -b- choose "SQL File"
    -c- confirm default location
    -d- choose the connection to be used (right top conner)
    This process is way to long for getting a new sheet to put write an SQL.
    Can you suggest a better way to get a workspace with current connection assigned in no time (like in MS Word)?
    Please ;)
    Yury

    There is no need to create new .sql file.
    I don't know why you need new SQL Worksheet when you can simply do the space by pressing Enter, but you can open a new one from Tools -> SQL Worksheet. There is also a toolbar button for this.

  • Scope of global & pl/sql variable in open_form with new session

    Hi,
    What will be the scope of the Oracle forms global variable & variable declared in a pl/sql pckage, if the value in these variable is updated from the Oracle Form GUI, if the form is opend by using the open_form method with new session or Active session.
    My requirement is , I developed one application with custom user login name & password - not the Oracle username & password.
    But I need to track the user actions on the forms - Inser/Update/Delete action, for this i included user_name as one of the column in the base table, and from the form, initialise this field with login user name.
    I implemented this in the trigger of the base table. But for delete, I am not getting the user name who deleted, only getting the user who created this record, because :NEW is not in scope for after delete trigger. So for the delte, I created a variabe in a PL/SQL package, and created two procedure to set & get the user name to that variable, and from the Form, before delete by using the set method I assign the current login user name to the variable, and in the trigger by using the get() get the user name from the variable, So far this is working fine, my doubt is What will be the value in the variable, if two different user made delete action from at a same time, Whether first user name will be replace with second one, or this variable will be in different session, If I opened the forms by using SESSION parameter. Also can I use Oralce Forms global varaible instead of the PL/SQL varibale.
    Thank in advance.

    Thanks Andreas,
    I did the same way. But my doubt is All the user login will be in different session, I mean, Whether the vairable used to store the user name will be in different session to each Oracle Forms user, it wont overwrite one user name with the next login user name.
    -- Copied from you old message:
    <<On the forms-side after the login, call PK_USER.PR_SET_USER(THE_USER_TAKEN_FROM_SOMEWHERE);
    In your db-triggers where you actually use something like USER, use PK_USER.FK_GET_USER instead>>
    Thanks
    Rizly

  • Can't create sql file from File | New

    Creating a new sql file from File | New seems to be permanently disabled. The New Gallery dialog displays
    "To enable this option, you must select a project or a file within a project in the Application Navigator."
    This is obviously a hangover from JDeveloper which isn't appropriate here.

    File -> New should bring up an editor by default. This will be fixed.

  • EA2 right click to open SQL file/opening file creates new connection

    EA2, win XP pro, sp2
    1. Right click to open an existing SQL file missing from the context menu.
    2. Even after I set my default path to look for scripts, it opens in Documents and Settings\USERID\Application Data\SQL Developer
    3. When I open a new file or script, it creates a new tab in which I have to pick the connection. In 1.2, it used the connection of the tab I was in. Am I missing a setting for this?

    1 I suspect the Open File item might be missing because it is integrated with version control and they have left that outUse the main toolbar / menubar Open. Ctrl-O also works.
    The local context menu "Open" was removed not due to version control but to reduce the clutter on worksheet's toolbar & menubar.
    Though it might have been convenient, I think when you get used to, you'll appreciate that we want to save the space for other really context sensitive menu's for worksheet.

  • Do we need run catbundle.sql file for new databases.

    dear all,
    i have doubt over execution of catbundle.sql or not?
    scenario:
    i have insatlled 10gr2 on rhel5 and applied patchset 4 (10.2.0.5) and applied Oracle® Database Patch 10248542 - 10.2.0.5.2 Patch Set Update
    after this i have create fresh database.
    now,
    in Oracle® Database Patch 10248542 - 10.2.0.5.2 Patch Set Update document it has specified in belwo section
    3.4 Post Installation Instructions for Databases Created or Upgraded after Installation of PSU 10.2.0.5.2 in the Oracle Home
    These instructions are for a database that is created or upgraded after the installation of PSU 10.2.0.5.2.
    You must execute the steps in Section 3.3.2, "Loading Modified SQL Files into the Database" for any new database only if it was created by any of the following methods:
    Using DBCA (Database Configuration Assistant) to select a sample database (General, Data Warehouse, Transaction Processing)
    Using a script that was created by DBCA that creates a database from a sample database
    Cloning a database that was created by either of the two preceding methods, and if the steps in Section 3.3.2, "Loading Modified SQL Files into the Database" were not executed after PSU 10.2.0.5.2 was applied
    Upgraded databases do not require any post-installation steps.
    so do we need to run catbundle here or not.
    since i have created fresh database after applying 10.2.0.5 PSU2 why does it required.
    opatch output:
    [oracle@RG615 ~]$ opatch lsinventory
    Invoking OPatch 10.2.0.5.1
    Oracle Interim Patch Installer version 10.2.0.5.1
    Copyright (c) 2010, Oracle Corporation. All rights reserved.
    Oracle Home : /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1
    Central Inventory : /prd/crm/swbcrmdb/usr/oracle/oraInventory
    from : /etc/oraInst.loc
    OPatch version : 10.2.0.5.1
    OUI version : 10.2.0.5.0
    OUI location : /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1/oui
    Log file location : /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2011-05-03_11-41-34AM.log
    Patch history file: /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt
    Lsinventory Output file location : /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2011-05-03_11-41-34AM.txt
    Installed Top-level Products (2):
    Oracle Database 10g 10.2.0.1.0
    Oracle Database 10g Release 2 Patch Set 4 10.2.0.5.0
    There are 2 products installed in this Oracle Home.
    Interim patches (1) :
    Patch 10248542 : applied on Tue May 03 07:32:29 BST 2011
    Unique Patch ID: 13292123
    Created on 25 Dec 2010, 23:11:24 hrs PST8PDT
    Bugs fixed:
    6402302, 9713537, 8350262, 9949948, 8394351, 10327179, 8546356, 9711859
    9714832, 9952230, 10248542, 8544696, 9963497, 9772888, 8664189, 10249537
    7519406, 9952270, 8277300, 9726739
    OPatch succeeded.

    Pl post the output of view DBA_REGISTRY_HISTORY - see MOS Doc 605795.1 (Introduction To Oracle Database catbundle.sql)
    Was the database created using DBCA or manually using scripts ?
    Srini

  • In a new session of firefox, the initial download of a file is slow

    In a new session of firefox, the first file downloaded on that session is slow to start. Almost like a pause before it bring up the where to save window. I have the "please ask me where to save" selected. Every subsequent download after the initial download, firefox brings up the where to save window quickly. Firefox 3.6.3.
    == This happened ==
    Every time Firefox opened

    The dialog you are referring to is a ''shell dialog''.
    The most likely reason for this to take a long time is that the default location is taking a long time to resolve, as can happen if it's a network location or if the default folder doesn't exist.
    To reset the download location, reset '''browser.download.dir''' in the advanced configuration interface:
    # Select Firefox's location bar (press CTRL+L or click it)
    # Type '''about:config''' and press enter
    # Click '''I'll be careful, I promise!'''
    # in the Filter box, type '''browser.download.dir'''
    # Right click the keyword.url preference below and choose '''Reset'''

  • SQL files open new SSMS instance

    I know there is already a thread on this but it is old. When ever I double click on a .sql file it opens a new instance of SSMS. This is annoying and not the behavior that I'd expect. When the new instance opens the file will be there BUT I get an error
    message, "There was a problem sending the command to the program."
    I'm running SQL Server 2012 SP1 on Windows 7. Does anybody have a modern fix for this issue?

    Hello,
    Please try the below procedure, but first backup the registry.
    Run regedit and go to the following key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ssms.sql.11.0\Shell\Open\Command
    Edit the default value to add "%1" to the end.
    The value should now look like the following:
    "c:\Program Files\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\ssms.exe" /dde "%1"
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

Maybe you are looking for

  • PO return Order with replacing of goods

    Hi For not compliant goods, usually we create a PO Return Order by flagging the check-box "Return" and the check-box "Free of charge" if we ask to vendor to replace the goods. Later we send the goods to the Vendor with MIGO and 161 movement-type. Som

  • PhotoShop CS6 - Lighting Effects Not showing

    I know the question sounds like the ones you get all the time but in PhotoShop cs6 I can access the filter>render>lighting effects but when I click the lighting effect tab nothing shows and when I watch a tutorial and people open filter>render>lighti

  • My "other" data level is over 7gb!

    I have an iPhone 4 (14GB total) that's storage space is beginning to max out. When I connect it to iTunes, it says that 7.1GB of the space is in "other". I added up all the apps and data values of the underlying apps in the Settings>General>Usage and

  • How can we insert image into mssql server  and retrive without path ?

    please give us detail coding

  • Auto level sound- what's happening!?

    Hi all- here's a curious thing: when I play a DVD with DVD Player the sound behaves as if there is somekind of 'auto-level' i.e. if there's a scene playing and a door slams, or someone claps their hands etc, the audio track goes very quiet and then c