DBMS_SQL. Bind_variable with nested and ORA-600 table
Hello, I am experimenting a bit with pl/sql and I tried to do some dynamic SQL using DBMS_SQL, but I'm having a problem when variable binding is an array of the neste (had no problem in the same example, if I link with a varchar2 variable).This is a reduction of the problem:
DECLARE
TYPE CENA_TYPE IS TABLE OF VARCHAR2(30);
CENA CENA_TYPE;
L_UPDATE_STMT VARCHAR2(2000);
UPDATE_CURSOR INTEGER:=DBMS_SQL.OPEN_CURSOR;
RES INTEGER;
BEGIN
CENA:=CENA_TYPE('HELLO');
L_UPDATE_STMT:= 'BEGIN '
||'DBMS_OUTPUT.PUT_LINE(:CENA(1));'
||'END;';
DBMS_SQL.PARSE(UPDATE_CURSOR, L_UPDATE_STMT ,DBMS_SQL.NATIVE);
DBMS_SQL.BIND_VARIABLE(UPDATE_CURSOR,':CENA',CENA);
RES:=DBMS_SQL.EXECUTE(UPDATE_CURSOR);
DBMS_SQL.CLOSE_CURSOR(UPDATE_CURSOR);
END;
/
What I am doing wrong?Thank you
Pedro_gloria wrote:
What I am doing wrong?
DBMS_SQL runs in the proper context. Therefore, even if the CENA_TYPE type is declared by calling anonymous block is unclear to the anonymous block, you need to perform in DBMS_SQL. Moreover, you must initialize and expand the collection. Use:
SQL> set serveroutput on
SQL> DECLARE
2 L_UPDATE_STMT VARCHAR2(2000);
3 UPDATE_CURSOR INTEGER:=DBMS_SQL.OPEN_CURSOR;
4 RES INTEGER;
5 BEGIN
6 L_UPDATE_STMT:= 'DECLARE
7 TYPE CENA_TYPE IS TABLE OF VARCHAR2(30);
8 CENA CENA_TYPE := CENA_TYPE();
9 BEGIN '
10 ||'CENA.extend;'
11 ||'CENA(1) := :1;'
12 ||'DBMS_OUTPUT.PUT_LINE(CENA(1));'
13 ||'END;';
14 DBMS_SQL.PARSE(UPDATE_CURSOR, L_UPDATE_STMT ,DBMS_SQL.NATIVE);
15 DBMS_SQL.BIND_VARIABLE(UPDATE_CURSOR,':1','Hello');
16 RES:=DBMS_SQL.EXECUTE(UPDATE_CURSOR);
17 DBMS_SQL.CLOSE_CURSOR(UPDATE_CURSOR);
18 END;
19 /
Hello
PL/SQL procedure successfully completed.
SQL>
SY.
Tags: Database
Similar Questions
-
PROBLEM WITH dba_scheduler_jobs and ora: 01882
I get this error when I run the following query on oracle 11g in GNU / linux Red hat.
Select * from dba_scheduler_jobs;
The error message itself turns out to be not very informative.
ORA: 01882, ' zone schedule region %s not found '.
But the other good thing is, if I run the query, it works.
Select t.owner, job_name, job_Action, state, schedule_type in dba_scheduler_jobs t
where at - it go wrong?This is mainly because certain zone data in the table of Planner.
It looks like you use the different client to connect to the database.
Try to use the same client as a server and check if the problem persists?
Otherwise we may have to patch it to work with different clients.
-
Generate the XML file with elements and attributes in table Oracle
Hello
I have the following table structure.
CREATE TABLE SPOOL
(
COIL_ID NUMBER (10),
COIL_NUMBER VARCHAR2 (40),
COIL_PO_OPERATING_UNIT VARCHAR2 (20).
COIL_PO_NUMBER VARCHAR2 (40),
MILL_NUMBER VARCHAR2 (2),
MILL_COIL_STATUS VARCHAR2 (15).
ITEM_NUMBER VARCHAR2 (40),
COIL_WEIGHT NUMBER (38),
WEIGHT_UOM VARCHAR2 (10),
DOCUMENT_NUMBER VARCHAR2 (40),
DATE OF DOCUMENT_DATE,
DOCUMENT_STATUS VARCHAR2 (15).
DOCUMENT_TYPE VARCHAR2 (20).
DOCUMENT_SOURCE VARCHAR2 (20).
TEST_ID NUMBER (38),
NUMBER VALUE,
TEST_UOM VARCHAR2 (20).
TEST_STATUS VARCHAR2 (70).
TESTER_LOGIN VARCHAR2 (20).
EQUIPMENT_CODE VARCHAR2 (50).
DOC_STS_MSG VARCHAR2 (600)
)
/
For each record COILID, there could be several folders baased on TEST_ID/VALUE/TEST_UOM etc.
And I would like to prepare the xml file in the following format by selecting data in the COIL?
<? XML version = "1.0"? >
-coil xsi: noNamespaceSchemaLocation = "www.tempel.com/COIL.xsd" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xdb = "http://xmlns.oracle.com/xdb" >
< CoilId > 1419532 < / CoilId >
< CoilNo > D2221050010A0 < / CoilNo >
Changzhou < CoilPOOperatingUnit > < / CoilPOOperatingUnit >
< CoilPONo > 4619 < / CoilPONo >
< MillNo > 86 < / MillNo >
Test of < MillCoilStatus > < / MillCoilStatus >
C5 050FP800 < ItemNo > < / ItemNo >
< weight > 7076 < / weight >
KILOGRAM of < GLU > < / UDM >
< DocumentNo > 0 < / DocumentNo >
< DocumentDate > 2013 - 01 - 11 < / DocumentDate >
< DocumentStatus > not < / DocumentStatus >
< DocumentType > test < / DocumentType >
CHIGMA1 < DocumentSource > < / DocumentSource >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4992" TestUnit = "mm" Status = 'NonProcessed' TestId = "135" / >
< test DocStsMsg = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.0128" TestUnit = "mm" Status = 'NonProcessed' TestId = "124" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "12" TestUnit = "mm" Status = 'NonProcessed' TestId = "125" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5095" TestUnit = "mm" Status = 'NonProcessed' TestId = "127" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5042" TestUnit = "mm" Status = 'NonProcessed' TestId = "128" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5058" TestUnit = "mm" Status = 'NonProcessed' TestId = "129" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4967" TestUnit = "mm" Status = 'NonProcessed' TestId = "130" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5049" TestUnit = "mm" Status = 'NonProcessed' TestId = "131" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4972" TestUnit = "mm" Status = 'NonProcessed' TestId = "132" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4960" TestUnit = "mm" Status = 'NonProcessed' TestId = "133" / >
< DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4996" TestUnit = "mm" Status = 'NonProcessed' TestId = "134" / >
< / reel >
Can you please guide me how to do it in a single query?
Thanks in advance.Function EXTRACT will force a print in your version:
SELECT XMLElement("Coil", XMLAttributes( 'http://www.w3.org/2001/XMLSchema-instance' as "xmlns:xsi" , 'www.tempel.com/COIL.xsd' as "xsi:noNamespaceSchemaLocation" ) , XMLForest( COIL_ID as "CoilId" , COIL_NUMBER as "CoilNo" , COIL_PO_OPERATING_UNIT as "CoilPOOperatingUnit" , COIL_PO_NUMBER as "CoilPONo" , MILL_NUMBER as "MillNo" , MILL_COIL_STATUS as "MillCoilStatus" , ITEM_NUMBER as "ItemNo" , COIL_WEIGHT as "Weight" , WEIGHT_UOM as "UOM" , DOCUMENT_NUMBER as "DocumentNo" , DOCUMENT_DATE as "DocumentDate" , DOCUMENT_STATUS as "DocumentStatus" , DOCUMENT_TYPE as "DocumentType" , DOCUMENT_SOURCE as "DocumentSource" ) , XMLAgg( XMLElement("Tests", XMLAttributes( DOC_STS_MSG as "DocStsMsg" , EQUIPMENT_CODE as "EquipmentCode" , TESTER_LOGIN as "TesterLogin" , VALUE as "Value" , TEST_UOM as "TestUnit" , TEST_STATUS as "Status" , TEST_ID as "TestId" ) ) ) ).extract('/*') FROM coil GROUP BY COIL_ID , COIL_NUMBER , COIL_PO_OPERATING_UNIT , COIL_PO_NUMBER , MILL_NUMBER , MILL_COIL_STATUS , ITEM_NUMBER , COIL_WEIGHT , WEIGHT_UOM , DOCUMENT_NUMBER , DOCUMENT_DATE , DOCUMENT_STATUS , DOCUMENT_TYPE , DOCUMENT_SOURCE ;
-
When the dbms_sql.bind_variable is used?
DB version: 11.2
I'm new kind of PL/SQL and I've never worked with DBMS_SQL. BIND_VARIABLE. Currently, I am going through some codes that we have that a lot of DBMS_SQL. BIND_VARIABLE.
Googling, I got to know the basic of its operation mechanism.
I have 2 questions.
1. Why do people use dbms_sql.bind_variable?
2. in our firm, it is being implemented to make many insertions as below.
The code is displayed as below (Snipped to show only the relevant parts)
No idea why the INSERT is in like that?
begin --- At first a CURSOR is formed . cursor YCURS select column1, column2, . . . from manh_parcel_hdr where .. ; typ_1 varchar2(35); typ_2 varchar2(35); --| Then a variable is created like below manh_parcel_hdr_item number; manh_parcel_hdr_item := dbms_sql.open_cursor; -- Then this INSERT is constructed dbms_sql.parse( manh_parcel_hdr_item, 'insert into manh_parcel_hdr_item ( sku_id, sku_type, .......) values ( :sku_id, :sku_type, ); typ_1 := ' '; typ_2 := ' '; for rec IN YCURS loop pltChanged_1 := 0; pltChanged_2 := 0; typ_1 := rec.ACCOUNTNO_2||rec.CURRENCYCODE_2; IF typ_1 != typ_2 THEN IF rec.ACCTTYPE_1 != rec.ACCTTYPE_2 ... some more conditions... rec.ACCTTYPE_1 := rec.ACCTTYPE_2; pltChanged_1 := 1; END IF; dbms_sql.bind_variable( manh_parcel_hdr_item,':ACCTTYPE', rec.ACCTTYPE_2 ); --- What is happening here ? ELSE dbms_sql.bind_variable( manh_parcel_hdr_item,':ACCTTYPE', ''); ---------> and here ? END IF; ... ..
Greeny wrote:
No idea why the INSERT is in like that?
My guess is to re - use the cursor INSERT handle - which is something that the PL/SQL optimizer will be done automatically.
A slider is like a program. Bind variable are as input data for this program. It works essentially as follows. You send the source SQL (with bind variable) to the SQL engine. For example
insert into footab values( :1, :2 )
This code is analyzed and a cursor is created. You return a SQL engine cursor handle. The integration program is ready to run.
You can now assign values to variables +: 1 + and +: 2 + this program. This is what we call liaison.
Once you have assigned to them, you can now run this program - and it inserts these values into the table.
Without releasing the program (closing the cursor), you can assign new values (bind) and run the program again to insert another line. And repeat this operation until you have all the data processed and inserted the required lines.
Last step is of course the release program.
And it is essentially in a few words what a slider is and how a cursor is used.
My guess is that your developer (s) did not want to encode an implicit cursor Insert in a loop - possibly think that each iteration of the loop will need to PL/SQL to create a cursor insert program, linking values to it, run it and close it. Then repeat the loop.
Thus, the developer manaually created the cursor using DBMS_SQL before the loop. And inside the loop, bind variables and run the slider. Providing this code reuses the same cursor insert again and again.
It is almost * correct approach in customer languages like C/C++, Java, PHP, Perl and so on.
However, it is not necessary in PL/SQL, as well as the optimizer recognizes what is done and how to make it optimally - create a cursor to the Insert SQL in this loop and re - use the handle to the cursor for each iteration of the loop.
The only real reason to use cursor DBMS_SQL in PL/SQL interface, is to treat dynamic SQL, a dynamic binding statements and dynamic recovery.
* The comment almost. The code is not really ideal. This bind-data and run cursor per loop iteration, it requires a 100 dregs and a cursor of 100 runs to insert a 100 lines. Sliders have a binding interface in bulk. This means that the code can bind a table - in other words, assign an array of 100 values of variable +: 1 + and a picture of a 100 variable values +: 2 +. The code then performs the cursor. Times. And cursor processes these bind tables and inserts a 100 lines.
For customers Java/Perl/etc., which reduced the number of round trips to the database. In PL/SQL, this is done using the FORALL statement and reduced the number of switches in context of the PL/SQL engine to the SQL engine.
-
Concerning the import and export of Table
Hi team,
My question is what is quick way to export and import the data in the table because most of the time I import and export data activate I usually
If data less than 10 hundreds I'll use sql developer only export to insert the . script
But my question if we lack 17 records dealing with import and export a table
Note:-If we do not have conditional sys.
Current version is using 9i and 10g
Thank you
Suman
Data pump works only on 10g:
ORACLE-BASE - Oracle Data Pump (expdp and impdp) in Oracle Database 10g
Have a look here for more options 'pre - 10 g':
Ask Tom & quot; export and import the best option to use in... & quot;
-
Record and Types of Table definition
Is there a good tutorial out there somewhere that provides good examples on how to define and work with recording and Types of Table? How to define and work with a complete file or table rather than just a variable?
For instance - I would like to create a cursor of records in a table, to loop through each record to examine the values of variables and in some cases, insert these entire records in another table.
Thanks in advance for your suggestions.Oracle documentation is excellent (lots of living examples can you cutNpaste) starting point.
http://download.Oracle.com/docs/CD/B10501_01/AppDev.920/a96624/05_colls.htm
Is there something specific you are looking for?
VR,
Sudhakar B. -
Hello. I have a problem of creating tables with nested tables.
After you have created a few types, I would create a table based on these, but I get
SQL error: ORA-00904: invalid identifier
+ 00904. 00000 - '% s: invalid identifier ' +.
over and over again. This is my SQL code:
1 create or replace TYPE t_indirizzo () AS OBJECT
via VARCHAR (45), 2
3 NUMBER,
4 cap INTEGER (5).
5 Città varchar (30),
6 provincia varchar (30),
region 7 varchar (30)
)
8 create or replace TYPE t_telefono () AS OBJECT
9 num_tel Number (15)
)
10 create or replace TYPE t_listaTelefono AS TABLE OF THE t_telefono
11 create or replace TYPE t_cliente () AS OBJECT
12 cod_cliente NUMBER (8).
13 address t_indirizzo,
14 email varchar (30),
Telefono 15 t_listaTelefono
(16) NOT FINAL
17 CREATE TABLE client (t_cliente)
18 cod_cliente NOT NULL,
19 address NOT NULL,
email 20 NOT NULL,
21 PRIMARY KEY (cod_cliente)
(22) TABLE IMBRIQUE 'telefono' STORE AS 'numTelCli_tab '.
23 RETURN VALUE
My version of Oracle is 10.2.0. Thank you in advance.
Published by: user11231503 on 2.35 giu-8-2009so, just to be sure, run this:
create or replace TYPE t_indirizzo AS OBJECT ( via VARCHAR(45), numero NUMBER, cap INTEGER(5), citta VARCHAR(30), provincia VARCHAR(30), regione VARCHAR(30) ); / create or replace TYPE t_telefono AS OBJECT ( num_tel NUMBER(15) ); / create or replace TYPE t_listaTelefono AS TABLE OF t_telefono / create or replace TYPE t_cliente AS OBJECT ( cod_cliente NUMBER(8), indirizzo t_indirizzo, email VARCHAR(30), telefono t_listaTelefono ) NOT FINAL; / CREATE TABLE cliente OF t_cliente( cod_cliente NOT NULL, indirizzo NOT NULL, email NOT NULL, PRIMARY KEY (cod_cliente) ) nested table telefono store as numTelCli_tab return as value /
-
Execute Immediate with DOF and TABLE() - error ORA-22905
Hello
I have a problem trying to use a user defined the Type of the Table in a statement Execute Immediate containing a CREATE TABLE statement.
Is there no work around for this problem?
The actual code for the SELECT * OF TABLE(:T) is dynamic and slow. That's why I try to avoid to create/fill the table in two steps (as does with MY_TABLE1). Also, in this case, I can't use SELECT * but must specify all the columns (amount variable and over 100 columns).
CREATE TYPE MY_TABLE_TYPE AS TABLE OF VARCHAR2(30); / DECLARE MT MY_TABLE_TYPE; BEGIN SELECT * BULK COLLECT INTO MT FROM DUAL; -- Two steps EXECUTE IMMEDIATE 'CREATE TABLE MY_TABLE1 (A VARCHAR2(30))'; EXECUTE IMMEDIATE 'INSERT INTO MY_TABLE1 SELECT * FROM TABLE(:T)' USING MT; -- OK -- One step EXECUTE IMMEDIATE 'CREATE TABLE MY_TABLE2 AS SELECT * FROM TABLE(:T)' USING MT; -- ERROR ORA-22905 END; /
byee
Andrea
In my view, the error message is incorrect or the less misleading. Bind variables cannot be used in DDL:
SQL > declare
2 number of v_var: = 99;
3. start
4 run immediately "' create the my_table2 in select table: double T" using v_var; "
5 end;
6.
declare
*
ERROR on line 1:
ORA-01027: bind variable not allowed for data definition operations
ORA-06512: at line 4 levelSQL >
What you could do is use the package variable:
SQL > CREATE OR REPLACE
2 PACKAGE PKG1
3 EAST
4 MT MY_TABLE_TYPE;
5 FUNCTION GET_MT
6 RETURN MY_TABLE_TYPE;
7 END;
8.Package created.
SQL > CREATE OR REPLACE
PACKAGE 2 BODY PKG1
3 EAST
4 GET_MT FUNCTION
5 RETURN MY_TABLE_TYPE
6 EAST
7. START
8 RETURN MT;
9 END;
10 END;
11.Package body created.
SQL > DROP TABLE MY_TABLE1 PURGE
2.Deleted table.
SQL > DROP TABLE MY_TABLE2 PURGE
2.
DROP TABLE MY_TABLE2 PURGE
*
ERROR on line 1:
ORA-00942: table or view does not existSQL > START
2. SELECT * BULK COLLECT INTO PKG1.MT FROM DUAL;
3 - two steps
4 RUN IMMEDIATELY "CREATE TABLE MY_TABLE1 (A VARCHAR2 (30))';"
5 IMMEDIATELY EXECUTE "INSERT INTO MY_TABLE1 SELECT * FROM TABLE (PKG1." GET_MT)';
6 - one step
7 IMMEDIATE EXECUTION "CREATE TABLE MY_TABLE2 AS SELECT * FROM TABLE (PKG1." GET_MT)';
8 END;
9.PL/SQL procedure successfully completed.
SQL > select * from my_table1;
A
------------------------------
XSQL > select * from my_table2;
COLUMN_VALUE
------------------------------
XSQL >
SY.
-
Hi all
Running the following:
Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
PL/SQL Release 11.2.0.2.0 - Production
"CORE 11.2.0.2.0 Production."
AMT for IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
Create a view of a relational table and XMLTABLE and extract nodes from voluminous of the xmltable, mapped text using COLUMNS. I concatenate the text nodes in an xml element in the XQuery xmltable, simple sequencing:
<CONTENT> {$i/summary/text(),$i/know/text(),$i/considerations/text(),$i/look_for/text(), $i/nc//text(),$i/level1//text(),$i/level2//text(),$i/ipocc//text()} </CONTENT>
SQLDeveloper query execution and right on when I scroll the 50th outcome accordingly set or... DB connection is closed and stack following error appears:
[ORA-00600: internal error code, arguments: [qmcxeExUseLoc93], [], [], [], [], [], [], [], [], [], []]
00600 00000 - "internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s] '.
* Cause: It's the generic internal error for Oracle program number
exceptions. This indicates that a process has encountered a
Exceptional condition.
* Action: Report as a bug - the first argument is the internal error number
I went site Oracle Support to use the 'search' for these types of errors, but he found nothing to the argument: "qmcxeExUseLoc93"... any ideas short of opening an SR with Oracle support? S/n reports that no problems with memory or tablespace... trace files report a stack trace is complete:
[ORA-00600: internal error code, arguments: [qmcxeExUseLoc93], [], [], [], [], [], [], [], [], [], []]
= Dump for incident 32114 (ORA 600 [qmcxeExUseLoc93]) =.
2014-04-08 07:31:51.369
dbkedDefDump(): from the default crash dumps (flags = 0x2, level = 3, mask = 0 x 0)
-Run SQL statement for the current session (sql_id = 0qn4zxr0stgjh).
SELECT ID, CONTENT of ort_active_content_en_vw
-Call trace stack memory-
call call entered the argument values in hex
location point type (? means dubious value)
-------------------- -------- -------------------- ----------------------------
skdstdst () + 40 bl 107ca 9980 FFFFFFFFFFD99A8? 000002004?
000000001? 000000003?
000000000? 000000002?
000000001? 000000000?
ksedst1 () + 104 call skdstdst() FFFFFFFFFFD89B0? 000002004?
110641000? 1098C 1164?
110641000? 000000000?
FFFFFFFFFFD8AE0? 700000007?
ksedst () + 40 call ksedst1() 3030000000000? 002050033?
1098C 1158? 700000000025C?
000000000? 000000000?
1098C07B8? 000000000?
dbkedDefDump (+ 2828) call ksedst() FFFFFFFFFFD8B90? 000000000?
000000000? 000000000?
000000000? 000000000?
000000000? 300000003?
…….
-Binary stack dump-
= FRAME [1] (skdstdst () + 40 - > 107ca 9980) =.
defined by pointers frame 0xffffffffffd88b0 and 0xffffffffffd8840
CALL TYPE: bl ERROR REPORTED: no COMPONENT: (null)
0xffffffffffd8840 to 0xffffffffffd88b0 memory dump
FFFFFFFFFFD8840 0FFFFFFF FFFD88B0 42422220 098C 1158 [...] BB '... X]
08EBE70C FFFFFFFFFFD8850 00000001 00000001 10641000 [... d..]
FFFFFFFFFFD8860 00000000 00000000 0FFFFFFF FFFD89E8 [...]
FFFFFFFFFFD8870 0FFFFFFF FFFD99A8 00000000 00002004 [...].
FFFFFFFFFFD8880 00000003 00000000 00000000 00000001 [...]
FFFFFFFFFFD8890 00000000 00000000 00000000 00000002 [...]
FFFFFFFFFFD88A0 00000000 00000001 00000000 00000000 [...]
= SETTING [2] (ksedst1 () + 104-> skdstdst()) =.
defined by pointers frame 0xffffffffffd89b0 and 0xffffffffffd88b0
TYPE of CALL: call ERROR REPORTED: no COMPONENT: KSE
0xffffffffffd88b0 to 0xffffffffffd89b0 memory dump
FFFFFFFFFFD88B0 0FFFFFFF FFFD89B0 42422220 10317 68 A... 1zh BB"]
FFFFFFFFFFD88C0 1033F758 00000001 00000001 0014963C [... <...] 3.X]
FFFFFFFFFFD88D0 09ED0CA9 1873F04F 28422848 73743231... Sagna (B (Hst21]
FFFFFFFFFFD88E0 0FFFFFFF FFFD89B0 00000000 00002004 [...].
FFFFFFFFFFD88F0 00000001 00000001 10641000 098C 1164 [... d...d]
FFFFFFFFFFD8900 00000001 10641000 00000000 00000000 [... d...]
……
-Status of the Dump process (2).
===================================================
STATE OF THE PROCESS
-------------
Global information process:
process: 0x700000012b18de8, call: 0x70000000b880ee0, xact: 0x0, curses: 0x700000012bf11f0, usrses: 0x700000012bf11f0
in_exception_handler: no
----------------------------------------
SO: 0x700000012b18de8, type: 2, owner: 0x0, flag: INIT /-/-/ 0x00 if: 0 x 3 c: 0 x 3
proc = 0x700000012b18de8, name = process, queue = ksu.h LINE: 12451 ID:, pg = 0
(process) Oracle pid:42, ser:153, called heart/high: 0x70000000b880ee0/0x70000000b880ee0
flags: (0x0).
Flags2: (0 x 800), flags3: (0x0)
Intr error: call error 0,: 0, sess error: error of txn, 0, 0
queue intr: vacuum
ksudlp FALSE to the location: 0
(post info) last message received: 0 0 0
Last message received-card: no post
last process affect me: no
Last message sent: 0 0 26
Last message sent-map: ksa2.h LINE: 282 ID:ksasnd
last process posted by me: 6 1 700000012af9058
(info from latch) wait_event = 0 bits = 0
Process group: by DEFAULT, proc pseudo: 0x700000012b4db88
Info of the o/s: user: tst214, duration: UNKNOWN, ospid: 4370650
OSD pid Info: Unix process pid: 4370650, image: oracle@mldb2385
----------------------------------------
SO: 0x700000010430ba0, type: 10, owner: 0x700000012b18de8, flag: INIT /-/-/ 0x00 if: c: 0x1 0x1
proc = 0x700000012b18de8, name = FileOpenBlock, leader is ksfd.h LINE: 6337 ID:, pg = 0
(FOB) flags = 2050 fib = 700000010de3758 incno = 0 waiting for IO cnt = 0
fname=/tst214_01/oradata/TST214/temp01.dbf
FNO = 201 lblksz = 8192 fsiz = 36608
----------------------------------------
SO: 0 x 700000010430578, type: 10, owner: 0x700000012b18de8, flag: INIT /-/-/ 0x00 if: c: 0x1 0x1
proc = 0x700000012b18de8, name = FileOpenBlock, leader is ksfd.h LINE: 6337 ID:, pg = 0
(FOB) flags = 2050 fib = 700000010de2b40 incno = 0 waiting for IO cnt = 0
fname=/tst214_03/oradata/TST214/ort_data01.dbf
FNO = 6 lblksz = 8192 fsiz = 25600
----------------------------------------
SO: 0x70000001042ff38, type: 10, owner: 0x700000012b18de8, flag: INIT /-/-/ 0x00 if: c: 0x1 0x1
proc = 0x700000012b18de8, name = FileOpenBlock, leader is ksfd.h LINE: 6337 ID:, pg = 0
(FOB) flags = 2050 fib = 700000010de1310 incno = 0 waiting for IO cnt = 0
fname=/tst214_01/oradata/TST214/sysaux01.dbf
FNO = 2 lblksz = 8192 fsiz = 89600
----------------------------------------
SO: 0x70000001042f910, type: 10, owner: 0x700000012b18de8, flag: INIT /-/-/ 0x00 if: c: 0x1 0x1
proc = 0x700000012b18de8, name = FileOpenBlock, leader is ksfd.h LINE: 6337 ID:, pg = 0
(FOB) flags = 2050 fib = 700000010de0d10 incno = 0 waiting for IO cnt = 0
fname=/tst214_01/oradata/TST214/System01.dbf
FNO = 1 lblksz = 8192 fsiz = 96000
----------------------------------------
SO: 0x700000012bf11f0, type: 4, owner: 0x700000012b18de8, flag: INIT /-/-/ 0x00 if: 0 x 3 c: 0 x 3
proc = 0x700000012b18de8, name = session, lead = ksu.h LINE: 12459 ID:, pg = 0
(session) sid: 41 ser: 1263 trans: 0x0, creator: 0x700000012b18de8
indicators: (0 x 8000045) USR /-flags_idl: (0 x 1) BSY /-/ - /-/ - / -.
Flags2: (0 x 40008) - / -.
DID:, DID in the short term:
TXN branch: 0x0
Oct: 3, prv: 0, sql: 0x70000000c59dbd0, psql: 0x70000000b196c38, user: 73/ORT_READ
ksuxds FALSE to the location: 0
name of the service: the USERS of SYS$
Customer details:
Info of the o/s: user: norman.jonker, duration: unknown, ospid: 6224
machine: G4021165 program: SQL Developer
application name: SQL Developer, hash value = 1012150930
Battery active waiting:
No waiting; last waiting ended 2,617517 sec ago
Wait state:
fixed_waits = 0 flags = 0 x 21 limit = 0 x 0 /-1
History of waiting for session:
elapsed time of 2,617552 sec from last wait
0: waiting for 'direct path read '.
number = 0 x 6, first s/n = 0 x 2901, block cnt = 0 x 2
wait_id = 2222 seq_num = 2223 snap_id = 1
wait time: snap = 0,000035 s, exc = 0,000035 s, total s = 0,000035
wait time: max = infinite
wait charges: calls = 0 os = 0
After 0,029003 seconds time elapsed
1: expected "asynch descriptor resize.
#aio in circulation = 0 x 0, the current limit of aio = 0xc8, this capping aio = 0 x 145
wait_id = 2221 seq_num = 2222 snap_id = 1
wait time: snap = 0,000003 s, exc = 0,000003 s, total s = 0,000003
wait time: max = 307445734561 min 49sec
wait charges: calls = 0 os = 0
After 0,000710 seconds time elapsed
"2: expected ' SQL * Net message to client"
pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0
wait_id = 2220 seq_num = 2221 snap_id = 1
wait time: snap = 0,000005 dry, exc = 0,000005, total = 0,000005 sec
wait time: max = infinite
wait charges: calls = 0 os = 0
After 0,001452 seconds time elapsed
3: expected ' SQL * Net client message'
pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0
wait_id = 2219 seq_num = 2220 snap_id = 1
wait time: snap = 0,499033 s, exc = 0,499033 s, total s = 0,499033
wait time: max = infinite
wait charges: calls = 0 os = 0
After 0,000034 seconds time elapsed
"4: expected ' SQL * Net message to client"
pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0
wait_id = 2218 seq_num = 2219 snap_id = 1
wait time: snap = 0,000003 s, exc = 0,000003 s, total s = 0,000003
wait time: max = infinite
wait charges: calls = 0 os = 0
After 0,000048 seconds time elapsed
5: expected ' SQL * Net client message'
pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0
wait_id = 2217 seq_num = 2218 snap_id = 1
wait time: snap = 0,061319 s, exc = 0,061319 s, total s = 0,061319
wait time: max = infinite
wait charges: calls = 0 os = 0
After 0,000028 seconds time elapsed
"6: expected ' SQL * Net message to client"
pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0
wait_id = 2216 seq_num = snap_id 2217 = 1
wait time: snap = 0,000003 s, exc = 0,000003 s, total s = 0,000003
wait time: max = infinite
wait charges: calls = 0 os = 0
After 0,000048 seconds time elapsed
7: expected ' SQL * Net client message'
pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0
wait_id = 2215 seq_num = 2216 snap_id = 1
wait time: snap = 0,063435 s, exc = 0,063435 s, total s = 0,063435
wait time: max = infinite
wait charges: calls = 0 os = 0
After 0,000045 seconds time elapsed
"8: expected ' SQL * Net message to client"
pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0
wait_id = 2214 seq_num = 2215 snap_id = 1
wait time: snap = 0,000003 s, exc = 0,000003 s, total s = 0,000003
wait time: max = infinite
wait charges: calls = 0 os = 0
After 0,000070 seconds time elapsed
9: expected ' SQL * Net client message'
pilot-id = 0 x 54435000, #bytes = 0 x 1, = 0x0
wait_id = 2213 seq_num = 2214 snap_id = 1
wait time: snap = 0,060780 s, exc = 0,060780 s, total s = 0,060780
wait time: max = infinite
wait charges: calls = 0 os = 0
After 0,000030 seconds time elapsed
The Session history sampled session 1263 series 41
---------------------------------------------------
History of the sampled session is built by sampling
the session target all the 1 second. The sampling process
capture to each sample, if the session is in an active waiting.
a wait inactive, or not in a wait. If the session is in a
active wait interval then one is indicated for all samples
the session was in the same active waiting. If the
session is in an inactive waiting or not waiting for
consecutive samples then one interval is indicated for all
consecutive samples. If we post these consecutive
samples in a single interval session may NOT be permanently
inactive or not in a wait (the sampling process is unclear).
The history is displayed in reverse chronological order.
sampling interval: 1 s, max 120 sec history
---------------------------------------------------
[3 samples, 07:31:51 - 07: 31:53]
not waiting at each sample
[18 samples, 07:31:33 - 07: 31:50]
waiting in each sample slowed
[2 samples, 07:31:31 - 07: 31:32]
not waiting at each sample
[42 samples, 07:30:49 - 07:31:30]
waiting in each sample slowed
[4 biopsies, 07:30:45 - 07: 30:48]
not waiting at each sample
[7 samples, 07:30:38 - 07: 30:44]
waiting in each sample slowed
[sample 1, 07:30:37]
waited for ' SQL * Net break/reset for customer ', seq_num: 1149
P1: 'driver id' = 0 x 54435000
P2: 'pause '? = 0 x 0
P3: "= 0x0
time_waited: 0,013444 sec (sampling interval: 0 sec)
[14 samples, 07:30:23 - 07: 30:36]
waiting in each sample slowed
[4 biopsies, 07:30:19 - 07: 30:22]
not waiting at each sample
[26 samples, 07:29:53 - 07:30:18]
waiting in each sample slowed
---------------------------------------------------
History of the sampled plenary:
longest_non_idle_wait: ' SQL * Net break/reset for customer '
[sample 1, 07:30:37]
time_waited: 0,013444 sec (sampling interval: 0 sec)
---------------------------------------------------
the temporary object counter: 2
----------------------------------------
Virtual discussion:
kgskvt: 700000011f06658, sess: 700000012bf11f0 sid: 41 ser: 1263
VC: 0, proc: 700000012b18de8, id: 41
News consumer group: OTHER_GROUPS (upd? 0) maps: DEFAULT_CONSUMER_GROUP, orig:
vt_state: 0x100, vt_flags: 0xA030, blkrun: 0, numa: 1
inwait: 0
place where last insched series: kgskthrrun
place where insched last reset: kgskthrrun2
place where inwait the last value: NULL
place where inwait last reset: kgskbindfast
is_assigned: 1, in_sched: 0 (0)
QCLs: 0, qlink: FALSE
vt_active: 0 (pending: 1).
vt_pq_active: 0, dop: 0
used quanta: 0 (cg: 0) usec, num penalty: 0
start of CPU time: 0
idle time: 0, time: 0 (cg: 0)
yields of processor: 0 (cg: 0), expected: 0 (cg: 0), wait time: 0 (cg: 0) usec
e/s expected: 0 (cg: 0), wait time: 0 (cg: 0) usec
ASL in queue wait times: 0, time: 0 (NEWS 0, 0 cg)
PQQ in queue wait times: 0, time: 0 (NEWS 0, 0 cg)
Violation of the time to wait in queue: 0
aborted calls: 0, num is exec hit limit: 0
Cancel current: max k 0: 0 k
I/O credits: small = 0 General = 0
I/O waiting credits: small = 0 General = 0
KTU Session Commit Cache Dump for IDLs:
XID: 0x0009.008.00002025 RCS: flg 0x0000.00cd4e90 = 0x1
XID: 0x0006.018.00001f5a RCS: flg 0x0000.00cd4e90 = 0x1
XID: 0x0009.015.00002024 RCS: flg 0x0000.00cd4e90 = 0x1
XID: 0x0005.004.00001f30 RCS: flg 0x0000.00cd4e90 = 0x1
XID: 0x0006.021.000011ed RCS: flg 0x0000.00cd4e90 = 0x1
KTU Session Commit Cache Dump for Non-IDLs:
----------------------------------------
KKS - UOL used: 0 locks (used = 19, free = 3)
KGX atomic operation Log 70000000b30a840
Mutex 0 (0, 0) oper idn 0 NONE
Cursor Parent uid 41 DTS 4 w/h 7 slp 0
Oper = pt1 NONE = 0 pt2 pt3 0 = 0 =
PT4 = 0 = 0 = 0 stt u41
KGX atomic operation Log 70000000b30a890
Mutex 0 (0, 0) oper idn 0 NONE
parasite of the slp whr 6 table uid 41 DTS torrent 4 0
Oper = NONE pt1 = 70000000d1485e8 pt2 = pt3 148678 = 0 70000000d
PT4 = 0 = 0 = 0 stt u41
KGX atomic operation Log 70000000b30a8e0
Mutex 0 (0, 0) oper idn 0 NONE
FSO uid 41 DTS mutex 0 w/h 0 slp 0
KGX atomic operation Log 70000000b30a930
Mutex 0 (0, 0) oper idn 0 NONE
FSO uid 41 DTS mutex 0 w/h 0 slp 0
----------------------------------------
KGL - UOL SO Cache (total = 182, free = 107)
KGX atomic operation Log 70000000 b 045538
Mutex 0 (0, 0) oper idn 0 NONE
Library Cache uid 41 DTS 5 w/h 85 slp 0
Oper = 0 = 70000000b 227350 pt2 = pt3 = 0 70000000c5df180 pt1
PT4 = 0 = 0 = 0 ub4 pt5
KGX atomic operation Log 70000000 b 045590
Mutex (0, 0) 70000000c5b11d8 idn 69fd5d60 oper NONE
Library Cache uid 41 DTS 4 w/h 77 slp 0
Oper = pt1 pt2 70000000934fb60 0 = = 0 = 0 pt3
PT4 = 0 = 0 = 0 ub4 pt5
KGX atomic operation Log 70000000b0455e8
Mutex 0 (0, 0) oper idn 0 NONE
Library Cache uid 41 DTS 4 w/h 79 slp 0
Oper = 0 = 70000000b 225950 pt2 = pt3 = 0 70000000c382cb8 pt1
PT4 = 0 = 0 = 0 ub4 pt5
KGX atomic operation Log 70000000 b 045640
Mutex (0, 0) 70000000b225a80 idn ae8e84f6 oper NONE
Library Cache uid 41 DTS 4 w/h 70 slp 0
Oper = 0 = 70000000b 225950 pt2 = 0 = 0 pt3, pt1
PT4 = pt5 0 = 0 ub4 = 4
KGX atomic operation Log 70000000 b 045698
Mutex (0, 0) 70000000b225a80 idn ae8e84f6 oper NONE
Library Cache uid 41 DTS 4 w/h 70 slp 0
Oper = 0 = 70000000b 225950 pt2 = 0 = 0 pt3, pt1
PT4 = 0 = 0 = 0 ub4 pt5
KGX atomic operation Log 70000000b0456f0
Mutex 0 (0, 0) oper idn 0 NONE
Library Cache 41 DTS uid 0 w/h 0 slp 0
Oper = pt1 pt2 = pt3 0 = 0 0 = 0
PT4 = 0 = 0 = 0 ub4 pt5
KGX atomic operation Log 70000000 b 045748
Mutex 0 (0, 0) oper idn 0 NONE
Library Cache 41 DTS uid 0 w/h 0 slp 0
Oper = pt1 pt2 = pt3 0 = 0 0 = 0
PT4 = 0 = 0 = 0 ub4 pt5
KGL SO hide
SO = 70000000c5df180 link = 70000000c5df1f0 [70000000b115e38, b 70000000, 045520]
FLG = 8000 use its 700000012bf11f0 = 700000012bf11f0 =
SO = 70000000b115dc8 link = 70000000b115e38 [70000000c5df380, 70000000c5df1f0]
FLG = 8000 use its 700000012bf11f0 = 700000012bf11f0 =
SO = 70000000c5df310 link = 70000000c5df380 [70000000c7abab8, 70000000b115e38]
FLG = 8000 use its 700000012bf11f0 = 700000012bf11f0 =
Hello
I'm not saying that it will solve the problem, but you must use XMLCast in this case, not XMLSerialize.
Try also with fn:local - name instead (unless you need information namespace as well):
Select (xmlcast)
XMLQUERY)
"for $dcrContent in fn:collection("oradb:/PUBLIC/DATA_CAPTURE_RECORD_CONTENT") / ROW.
where $dcrContent/DATA_CAPTURE_RECORD_CONTENT_ID = xs:decimal ($id)
"return fn:local - name($dcrContent/CONTENT_XML/*)"
from 608 as "id".
contents of return
)
as varchar2 (100)
)
Double;
-
Taking a class SQL and make a table for a project and have a problem with my table does not.
Here is my syntax
create the table student_data
(Stu_ID, varchar2 (4))
Lname varchar2 (12),
Fname varchar2 (12),
address varchar2 (25).
zip of varchar2 (10),
Phone # varchar2 (15).
E-mail varchar2 (35),
AA_degree_ID varchar2 (2),
AA_grad_year varchar2 (4).
Status (10),
BA_start_date varchar2 (4).
Major_ID varchar2 (5).
Advisor_ID varchar2 (4).
Student degree Plan developed varchar2 (4).
Graduation of Student application complete varchar2 (4).
Student program assessment varchar2 (4));
and says error starts on line 1
Error report-
SQL error: ORA-00907: lack the right parenthesis
00907 00000 - "lack the right parenthesis.
If it makes a difference that I wrote all the outside syntax in Notepad ++ and copy pasted above.
Student degree Plan developed varchar2 (4).
Graduation of Student application complete varchar2 (4).
Student program assessment varchar2 (4));
If someone else sees this i figurde my answer these he i connected with underscores and I took thing the table was trying ot and then told me they had long in length, so I had to shorten.
-
ORA-00054. Is possible to interrupt the cancellation and delete then table?
Hello.
I m import a long table with utility IMP.
When has spent a lot of hours and the process was near complete I ORA-30036 and a restore operation was launched.
I m trying to drop/truncate the table to avoid the wait, but the cause of the restore process I ORA-00054 and I have to wait for several hours to try to import again.
My question is: there is a way to interrupt this restore operation and delete the table without inducing an inconsistent state of the database?
I m working with Oracle 9i on Windows plataform
concerning
No, it isn't.
-
Script table with Clob and record another database
Hello
How can I read the Clob column data and insert into another table in the database.
The first Table is quality Test and second Production
Is there a way without using Export / Import?
What can I use the charger?
With the help of 9imuttleychess wrote:
mschnatt wrote:
You can only try the db-linkCREATE LINK
of the DATABASE to CONNECT to IDENTIFIED BY with the HELP of " "; and make the table
create table...
in select...Thank you, but too no work :-(:-(
SQL> select id,clob_data from myclob@teste; select id,clob_data from myclob@teste * ERRO na linha 1: ORA-22992: cannot use LOB locators selected from remote tables
Well you don't have the answer said to
and make the table
create table...
in select...Also in the manual, you could save a lot of time if you open.
http://docs.Oracle.com/CD/B14117_01/AppDev.101/b10796/adlob_wo.htm#1006314
>
The following syntax is supported on the remote LOB columns:CREATE TABLE t AS SELECT * FROM table1@remote_site; INSERT INTO t SELECT * FROM table1@remote_site; UPDATE t SET lobcol = (SELECT lobcol FROM table1@remote_site); INSERT INTO table1@remote_site select * from local_table; UPDATE table1@remote_siteset lobcol = (SELECT lobcol FROM local_table); DELETE FROM table1@remote_site
It is the only syntax support involving some LOBs in remote tables. No other use is supported.
-
Mr President.
How to reduce the height of a table which is with PanelCollection and pc will find panelbox and pb is panelgridlayout and pgl is at the center of tableFirstTemplate?
Concerning
Normally at the height of the table control you need property autoheightRows -1 and then set height in the table like this inlinestyle
height: 300px;
-
Hi, I am creating the database link from a database of Oracle 11 g PostgreSQL with DG4ODBC and unixODBC
My configured for /etc/odbc.ini
[PostgreSQL]
Description = Test to Postgres
Driver = psqlodbc
Trace = Yes
Trace file = /tmp/sql.log
Database = danieldb
ServerName =
UserName = SA
Password = password
Port = 5432
Protocol = 6.4
ReadOnly = No
RowVersioning = No
ShowSystemTables = No
ShowOidColumn = No
FakeOidIndex = No
My configured for /etc/odbcinst.ini
[ODBC]
CommLog = 1
Debug = 1
FileUsage = 1
Layout common = No
Trace = 1
[psqlodbc]
Description = PostgreSQL ODBC driver
Driver=/usr/lib64/psqlodbcw.so
CommLog = 1
Debug = 0
FileUsage = 1
My configured for /u01/app/oracle/product/11.2.0/xe/hs/admin/initPostgreSQL.ora
HS_FDS_CONNECT_INFO = PostgreSQL
HS_FDS_TRACE_LEVEL = 0
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbcpsql.so
Set ODBCINI=/etc/odbc.ini
My configured for /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
Listener =
(ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PostgreSQL)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe)
(PROGRAM = dg4odbc)
(ENVS="LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2.0/xe/lib')
)
)
My configured for /u01/app/oracle/product/11.2.0/xe/network/admin/tnsname.ora
PostgreSQL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521))
(CONNECT_DATA =
(SID = PostgreSQL)
)
(HS = OK)
)
I'm trying to created public database link:
CREATE DATABASE LINK PUBLIC 'orapos' CONNECT to 'HIS' IDENTIFIED BY 'password' USING 'PostgreSQL ';
When I used tnsping
[root@oracle-poc admin] # tnsping PostgreSQL
AMT Ping utility for Linux: Version 11.2.0.2.0 - Production on May 16, 2013 20:34:19
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Use settings files:
/U01/app/Oracle/product/11.2.0/XE/network/admin/SQLNET.ora
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521)) (CONNECT_DATA = (SID = PostgreSQL)) (HS = OK))
OK (0 msec)
and finally, I try to use the database link:
"SQL > select * from tabel2"@orapos ".
2;
Select * from 'tabel2"@orapos '.
*
ERROR on line 1:
ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
ORA-02063: preceding the line of ORAPOS
What wrong with my setup?
Thank you and best regards,
Daniel
Daniel,
The problem is that you are using the ODBC Postgres driver for the HS_FDS_SHAREABLE_NAME parameter, but this must be an ODBC driver manager and not the driver ODBC Psotgres.
Go to the.Click the 'Download' and follow the instructions to download the 2.3.1 pilot and make libraries and programs.
Once this is done, then use the driver as parameter HS_FDS_SHAREABLE_NAME Manager, for example-
HS_FDS_SHAREABLE_NAME =/home/odbc64/unixODBC/2.3.1/lib/libodbc.so
Depending on where you install it.
Kind regards
Mike
-
I can't find information anywhere and will appreciate the pointers.
You can not do with the simplicity that you can do with software such as Microsoft Word.
Only HTML cannot interact with a printer. You can print from a web browser, you can use the @media print CSS to specify the page layout for printing, but with HTML/CSS you cannot receive information and information of the printer and you can't control things like the size and orientation of the page (horizontal/vertical). The user's browser sends its own headers and footers with information such as the date, the page number and url. The user can disable them in the browser, but your web page cannot do this.
If the table is generated by PHP, you can use PHP to count the rows of the table and add page breaks to the appropriate position. You can send a page break beforebreak with CSS, but if your table cell height, varies according to the amount of content, it would be impossible to calculate the right places to send the page break command. With PHP, you could also add the header and footer to the right positions.
Even with all of the above variations, printers, operating systems and browsers would probably the printer document well in some environments and horribly in others.
With Java or Javascript, you can control the interaction with the printer. There could be a framework like jQuery javascript that can do.
Maybe you are looking for
-
Unable to connect to the AppStore - tried all the patches
Hi all, cannot connect to the App Store on my iPhone 6 running ios9.3.2 I did a lot of research and have tried a variety of bugs including: log out and back in again change in the weather from automatic to manual and vice versa activate Touch ID then
-
my iPhone 6 s more the photos aren't as sharp as they appear in stores
I use my iPhone 6 s more, bought in March 28, 2016, I take photos during the day and they do not seem to be as strong as I think they should be. The photos I see in Apple stores show photos where you can zoom and the details is very clear, however wh
-
Can I send a paid app to someone as a free gift
Hi all I have an application of the PlayBook app World and I want to send someone to my friend as a free gift. Is this possible? I remember that someone has the similar question here several days ago, but can not find. Thank you.
-
Want to stay on my desk calendar. Help please.
Is there anyway that the calendar Windows 8 will stay on my desk as it did in previous versions? I want to show her events and stay there until I get out them. Any way to do it? Please, say yes!
-
Hi all, I need to understand why my VMs will always grow so large they finally running out of disk space, and then I can't resize them... see the screenshots below:So all my virtual machines are that looks like it's finally the 5 GB goes down to zero