DEFAUT SEQUENCE TABLE (Please Help !!!)
Hi,
kann somebody tell me what is better using:
- Default sequence table
or
- Custom Sequence Table
What is the difference.
THX
Both of these options will perform the same. The Default sequence table is simply a table schema based on TopLink defaults. The custom sequence table allows a developer to specify their own sequence table schema.
--Gordon
Similar Messages
-
Error while Creating sequence. Please help
I'm using below script to create sequence but getting error
Error report:
SQL Error: ORA-01722: invalid number
01722. 00000 - "invalid number"
CREATE SEQUENCE BL_BTN_MASTER_SEQ
MINVALUE 1
MAXVALUE 999999999999999999
INCREMENT BY 1
START WITH (SELECT MAX(BULLETIN_MASTER_ID)+1
FROM BL_BTN_MASTER)
NOCACHE;
FYI..Data type of bulletin_master_id column is NUMBER(22,0)
PLease help.
Edited by: user11228834 on May 29, 2013 10:22 AM
Edited by: user11228834 on May 29, 2013 10:23 AM
Edited by: user11228834 on May 29, 2013 10:25 AMOracle doesn't like the "(select max(bulletin_master_id)+1 from bl_btn_master)' statement embedded in the CREATE SEQUENCE statement because if you look at the syntax it is expecting an acual number. You could use execute immediate to create the sequence this way:
{code}
declare
v_seq number;
v_statement varchar2(200);
begin
select max(bulletin_master_id)+1
into v_seq
from bl_btn_master;
v_statement := 'CREATE SEQUENCE BL_BTN_MASTER_SEQ ' ||
'MINVALUE 1 ' ||
'MAXVALUE 999999999999999999 ' ||
'INCREMENT BY 1 ' ||
'START WITH ' || v_seq ||
'NOCACHE';
execute immediate(v_statement);
end;
{code} -
R/3- CRM- CDB- MAS Z-table, PLEASE HELP
Hi CRM gurus,
I'm new on CRM and we want to create a independent Z table at all systems
and we want to transfer the datas in it. it's like a customizing table which
chould be download manually to MAS every half year or similiar.
PLEASE HELP US
it's very urgent!! i appreciate your efforts and Award you points.
thanks in advance
Mike
eMail: [email protected]Hi Mike,
I have sent you a middleware enhancement guide which will help you to acheave this.
Reward points if helps!!
Best regards,
Vikash. -
Which Sequence Preset Please Help
I'm making a small video for my internship and using adobe Premiere.
I've however run into a few problems. The camera was outputing video in AVCHD(.mts) files which where not working.
I've nowstarted to convert the files into different formates. But I'm unsure of what squence preset to use given the file type. currently I have a file that is:
Type: MPEG Movie
File Size: 62.5 MB
Image Size: 640 x 480
Pixel Depth: 32
Frame Rate: 30.00
Source Audio Format: 44100 Hz - compressed - Stereo
Project Audio Format: 44100 Hz - 32 bit floating point - Stereo
Total Duration: 00:05:00:02
Average Data Rate: 213 KB / second
Pixel Aspect Ratio: 1.0
I however think it may be a better idea to convert them to AVI but when i try to import the AVI files i get a ERROR:
Codec missing of unavailable.
What is the best Preset Sequence to use with the MPEG files?
Please help!Type: MPEG Movie
File Size: 187.5 MB
Image Size: 1280 x 720
Pixel Depth: 32
Frame Rate: 29.97
Source Audio Format: 44100 Hz - compressed - Stereo
Project Audio Format: 44100 Hz - 32 bit floating point - Stereo
Total Duration: 00:04:59:23
Average Data Rate: 639 KB / second
Pixel Aspect Ratio: 1.0 -
I needs to Display Tree With in the table, Please Help me
I needs to display
First Table, then inside the table tree, whenever I expand the tree then all the specified Childeren should display in another table.
Please give me solution with example(code)
this is simple Example
A
a1
a11
a12
a13
a2
a3
B1
C1
But I needs to display following format(that means with in the table)
first step(Normal mode)
A
B
C
whenever I expand A(expand mode)
A
a1
a2
a3
Whenever I expand a1 then(I needs to display this format) This is final Expand
A
a1
a11
a12
a13
a2
a3
B1
C1
Please Help me. This is very important for me. Because I am doing project. Please help me..with examplemaybe this,
http://java.sun.com/products/jfc/tsc/articles/treetable1/index.html -
Standard widescreen sequence settings - PLEASE HELP!
Hi,
I've been trying for weeks to figure out the proper sequence settings / easy setup settings for videos that will ulitimately end up as STANDARD 16x9 footage.
Is there a direct 16 x 9 standard widescreen setting?
What I've been trying to do is to make a standard widescreen picture video slideshow that will end up being burned via idvd. But for the life of me I cant figure it out?!?!?
PLEASE HELP! Your assistance will be greatly appreciated!
Thanks!!!
PS
I do have Fianl Cut Studio Pro 2 studio."Standard" 16:9 is anamorphic.
Import your footage into FCP using a 16:9 preset, edit it and export it using 'current settings'.
Open up DVD Studio Pro and import the footage making sure to check the box that tells the program the material is 16:9.
x -
ACCESS SEQUENCE - INFO PLEASE HELP.
Dear All Guru's,
while looking at sap-img is it true that those conditions which are time dependent only those conditions are assigned with access sequence , pl tell me that how the access seq. help to call the conditions like JVRD, JEC1, etc.
sap11Dear SAP11,
Adding to our friends' views here is my attempt;
1)The conditions (condition records)given through [FV11] / [MEK1] / [VK11] will be stored in Condition Tables with key combinations like plant,vendor,P.Orgn etc.
2)In Access Sequence Accesses will be defined with the concerned fields of key combinations.
3)These Acess sequences will be assigned to Condition Types for which we have defined conditions in step1.
4)These Condition Types will be placed in Calculation Schema / Pricing Procedure / Tax Procedure with required a/c keys etc.
5)This Calculation Schema / Pricing Procedure / Tax Procedure will be determined by the combination of Schema Group Vendor and Purchasing Orgn Schema for Calculation Schema and by Sales Area,Cust.Pric.Proc , Document Pric. Proc for Pricing Procedure etc.
System while executing Calculation schema it first encounters the Cond Type wherein through the Access Sequence assigned it determines the Accesses thereby fetches the Condition Table and finally Condition Record or Condition stored in that Condition Table.
If it is OK please reward the points else pose question in specific...................... -
Problem with xml table, please help
hello everyone,
can you help me please , i need to read an xml file from the sap directory into an L_XML_TABLE declared as follow :
TYPES: BEGIN OF t_xml_line,
data(256) TYPE x,
END OF t_xml_line.
TYPE-POOLS: ixml.
DATA: l_ixml TYPE REF TO if_ixml,
l_streamfactory TYPE REF TO if_ixml_stream_factory,
l_parser TYPE REF TO if_ixml_parser,
l_istream TYPE REF TO if_ixml_istream,
l_document TYPE REF TO if_ixml_document,
l_node TYPE REF TO if_ixml_node,
l_xmldata TYPE string.
DATA: l_elem TYPE REF TO if_ixml_element,
l_root_node TYPE REF TO if_ixml_node,
l_next_node TYPE REF TO if_ixml_node,
l_name TYPE string,
l_iterator TYPE REF TO if_ixml_node_iterator.
DATA: l_xml_table TYPE TABLE OF t_xml_line,
l_xml_line TYPE t_xml_line,
l_xml_table_size TYPE i.
when i try the READ DATASET of my file into the table it gives me the error message
L_XML_TABLE cannot be a table,a reference, a string or contain any of this objects.
is there a solution , it's important.
thank you very muchYou know that READ DATASET reads a line at a time, not the whole table?
What code do you have for actually reading the file? -
CheckPoints with Sequence containers - Please help
Hi experts,
I have a very critical requirement using checkpoints.I have SSIS 2012.
As you can see, there are two sequence containers (Call it as SEQC). SEQC1 has Execute SQL tasks 1 , 2 and 3. Similarly SEQC2 has tasks 4,5 and 6.
After that two individual tasks task 7 & 8.
The requirement is, I have to implement both CheckPoint and Transaction feature in the package.That means,the restartability should be BLOCK wise. ie
1) If the task 3 (inside SEQc1) fails, then the tasks done by the Task1 and task2 should be rolled back and next execution should start from the Task1 and NOT from the Task3.
2) If the SEQC1 is success, but the task 6 (inside SEQc2) fails, then the tasks done by the SEQC1 should be COMMITTED and tasks done by the Task4 and task5 should be rolled back and next execution SHOULD start from the Task4 and NOT from the Task6 or
NOT from Task1 of SEQC1.
3) If the SEQC1 and SEQC2 succeeds but the next individual task Task7 fails, then SEQC1 and SEQC2 tasks should be committed and the next execution starts only from the Task7.
Could you please tell me is it possible to combine CheckPoint and transaction options? If not, any workarounds?
Requirements 1 and 2 can be achieved ONLY when i enable'Transactions=Required' in SEQC 1 and 2 . But when I enable this, if the task6 in SEQC2 fails, the the next execution starts from task1 of SEQC1, but the requirement is to start from task4 of SEQC2.
I tried a lot but not able to accomplish this.Your help would be greatly appreciated.From Books online
Using checkpoints and transactions in the same package could cause unexpected results. For example, when a package fails and restarts
from a checkpoint, the package might repeat a transaction that has already been successfully committed.
That being said you can use checkpoints and make it start from failed step. However I dont think you'll be able to start from start of the sequence generator as other tasks previously successful would have already logged the info to checkpoint file so they
will not get executed again.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Guru,
Please can you tell me i want to remove empty blocks and chain count from a table. What suppose i have to do.
Here is the below details of emety block and chain counts.
SQL> select EMPTY_BLOCKS,CHAIN_CNT from dba_tables where TABLE_NAME='RA_CUSTOMER_TRX_LINES_ALL';
EMPTY_BLOCKS CHAIN_CNT
18990 28643
Thanks,If you shrink or move then you need to rebuild the indexes. If you export/truncate/import it will rebuild indexes for you.
So .. depends on the database version, which we don't know yet.
First I would like to see what percentage of blocks are empty, and what percentage of rows are chained, because maybe a table reorg won't be worth the effort. -
Need assistance searching records from multiple tables - Please Help!
Hi, I've been trying to solve this problem for several weeks now, and I have exhausted all of my knowledge and experience. I need help, and I hope someone here can give me some direction.
I am using VB 2008, and the CR that comes bundled with VS 2008 Pro. My database is a SQL Server 2005 CE v3.5 (a *.sdf file). I am connecting to the database through a dataset, and I am displaying the report in a CrystalReportViewer.
My dataset consistes of two tables:
1) tblCustomers which has a primary key "CustID", and contains only customer contact and personal information.
2) tblDateVisited which has a primary key of "VisitID", but it also has a column titled "CustID". Basically, every time a customer visits the business, details of that visit are recorded in tblDateVisited, and that record is associated with the customer by their CustID.
Here's what I'm trying to accomplish: I want to be able to display only Customer records when the customer has visited and that visit matches certain criteria. Right now, I am trying to match visits from the "tblVisitDate.PlayerType" column. If the customer has ever had a visit where they matched a particular player type, I want to see those customer records.
I don't know what I'm doing wrong, though. I can search a dataset if I am only querying one table and pulling records from that table. However, whenever I try to add a second table and perform queries on that table to get records from the first table, I can't return any records.
If it helps, I am trying to use one CrystalReportViewer to display multiple reports (user choice) and here's how I'm loading the report into the viewer:
Me.tblCustomersTableAdapter.Fill(Me.dsPlayerTypeReports.tblCustomers)
Me.tblDateVisitedTableAdapter.Fill(Me.dsPlayerTypeReports.tblDateVisited)
Me.ReportFile.SetDataSource(dsPlayerTypeReports.Tables(1))
I am suspicious that my problem is in the Tables(1) method. It confuses me that I can only assign one table as a datasource when I obviously need access to two tables to make this selection work.
Whatever the case, I'm at the end of my rope with this one. I'm not prone to giving up, but I'm at a dead end currently.
Any attempt to assist me with this will be greatly appreciated, successful or not.
Thanks in advance!
-WillNo, I am connected via ADO.NET. I don't think SQL CE can connect through ODBC (or if it can, I haven't been able to figure out how, yet). So this isn't a stored procedure.
When I examine the link, I can only choose an Inner Join or a Left Outer Join. Right Outer and Full Outer are not available. Could this be a problem with the dataset I'm using?
Could you explain what you mean by display all of the records and then choose the selection criteria? -
Sequence problem, please help
Hi all,
I am trying to build a primary key based on a sequence.
1. i built the table
2. i built the sequence
3. i execute the following code
CREATE OR REPLACE TRIGGER TBL1_ID_TRG
BEFORE INSERT ON TBL1
FOR EACH ROW
BEGIN
SELECT TBL1_M_ID_SEQ.nextval INTO :new.M_ID FROM DUAL;
END
when I execute this in TOAD I get a pop-up window titled Variables that defaults on :NEW(Integer) in the left pane (Variables) and Name :NEW, Type Integer and Value empty on the right pane. Regardless of what I type for the value it gives me the ORA-01036: illegal variable name/number Unable to find bind context on user side error.
Can anyone explain what is the popup supposed to do?
Thanks,
kowalskyThanks for the answer - I am very new to using TOAD; how would I use a PLSQL window? By the way, I tried to execute the same code in sql*Plus and I got the same error (rather it said the trigger was created with compilation errors).
I am not sure what I am missing, all other autoincrements I can see in the schema are created with the exact same code ...
Thanks,
kowalsky -
Advice for best way to do this dynamic table -please help
Hello, I would like to create paginated recordsets without
specifying the filename over and over again. For example, if I have
folders of pictures with sequential filenames, is there anyway to
get around manually entering them in the database? If not, what is
the best way to go about doing this because I will have a great
number of these "books" to create. Maybe there is a way to just
auto-enumerate a 1.jpg, 2.jpg, 3.jpg, 4.jpg etc in the db and then
I can just drop in the pictures since the path would be the same.
I'm using php/mysql for the db end.
Many thanks in advance!
dwnoobWhy not have a record ID# and have the code programatically
generate the
image name? That way you wouldn't need an image field at all,
e.g.,
<img src="/path/path/path/imagename -<?php echo
$rs_recordset['recordID'];
?>.jpg"....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"dwnoob" <[email protected]> wrote in
message
news:ftrh3v$2a8$[email protected]..
> Hello, I would like to create paginated recordsets
without specifying the
> filename over and over again. For example, if I have
folders of pictures
> with
> sequential filenames, is there anyway to get around
manually entering them
> in
> the database? If not, what is the best way to go about
doing this because
> I
> will have a great number of these "books" to create.
Maybe there is a way
> to
> just auto-enumerate a 1.jpg, 2.jpg, 3.jpg, 4.jpg etc in
the db and then I
> can
> just drop in the pictures since the path would be the
same.
>
> I'm using php/mysql for the db end.
>
> Many thanks in advance!
>
> dwnoob
>
> -
How to have the check box fields in the table ...Please help me out.
Hi
can any one give me code save the checkbox field to save in the table.
I have displayed the checkboxes using the loops from the table but when i am clicking the checkboxes and pressing the button save its not saving in the database table.
please help me out. Its urgent .
Thank you very much suneethaDOnt duplicate the thread...Reply to the below thread..
Re: In the loop to display checkboxes.
Raja T -
I am unable create the table please help me,
I want create for TKT_CPN but I am getting the error below as
SQL> create table TKT_CPN(iss_arln Number(4),
2 doc_no Number(12),
3 cpn_no Number(2),
4 sect_no Number(2),
5 cpn_seq_num Number(2),
6 stopover_ind char(1),
7 constraint PK_TKT_TAX primary key (iss_arln,doc_no,cpn_no),
8 constraint FK_TKT_TAX foreign key (iss_arln,doc_no) references TKT_CONJ(iss_arln,doc_no));
constraint FK_TKT_TAX foreign key (iss_arln,doc_no) references TKT_CONJ(iss_arln,doc_no))
ERROR at line 9:
ORA-02270: no matching unique or primary key for this column-list
Table name Column Name Data Type Nullable Constraints Refference Table Reference Column
TKT_CPN iss_arln Number(4) PK_TKT_TAX TKT_CONJ iss_arln
doc_no Number(12) PK_TKT_TAX TKT_CONJ doc_no
cpn_no Number(2) PK_TKT_TAX
sect_no Number(2)
cpn_seq_num Number(2)
stopover_ind char(1)
TKT_CONJ iss_arln Number(4) PK_TKT_CONJ TKT_MAIN iss_arln
doc_no Number(12) PK_TKT_CONJ TKT_MAIN doc_no
serial_no Number(2) PK_TKT_CONJ
conj_doc_no Number(12)
cpn_status char(4)
I created table for TKT_CONJ like below,
create table TKT_CONJ (iss_arln Number(4),
doc_no Number(12),
serial_no Number(2),
conj_doc_no Number(12),
cpn_status char(4),
constraint PK_TKT_CONJ primary key (iss_arln,doc_no,serial_no),
constraint FK_TKT_CONJ foreign key (iss_arln,doc_no) references TKT_MAIN(iss_arln,doc_no));
TKT_MAIN iss_arln Number(4) N PK_TKT_MAIN
doc_no Number(12) N PK_TKT_MAIN
doc_type Char(3)
issue_agent Char(8) N
create table TKT_MAIN
(iss_arln Number(4) not null,
doc_no Number(12) not null,
doc_type Char(3),
issue_agent Char(8) not null,
constraint PK_TKT_MAIN primary key (iss_arln,doc_no));
Please let me if u didn't understand my question.
Regards,
vijay,You cannot reference part of a composite primary key.
SQL> create table TKT_CONJ (iss_arln Number(4),
2 doc_no Number(12),
3 serial_no Number(2),
4 conj_doc_no Number(12),
5 cpn_status char(4),
6 constraint PK_TKT_CONJ primary key (iss_arln,doc_no,serial_no)
7 );
Table created.
SQL> create table TKT_CPN(iss_arln Number(4),
2 doc_no Number(12),
3 cpn_no Number(2),
4 sect_no Number(2),
5 cpn_seq_num Number(2),
6 stopover_ind char(1),
7 constraint PK_TKT_TAX primary key (iss_arln,doc_no,cpn_no),
8 constraint FK_TKT_TAX foreign key (iss_arln,doc_no) references TKT_CONJ(iss_arln,doc_no));
constraint FK_TKT_TAX foreign key (iss_arln,doc_no) references TKT_CONJ(iss_arln,doc_no))
ERROR at line 8:
ORA-02270: no matching unique or primary key for this column-list
SQL> create table TKT_CPN(iss_arln Number(4),
2 doc_no Number(12),
3 serial_no NUMBER(2), -- Column Added
4 cpn_no Number(2),
5 sect_no Number(2),
6 cpn_seq_num Number(2),
7 stopover_ind char(1),
8 constraint PK_TKT_TAX primary key (iss_arln,doc_no,cpn_no),
9 constraint FK_TKT_TAX foreign key (iss_arln,doc_no, serial_no) references TKT_CONJ(iss_arln,do
c_no, serial_no));
Table created.
SQL> Your composite primary key column comprises of (iss_arln,doc_no, serial_no) columns in TKT_CONJ. Therefore any reference to this table should refernce all three columns.
Regards,
Jo
Maybe you are looking for
-
Ipod Shuffle Gen2 recognition problem
I have an Ipod shuffle that is recognised in Windows but not in iTunes. I've reset, retried, restarted, reinstalled, restored, and - • Removed iTunes and reinstalled; • Emptied the Temp directory and restarted; • Cleaned up iTunes installer files on
-
Bad pdf quality when printing from word 2004
hello, when i print a document with a lot of screenshots from wort in the save as pdf dialogue... the pictures in the document have a very bad quality. where can i defin or setup the general quality for the print as a pdf? i know, that there is a opt
-
Qosmio X70-A-12 and new BIOS - FILE NOT FOUND
ifi would to download the brandnew BIOS driver (20/12/2013 - 1.40 WIN) i get an 404 !!! http://www.toshiba.at/innovation/download_bios.jsp?service=AT Thx for fixing that SOON Qosmio X70-A-12
-
Hyperion Financial Reporting: Trial Balance Report
Hi All, I am a beginner in Hyperion Financial Reporting. I am trying to create a report for Trial Balance accounts. The report should have the all the accounts in the rows and two columns with DEBIT and CREDIT without any other dimensions in the colu
-
Problem in transaction F-63 (Internaly FBV1)
Hi when i am running a session through SM35 to Parked the data using transaction F-63 ( internaly FBV1) after comlete the session the parked document is not displaying in bottem of the sytem and as well as it is not updating the BKPF table but when i