Data for random table Gahering
I searched the boards for help on this and do so taught me SOME of what I have to do, but not all.I think I can build a table now, but what I need to know how to do is to COLLECT the data for the table of user-seizures of text, then having Flash back a # of random inputs.
That's the drug testing. I have to be able to enter the names of the employees (collected by the table) and then enter the number of employees, I want to have tested (say 6 of 20 names entered). So I want the Flash to give me 6 of these names randomly without duplicating.
As I said, the research here, I think I learned to build the array by using the dynamic text boxes. What I didn't know is how to return X number of these data to the user randomly.
Any ideas?
Once you have a table, you can mix it and then just count however many elements you need.
Of course, I went to the one I posted about the halfway point. :)
And it seems that blemmo he has improved at the end of this thread.
But I would recommend even when whose line of my post ASSetPropFlag.
Tags: Adobe Animate
Similar Questions
-
The fastest way to import data for large tables
Hi friends,
I recently joined a billing product put up a team for TELECOM giant. Under the procedure of installation/initial tests, we have huge data (size of almost 1.5 billion records / ~ 200 GB of data) in some tables. Currently I use impdp to import. It takes a long time (almost > 9 hours to load these data).
I tried the ways below to import the data (all of these tables is partitioned):
1. normal impdp (single thread that is, parallel = 1): it takes a long time (> 24 hours).
2. normal impdp but partition-wise. It was completed in relatively less amout of time compared to the 1st method.
3 fall drop the index, framed adding another scheme in the same forum that includes data, and then recreate the index (whole process takes about 9 hours)
My questions at all:
1. is there any other way/trick in the book that I can try to put the data in less time
2. what I pointed out that even if I give parallel = 8 or more, sometimes parallel workers are laid and sometimes not. Can someone tell me why?
3. How can I come to know (before running the impdp) that my parallel article will spawn parallel workers or not. As to how I will come to find out, I searched this topic but without success.
I don't know what strategy to follow, because it is an involved and repetitive task for me. Because of the task above, I am not able to focus on other DBA tasks because of what comes to me.
See you soon,.
Malikaassuming that you have a table with 3 clues, then create a script for each index (reblace index_name_n with your index name) and start them at the same time, after the importation of the table is complete
DUMPFILE=
or NETWORK_LINK= DIRECTORY=DATA_PUMP_DIR LOGFILE= CONTENT=ALL PARALLEL=1 JOB_NAME=IMP_ INCLUDE=TABLE_EXPORT/TABLE/INDEX:"IN(' ')" TABLES= . Change the following settings when importing:
increase pga_aggregate_target
increase db_writer_processes
db_block_checking = false
db_block_checksum = falsethe value undo and temporary ts autoextend
Set noarchivelogmode
create logs of restoration of 4 GBHTH
Update user given date for a table inside a script
Hi all
I have a CONTRACT table that has a date field CLOSED_DATE which stores the expiration date of a contract. now, I need to write a script to update some values corrupted in this column to a value of the user - give. I have the following script:
"ACCEPT CONTRACTID PROMPT FORMAT ID NUMBER ' Enter 9999999999 contract."
"ACCEPT THE UPDATE DATE FORMAT" MM/DD/YYYY HH24:MI:SS"DEFAULT ON DECEMBER 1, 2010 12:00.
FAST "enter the Date of expiry of the contract: ';
Start
BEGIN
C SET (C.CLOSEDDATE) = (& PDATE) UPDATE CONTRACT WHERE the CONTRACT. CONTRACTID = & CONTRACTID;
EXCEPTION
WHILE OTHERS THEN
LIFT;
END;
END
/
But when it is running, I have the following error: (I, ve entered the default date).
Start
BEGIN
UPDATE CONTRACT C SET (C.CLOSEDDATE) = (12/01/2010-12:00) WHERE CONTRACTS. CONTRACTID = 203456;
EXCEPTION
WHILE OTHERS THEN
LIFT;
END;
END
ORA-06550: line 5, column 50:
PL/SQL: ORA-00907: lack the right parenthesis
ORA-06550: line 5, column 1:
PL/SQL: SQL statement ignored
ORA-06550: line 16, column 0:
PLS-00103: encountered the symbol "end-of-file" during the expected in the following way:
; < an ID > < a between double quote delimited identifiers of >
The symbol ";" was replaced by "end-of-file" continue.
Please let me know what's in it...
Thank you all,
PradeepUse to_date ('& PDATE ', ' DD-MON-YY hh24:mi:ss')
Impdp exclude data in some tables
Hi all
I have a doubt.
I want to import database dump using impdp and I want to exclude data from several tables, but I want to load the metadata of these tables and their dependent objects. As far as I know, this can be done two ways:
1. in impdp we used parameter CONTENT = METADATA_ONLY - but in this case it will be loaded only the metadata for all tables;
2. I can use EXCLUDE = TABLE: parameter 'IN ("TABLE1", "TABLE2") '. But in this case if an object is excluded, all its dependent objects are also excluded - which is not what I want.
Oracle version is 10.2.0.4.0.
Did someone had a similar request?
TNX,
SmeeFor the tables that you do not want the data, add a query clause to the impdp command:
username/password query Impdp ='table_name: "where rownum = 0" ' query = "table2:' where rownum = 0"' etc.
This will load all the metadata and will load all the data for the tables with these query clauses.
The quote may be a problem with single and double quotes, but is a good idea. You're better off if you can put these requests in a settings file, since you won't have to worry about escaping from the funny characters. Then you can just say
Username/password Impdp parfile = my_par_file.par
Thank you
Dean
How to add data to the table using Manager POST for restful Apex application
Hi all
I managed to create a service application web Manager restful using GET for the Restful service module. I am able to get the data in row on the presentation of a table row id in the application. But I can't find an appropriate example, how the new data in the table can be posted or deleted. I created a POST handler for a URI scheme and look forward on how to proceed. Any help would be really appreciated.
Source for the POST Manager:
Start
insert into ALL_BOOKS values(:id,:book);
end;
Also created 2 parameters id and the book.
Hi jerry2134,
jerry2134 wrote:
I managed to create a service application web Manager restful using GET for the Restful service module. I am able to get the data in row on the presentation of a table row id in the application. But I can't find an appropriate example, how the new data in the table can be posted or deleted. I created a POST handler for a URI scheme and look forward on how to proceed. Any help would be really appreciated.
Source for the POST Manager:
Start
insert into ALL_BOOKS values(:id,:book);
end;
Also created 2 parameters id and the book.
Check out the following tutorials OBE, that explains the creation of GET and POST RESTful Web Services and how to use them in the APEX.
- Creation and use of RESTful Web application services Express 4.2
- Creation and use of RESTful Web application services Express 5.0
Also what yo mean "looking forward on how to proceed? Do you want to or created for use/consume in your Oracle APEX application hosted RESTful web services?
If Yes, in your Application, you must create a RESTful Web Service reference -> shared components. Then, create a form/report based on Web Service reference.
Kind regards
Kiran
Hi experts,
I tried to load the data of EBS in HFM via FDMEE.
Importing data in the rule of loading, I have encountered an error in loading.
2014-11-21 06:09:18, 601 INFO [AIF]: beginning of the process FDMEE, process ID: 268
2014-11-21 06:09:18, 601 [AIF] INFO: recording of the FDMEE level: 4
2014-11-21 06:09:18, 601 [AIF] INFO: FDMEE log file: D:\fdmee\outbox\logs\TESTING_268.log
2014-11-21 06:09:18, 601 [AIF] INFO: user: admin
2014-11-21 06:09:18, 601 INFO [AIF]: place: Testing_loc (Partitionkey:3)
2014-11-21 06:09:18, 601 [AIF] INFO: name: OCT period (period key: 31/10/14 12:00 AM)
2014-11-21 06:09:18, 601 INFO [AIF]: name of the category: real (category key: 1).
2014-11-21 06:09:18, 601 INFO [AIF]: name rule: Testing_dlr (rule ID:8)
2014-11-21 06:09:19, 877 [AIF] INFO: Jython Version: 2.5.1 (Release_2_5_1:6813, September 26 2009, 13:47:54)
[JRockit (R) Oracle (Oracle Corporation)]
2014-11-21 06:09:19, 877 INFO [AIF]: Java platform: java1.6.0_37
2014-11-21 06:09:19, 877 INFO [AIF]: connect the file encoding: UTF-8
2014-11-21 06:09:21, 368 [AIF] INFO: - START IMPORT STEP -
2014-11-21 06:09:24, 544 FATAL [AIF]: error in CommData.insertImportProcessDetailsTraceback (most recent call last): File '< string >", line 2672, in insertImportProcessDetail
RuntimeError: No periods have been identified for the loading of the data in the table 'AIF_EBS_GL_BALANCES_STG'.
2014-11-21 06:09:24, 748 FATAL [AIF]: load balances data launch GL error
2014-11-21 06:09:24, 752 [AIF] INFO: end process FDMEE, process ID: 268
I found a post related to this error, but did not respond.
I know I'm missing something, gurus please help me to overcome this error.
~ Thank you
I managed to overcome this problem,
This was caused due to an error in the map of the time.
In the mapping of source, the name of period should be defined exactly as displayed in the EBS.
for example: {EBS--> OCT - 14} FDMEE {mapping source--> OCT - 14}
The names of the time must be identical.
Compare and get the data in the tables (see post for details)
I have two tables TableA and TableB. I struggle to write a query to get the dates of TableB (instead of TableA dates) where TableA dates don't coincide with the tableB (beginning and end).
Example 1: For account A1234,.
TableA got 2 rows 1/31/2014-3/3/2014 (which corresponds to TableB row), but TableA got another rank 31/01/2014 - 31/01/2014 that corresponds with the date of TableB Begin. In this case, I'm looking for output as below,
Use TableB start and end date and combine number two rows from TableA for this account
ACCOUNT TableB_BEGIN TableB_END AMOUNT A1234 31/01/2014 03/03/2014 100.0000000000 Example 2: For the B7777 account.
TableA end date aligns with the end dates of TableB for this account, in this case I want out put as,.
Use TableB start and end date and get the amount of TableA
ACCOUNT TableB_BEGIN TableB_END AMOUNT B7777 05/04/2013 06/05/2013 200.0000000000 Example 3: On behalf of D5555,.
Even a TableA line corresponds with TableA, there are two other rows in TableA matching start date with TableA and correspondence with the end date with TableA, in this case, that I put as,.
Use TableB start and end date and combine number three rows from TableA for this account.
ACCOUNT TableB_BEGIN TableB_END AMOUNT D5555 08/08/2014 10/09/2014 1100.0000000000 Example 4: To account E6666.
Table corresponds to a row with TableB and no additional lines in TableA, just display the data in A table
Tables and data:
create table TableA ( Account varchar2(10) not null, Begin date not null, End date not null, Amount number(19,10) not null ) ; create table TableB ( Account varchar2(10) not null, Begin date not null, End date not null, Amount number(19,10) not null ) ; TableA Data: insert into tablea (ACCOUNT, BEGIN, END, AMOUNT) values ('A1234', to_date('31-01-2014', 'dd-mm-yyyy'), to_date('31-01-2014', 'dd-mm-yyyy'), 0.0000000000); insert into tablea (ACCOUNT, BEGIN, END, AMOUNT) values ('A1234', to_date('31-01-2014', 'dd-mm-yyyy'), to_date('03-03-2014', 'dd-mm-yyyy'), 100.0000000000); insert into tablea (ACCOUNT, BEGIN, END, AMOUNT) values ('B7777', to_date('18-04-2013', 'dd-mm-yyyy'), to_date('06-05-2013', 'dd-mm-yyyy'), 120.0000000000); insert into tablea (ACCOUNT, BEGIN, END, AMOUNT) values ('C6666', to_date('25-06-2014', 'dd-mm-yyyy'), to_date('08-07-2014', 'dd-mm-yyyy'), 10.0000000000); insert into tablea (ACCOUNT, BEGIN, END, AMOUNT) values ('D5555', to_date('08-08-2014', 'dd-mm-yyyy'), to_date('16-08-2014', 'dd-mm-yyyy'), 1000.0000000000); insert into tablea (ACCOUNT, BEGIN, END, AMOUNT) values ('D5555', to_date('08-08-2014', 'dd-mm-yyyy'), to_date('10-09-2014', 'dd-mm-yyyy'), 0.0000000000); insert into tablea (ACCOUNT, BEGIN, END, AMOUNT) values ('D5555', to_date('16-08-2014', 'dd-mm-yyyy'), to_date('10-09-2014', 'dd-mm-yyyy'), 100.0000000000); insert into tablea (ACCOUNT, BEGIN, END, AMOUNT) values ('E6666', to_date('01-01-2014', 'dd-mm-yyyy'), to_date('01-02-2014', 'dd-mm-yyyy'), 100.0000000000); TableB Data: insert into tableb (ACCOUNT, BEGIN, END, AMOUNT) values ('A1234', to_date('31-01-2014', 'dd-mm-yyyy'), to_date('03-03-2014', 'dd-mm-yyyy'), 100.0000000000); insert into tableb (ACCOUNT, BEGIN, END, AMOUNT) values ('B7777', to_date('05-04-2013', 'dd-mm-yyyy'), to_date('06-05-2013', 'dd-mm-yyyy'), 200.0000000000); insert into tableb (ACCOUNT, BEGIN, END, AMOUNT) values ('C6666', to_date('06-06-2014', 'dd-mm-yyyy'), to_date('08-07-2014', 'dd-mm-yyyy'), 10.0000000000); insert into tableb (ACCOUNT, BEGIN, END, AMOUNT) values ('D5555', to_date('08-08-2014', 'dd-mm-yyyy'), to_date('10-09-2014', 'dd-mm-yyyy'), 1100.0000000000); insert into tableb (ACCOUNT, BEGIN, END, AMOUNT) values ('E6666', to_date('01-01-2014', 'dd-mm-yyyy'), to_date('01-02-2014', 'dd-mm-yyyy'), 100.0000000000); SELECT A.ACCOUNT, A.BEGIN, A.END, A.AMOUNT, B.ACCOUNT, B.BEGIN, B.END, B.AMOUNT FROM TABLEA A LEFT JOIN TABLEB B ON A.ACCOUNT = B.ACCOUNT
Hello
SeshuGiri wrote:
Hi Frank,.
Your query/solution works very well, but I forgot to mention something in the first post...
Please insert these additional lines and try the request again.
TableA Additional lines:
- Insert into TABLEA (ACCOUNT, BEGIN, END, QUANTITY)
- values ('F9999', to_date (January 2, 2014 ',' dd-mm-yyyy ""), to_date (3 January 2014 ', 'dd-mm-yyyy'), 999.0000000000);
- Insert into TABLEA (ACCOUNT, BEGIN, END, QUANTITY)
- values ('A1234', to_date (March 3, 2014 ',' dd-mm-yyyy ""), to_date (4 March 2014 ', 'dd-mm-yyyy'), 999.0000000000);
TableB Additional lines:
- Insert into TABLEb (ACCOUNT, BEGIN, END, QUANTITY)
- values ('A1234', to_date (March 3, 2014 ',' dd-mm-yyyy ""), to_date (4 March 2014 ', 'dd-mm-yyyy'), 999.0000000000);
Question 1:
The table has a rows for A1234 account (i.e. the time period different than the ranks for the same account)
one is A1234 31/01/2014-03/03/2014, A1234 03/03/2014-03/04/2014
Your query that returns two rows for A1234 account (which is what I want), but the amount is messed up.
ACCOUNT BEGIN END TOTAL_AMOUNT 1 A1234 31/01/2014 03/03/2014 1100 2 A1234 03/03/2014 03/04/2014 1100 Except:
ACCOUNT BEGIN END TOTAL_AMOUNT 1 A1234 31/01/2014 03/03/2014 101 2 A1234 03/03/2014 03/04/2014 999 Question 2:
In some cases TableA will have an account (F9999), but the TableB don't. I can just this line by making the Left Join right join?
I don't get the results with additional data. I get 1099 for two lines where account = 'A1234 '. I get 1100 as the amount on the line with the account = "D5555. You did it other changes to data?
Except:
ACCOUNT BEGIN END TOTAL_AMOUNT 1 A1234 31/01/2014 03/03/2014 101 2 A1234 03/03/2014 03/04/2014 999 Still, I don't see why you want to 101 for the amount of the first row. Why not 100?
How can you know which rows from tablea should get attached to what rows from tableb, when the account is not unique?
Maybe you want something like this:
SELECT a.account
b.begin
b.end
SUM (a.amount) AS total_amount
FROM tablea a
ON a.account = b.account JOIN tableb B
AND a.begin BETWEEN b.begin
AND b.end
AND a.end BETWEEN b.begin
AND b.end
GROUP OF a.account, b.begin, b.end
ORDER BY a.account
;
but I guess just to your needs, and guessing is not a very good or reliable way to solve problems.
Question 2:
In some cases TableA will have an account (F9999), but the TableB don't. I can just this line by making the Left Join right join?
Yes, it looks that you want an outer join. What happened when you tried? As always, post your code, the exact results you want from the given sample data, as well as an explanation of how you get these results from these data.
Create the form for selecting data in multiple tables
Hello
I'm getting APEX for the first time and I just read 2 days dev Application Express guide
I tried to play and I can't create a report with the form that select data from several tables
What I want to achieve is a report we'll say 'USERS' makes MANAGER_ID ID, NAME, with a form that allows me to create, delete, change users
The problem is that, once the report with the form created, if I click on create (to create a user) it will ask me for id, name, and manager_id
I need a water drop down which allows me to select managers in the table manager instead of manually insert Director id
How do I do that?
Thank you!
HI Chris,
LOV will use this magic.
Search:
Kind regards
BEnjamin
Unable to display data for the date where there is no entry in the table
Hello
I need a urgent, described below:
I have a table named as 'dirty', consisting of three columns: empno, sale_amt and sale_date.
(Please ref. The table with data script as shown below)
Now, if I run the query:
"select trunc (sale_date) sale_date, sum (sale_amt) total_sale of the sales group by order trunc (sale_date) by 1.
It then displays the data for the dates there is an entry in this table. But it displays no data for the
date in which there is no entry in this table.
If you run the Table script with data in your schema, then u will see that there is no entry for the 28th. November 2009 in
sales table. Now the above query displays data for the rest as his dates are in the table of the sale with the exception of 28. November 2009.
But I need his presence in the result of the query with the value "sale_date' as '28. November 2009 "and that of"total_sale"as
« 0 ».
Y at - there no way to get the result I need?
Please help as soon as POSSIBLE.
Thanks in advance.
Create the table script that contains data:
------------------------------------------
CREATE TABLE SALE
(
NUMBER EMPNO,
NUMBER OF SALE_AMT
DATE OF SALE_DATE
);
TOGETHER TO DEFINE
Insert into SALES
(EMPNO, SALE_AMT, SALE_DATE)
Values
(100, 1000, TO_DATE (DECEMBER 1, 2009 10:20:10 ',' DD/MM/YYYY HH24:MI:SS'));))
Insert into SALES
(EMPNO, SALE_AMT, SALE_DATE)
Values
(100, 1000, TO_DATE (NOVEMBER 30, 2009 10:21:04 ',' DD/MM/YYYY HH24:MI:SS'));))
Insert into SALES
(EMPNO, SALE_AMT, SALE_DATE)
Values
(100, 1000, TO_DATE (NOVEMBER 29, 2009 10:21:05 ',' DD/MM/YYYY HH24:MI:SS'));))
Insert into SALES
(EMPNO, SALE_AMT, SALE_DATE)
Values
(100, 1000, TO_DATE (NOVEMBER 26, 2009 10:21:06 ',' DD/MM/YYYY HH24:MI:SS'));))
Insert into SALES
(EMPNO, SALE_AMT, SALE_DATE)
Values
(100, 1000, TO_DATE (NOVEMBER 25, 2009 10:21:07 ',' DD/MM/YYYY HH24:MI:SS'));))
Insert into SALES
(EMPNO, SALE_AMT, SALE_DATE)
Values
(200, 5000, TO_DATE (NOVEMBER 27, 2009 10:23:06 ',' DD/MM/YYYY HH24:MI:SS'));))
Insert into SALES
(EMPNO, SALE_AMT, SALE_DATE)
Values
(200, 4000, TO_DATE (NOVEMBER 29, 2009 10:23:08 ',' DD/MM/YYYY HH24:MI:SS'));))
Insert into SALES
(EMPNO, SALE_AMT, SALE_DATE)
Values
(200, 3000, TO_DATE (NOVEMBER 24, 2009 10:23:09 ',' DD/MM/YYYY HH24:MI:SS'));))
Insert into SALES
(EMPNO, SALE_AMT, SALE_DATE)
Values
(200, 2000, TO_DATE (NOVEMBER 30, 2009 10:23:10 ',' DD/MM/YYYY HH24:MI:SS'));))
Insert into SALES
(EMPNO, SALE_AMT, SALE_DATE)
Values
(300, 7000, TO_DATE (NOVEMBER 24, 2009 10:24:19 ',' DD/MM/YYYY HH24:MI:SS'));))
Insert into SALES
(EMPNO, SALE_AMT, SALE_DATE)
Values
(300, 5000, TO_DATE (NOVEMBER 25, 2009 10:24:20 ',' DD/MM/YYYY HH24:MI:SS'));))
Insert into SALES
(EMPNO, SALE_AMT, SALE_DATE)
Values
(300, 3000, TO_DATE (NOVEMBER 27, 2009 10:24:21 ',' DD/MM/YYYY HH24:MI:SS'));))
Insert into SALES
(EMPNO, SALE_AMT, SALE_DATE)
Values
(300, 2000, TO_DATE (NOVEMBER 29, 2009 10:24:22 ',' DD/MM/YYYY HH24:MI:SS'));))
Insert into SALES
(EMPNO, SALE_AMT, SALE_DATE)
Values
(300, 1000, TO_DATE (NOVEMBER 30, 2009 10:24:22 ',' DD/MM/YYYY HH24:MI:SS'));))
COMMIT;
Any help will be necessary for me
Kind regardsWITH tab AS (SELECT TRUNC(sale_date) sale_date, SUM(sale_amt) total_sale FROM sale GROUP BY TRUNC(sale_date) ORDER BY 1 ) SELECT sale_date, NVL(total_sale,0) total_sale FROM tab model REFERENCE refmodel ON (SELECT 1 indx, MAX(sale_date)-MIN(sale_date) AS daysdiff , MIN(sale_date) minsaledate FROM tab) dimension BY (indx) measures(daysdiff,minsaledate) main main_model dimension BY (sale_date) measures(total_sale) RULES upsert SEQUENTIAL ORDER ITERATE(1000) until (iteration_number>refmodel.daysdiff[1]-1) ( total_sale[refmodel.minsaledate[1]+iteration_number]=total_sale[cv()] ) ORDER BY sale_date
using a clause type
Ravi Kumar
Conversion of data in a table by using a For loop
I'm trying to transpose data in a table using a loop from the size of the array, and then decrease until 0. Can someone help please if you have an example?
This looks like a school exercise.
Determine how to calculate the index in the input array and how to calculate the index in the output array. Use the Index and tunnel exit autoindxing table or Index table, and then replace the subset of the table.
Lynn
Report of the Group of dates for end of month
Hi guys
I need to get 6 months of data grouped by months end dates...
I need to automate this query so that it looks always to date for the last 6 months
How do I get there?
The reason for writing the automated query, it's that this sql script is assigned to the business objects reporting.
I use the pl/sql
Here's the DOF
create the table #Something
(
base_date datetime, int connections
)
Insert #Something
Select ' 01 jul 2013', 21 Union all the
Select ' 02 jul 2013', all 22 union
Select ' 03 jul 2013', 210 Union all the
....
...
Select July 31, 2013,"Union 498
' Select ' 01 August 2013 ', 44 Union all the
' Select ' 05 August 2013 ', 66 Union all the
...
....
Select ' 03 dec 2013", 456 union all
.
.
'Select December 31, 2013,"788
..............................................................................
Desired output
Connection of base Date
31 jul 500 (not exact, just randomly)
August 31 600
30 sep 356
31 Oct 676
30 Nov 544
31 Dec 456
..............................................................................
Hope this helpsHello
In Oracle, you can do this:
SELECT LAST_DAY (TRUNC (base_date)) AS last_day_of_month
SUM (connections) AS total_connections
OF something
WHERE base_date > = TRUNC (ADD_MONTHS (SYSDATE,-6), 'MONTH')
AND base_date< trunc="" ( ="" sysdate, =""> >
GROUP OF LAST_DAY (TRUNC (base_date))
ORDER BY last_day_of_month
;
If you would care to post some CREATE TABLE and INSERT statements so you want the results of work from these data of the sample, then I could test this.
Using Oracle? #Something (with a sign # at the beginning) is not valid a table name, and datetime is not a valid data type in Oracle.
Always say what version of Oracle you are using (for example, 11.2.0.2.0).
See the FAQ forum: https://forums.oracle.com/message/9362002
The query above works if base_date is a DATE or TIMESTAMP.
Since it is now January 2014, what are "the last 6 months? The above query assumes that they are the last 6 months, that is, July to December 2013.
If you mean the current (incomplete) and 5 months before it (i.e. August 2013 to January 2014), then add 1 month to the two deadlines in the WHERE clause:
WHERE base_date > = TRUNC (ADD_MONTHS (SYSDATE,-5), 'MONTH')
AND base_date< trunc="" (add_months="" (sysdate, ="" 1) =""> >
Get the data in the table in the format of number
Ive got this table with numbers in it, that I want to use for some simple calculations, but I get the message that the data in the table is not a number:
The whole is in a loop for, with teller1 as in ascending order.
code:
var xco:Array = [180,233,271,292,292,270,231,179,124,74,34,11,9,30,70,121];
var yco:Array = [11,33,73,124,181,232,270,290,291,271,234,183,125,72,33,11];for (var teller1 = 1; teller1 < 33; teller1 ++) {}
var ringsegment_mc:Ring_1 = new Ring_1();
ringsegment_mc.x = XCO [teller1] + kernplaats;
ringsegment_mc.y = yco [teller1] + kernplaats;
ringsegment_mc.addEventListener (Event.ENTER_FRAME, vernietig);
addChild (ringsegment_mc);
{Switch (teller1)}
box 16:
kernplaats = Math.Random () * 600 + 300;
kernplaats = Number (400);
trace (yco [teller1]);
trace (yco [teller1] + kernplaats);
}
}If the trace functions are:
undefined
NaN
so I tried to use this:
trace (yco [3]);
trace (yco [3] + kernplaats);who gave this:
124
524
If something goes wrong in trying to read the table, but what? and how can it be solved.
I don't know what you're after, but if you want to use the same loop twice, then put it inside another loop... (Note that arrays start at index 0, not 1)
for (var i = 0; i)<2;>2;>
for (var teller1 = 0; teller1<16; teller1++)="">16;>
var ringsegment_mc:Ring_1 = new Ring_1();
ringsegment_mc.x = XCO [teller1] + kernplaats;
ringsegment_mc.y = yco [teller1] + kernplaats;
ringsegment_mc.addEventListener (Event.ENTER_FRAME, vernietig);
addChild (ringsegment_mc);
{Switch (teller1)}
box 16:
kernplaats = Math.Random () * 600 + 300;
kernplaats = Number (400);
trace (yco [teller1]);
trace (yco [teller1] + kernplaats);
}
}}
Read xls file and display the data in the table.
Hello
Try to read the data from an xls or csv file and fill the same data in the table. If I need to use the table to store the data from the file and display, hoping that someone could help.
Thank you
Hari
Hi hari,.
One thing that is very important when you use the Excel activeX interface (in case you need it) is good termination of worksheet/workbook/lettering handles.
You need these handles to specify what cell in which file you are trying to access.
If you are unable to throw each handle you have, then you will be left with ghost Excel process in your task manager, devours your system's memory.
Thus, when debugging of your application, open the Task Manager and the watch as Excel treats created/destroyed and make sure that you end up with zero Excel process running when your application is closed.
Also consider the case of fault for your program. Check that your exit routes did not omit any termination of handle.
Hello
This morning, I lost all my week end test data. You know a procedure secure my data in the event of an accident of electricity?
Attached my VI. I export my datas from the table when necessary...
Thanks a lot for your support
Rémi
remi69330 wrote:
This morning, I lost all my week end test data. You know a procedure secure my data in the event of an accident of electricity?
Save a file on your hard drive. You should do this anyway. I recommend that you take a look at the producer/consumer and use the second loop to write the data to a file.
concatenate the data in 2 tables in a third table as well as in CONCATENATE strings
Hello. as the title says, I wish to only concatenate the data in 2 tables in a similar third table that concatenate strings don't. All tables should be 1 d. For example, suppose that there is 1 table with the following: 1. 2; 3; 4 and table 2 with:; b; c; d. I would like a table 3 either 1 a, 2 b, 3 c, 4 d. Now this could be done easily with above mentioned concatenate strings, then table construction. but table 1 and 2 have something like 150 items. Rather painful. Any ideas?
Hold arrays of two strings in a loop for example, concatentate the strings inside the loop and run the result réécrirait array3.
Autoindexing manages table manipulations.
MIke...
Maybe you are looking for
-
If I open a new tab, I can't enter any address at any site. Well, that I can enter, just at the moment where I hit return the address of the typewritten page disappears and returns to "go to a Web site. Nothing happens. I can use the search box (goog
-
How to connect a G-Drive to my HP Touchsmart 520?
Original title: "G - DRIVE IN SAME NETWORK CONNECTED to an AIRPORT EXPRESS, HOW can I CONNECT to a HP TOUCHSMART 520?" I WOULD LIKE TO KNOW HOW THE CONFIGURATION ABOVE WITH THE CORRECT NETWORK PROTICAL? Thank you!
-
Aero and the on-board video card in PC Home Premium
Recently, I tried to run the Aero to my system feature and found it does not work because the video card was not able to manage this feature, but it's the video card that was shipped with my purchase of the home edition Premium 64 bits of the system.
-
Audio Realtek mixer of inhibition inadvertently sound for internet explore
When the user click with the right button on the sound mixer and it opens, there are two columns for IE11. I don't know why are there two columns. They both returned to cut even after you move the slider to increase the sound. I tried to uninstall th
-
problem installing photoshop_64_ccssaa_2016 and crashed my Dreamweaver
I try to install photoshop_64_ccssaa_2016. I just run the installation application. And checking the installation box stay here for a long time. I then interrupt the installation. Now, it crashed all my Adobe software, including Dreamweaver product.