Need help with a table, someone pls help8-)
The problem I have right now is that I want to display variable myblock low 10 times and then test it for collison,.
I use the variable to store the blocks, pls I apologize because I am new to this, if I put manally the variable i of lets say 1 and 2
for collison, and then test it works, but when I use the loop for, it only detects that an object in the table, I think that there is something
simple probably missing an additional variable, for example as you can see in the code that I am trying to use the 'i' to replace for example addChild(blockarray[1]);
I put it manually to display two blocks in the code below, collison detection works, but when I want to use a loop to view and test the collison
It takes only one of the blocks, don't know if it's because that variable i figure to 0 in the loop for, any help would be greatly appreciated, this is my first post here, as I'm new to Actionscript, ty for reading8-)
var thehero:BlueBlock = new BlueBlock;
Thehero.x = 20;
Thehero.y = 20;
addChild (thehero);
var blockarray = new Array()
for (var i: Number = 0; i < 10; i ++)
This is where I place my blocks
{
var myblock:BlueBlock = new BlueBlock;
[i] blockarray = myblock;
blockarray [i] .x = Math.random () * 500;
blockarray [i] there = Math.random () * 400;
trace (blockarray [i]);
blockarray.push (MyBlock);
addChild (blockarray [i]);
}
addChild(blockarray[1]);
addChild(blockarray[2]);
Look for the keyboard events such as you pressed the arrow keys
stage.addEventListener (KeyboardEvent.KEY_DOWN, myKeyDown);
stage.addEventListener (Event.ENTER_FRAME, blockcollision);
function myKeyDown (e:KeyboardEvent) {}
If (e.keyCode == Keyboard.LEFT) {}
Thehero.x-= 5;
}
If (e.keyCode == Keyboard.RIGHT) {}
Thehero.x += 5;
}
If (e.keyCode == Keyboard.UP) {}
Thehero.y-= 5;
}
If (e.keyCode == Keyboard.DOWN) {}
Thehero.y += 5;
}
}
function blockcollision(e:Event):void {}
If (thehero.hitTestObject(blockarray[1]))
{
trace ("hit");
}
If (thehero.hitTestObject(blockarray[2]))
{
trace ("hit");
}
}
Try this:
function blockcollision(e:Event):void { for (var prop:String in blockarray) { if (thehero.hitTestObject(blockarray[prop])) { trace("Hit", blockarray[prop]); } } }
Tags: Adobe Animate
Similar Questions
-
Well guys I have a table which gives me positive and negative values.
I need to use this table and get 2 new tables, one is the array of positive values, the second is the table with negative values, after that I need to get 2 values of it, one is the sum of all the positive elements and I need to know how much positive elements too.
the second value is the sum of all the negatives and how much negative also.
Example:
Table: 5-12, 2, -3, 4
First table: 5,2,4
First value: 5 + 2 + 4 = 11
Number of items: 3
Second table:-12, -3
Second value:-12+(-3) = - 15
Number of items: 2
Something like that!
Thank you
Here's my version 8.6
-
Need help with creating table that inserts the lines according to the amount of data
Hello
I try to create a table for supervisors to enter their subordinates of information and inserts lines for supervisors with several of his subordinates. This form is not be connected to a data source, the supervisors will be simply fill out the form and print. I want it sort of look like this:
Name Position # Ranking Hours I really appreciate any help. Thank you!
Hi Laura,
It's very strange. I downloaded a new version on the site and it works perfectly. The script is in the right place.
I can sugggest you right click on the download link and select "save a copy as" the alternative menu. This should save the form locally and from there, you should be able to open it in Acrobat.
If you are a Mac, make sure that the form opens in preview from Apple.
Also make sure that Javascript is enabled in Acrobat (in the preferences window).
Niall
-
Need help with graph/table
Heey everybody,
I am currently using a Spider8 and Labview to get data from the sensors, after I use Labview to process the data in charts or graphs. Alltough I have 2 small problems using a table/chart:
1: for some graphics I want to use 1 y axis (example: volts or current) and 1 x-axis, time. I want this time to be like clockwork that counts only the seconds (example: 0-100 sec), using absolute time or relative, for formatting is not an option because they rely much too strong/fast. There is an example of this type of charts in the Appendix: measurement of time current vs.
2: for most of the other tables/graphs I want to use several axis y (example for a motor: current, RPM and torque) and I want to use a category axis that may go 'back' (example for a motor: rotations). There is an example of this type of charts in the Appendix: measurement of torque.
I have no idea how to make good sense, so your help is welcome
Thank you!
Hi grasman,.
have you read jcarmodys message on how to apply a trace on a scale there?
See the attachment on how to draw 2 curves on a xy chart and attach each parcel on a scale. I strictly followed the message context help chart and jcarmodys...
I would also say to stay away from express screws: they tend to make more problems than to provide aid. You are more involved in conversions of type (to/from DDT) - using simple son gives you simply more to control what's happening in your code!
-
Need help with performance tables very very huge...
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production.
My DB has many tables and which I am interested in getting sales and product data.
Select / * parallel 32 * / count (1))
Select / * parallel 32 * / separate product pd, s sale prod_code
where pd.prod_opt_cd is NULL
and s.sales_id = pd.sales_id
and s.creation_dts between to_date ('01-07-2012', "YYYY-MM-DD") and
TO_DATE ('2012-07-31', "YYYY-MM-DD")
);
More information-
Total of lines in the sales table - 18001217
Total of lines in the product table - 411800392
creation_dts don't have clue on this subject.
I started the query in the background, but after 30 hours, I saw the error saying-
ORA-01555: snapshot too old: rollback segment 153 with name number
Is there another way to get over the optimized data?>
Select / * parallel 32 * / count (1))
>
If you try to use a PARALLEL index and then useselect /*+parallel (32) */count(1) from (
See section PARALLEL to the doc of the SQL language indication
http://docs.Oracle.com/CD/E11882_01/server.112/e26088/sql_elements006.htm#sthref669 -
How can I get ahold of a LIVE person? I need HELP with my email account (* address email is removed from the privacy *) you can contact me to the * address email is removed from the privacy * or * remove * please someone HELP! Mike Golab
E-mail address is removed from the privacy *.
No, and that has nothing to do with this old thread. This is a scam that last for years. Microsoft never does unsolicited phone calls.Is calling, Microsoft, a scam?
http://answers.Microsoft.com/en-us/protect/wiki/protect_other-protect_scanning/is-that-call-from-Microsoft-a-scam/6718e389-8a00-4E4B-ACA1-d07298ea4c19
Scams by e-mail or web: how to protect yourself
http://www.Microsoft.com/security/online-privacy/phishing-scams.aspx
It's a real call from Microsoft?
http://www.ComputerActive.co.UK/CA/PC-help/2134917/genuine-Microsoft
Avoid scams to phone for tech support
http://www.Microsoft.com/en-GB/security/online-privacy/avoid-phone-scams.aspx
Do not fall for phony phone technical support
http://blogs.msdn.com/b/securitytipstalk/archive/2010/03/09/Don-t-fall-for-phony-phone-tech-support.aspx
Aggressive, persistent Windows tech support fraudsters continue to track consumers
http://www.Computerworld.com/s/article/9248122/Aggressive_persistent_Windows_tech_support_scammers_continue_to_stalk_consumers
What is a certified Microsoft [or] partner?
http://securitygarden.blogspot.com/2011/09/Microsoft-removes-Gold-Certified.html -
Need help with PL/SQL query complex
I need help with a query that need access to data from 3 tables. That's what I did
I created 3 tables
CREATE TABLE post_table
(
post_id varchar (20),
datepost DATE,
KEY (post_id) elementary SCHOOL
) ;
CREATE TABLE topic
(
TOPIC_ID varchar (20),
name varchar (20),
PRIMARY KEY (topic_id)
);
CREATE TABLE blogpost_table
(
TOPIC_ID varchar (20),
post_id varchar (20),
PRIMARY KEY (topic_id, post_id);
FOREIGN KEY (topic_id) REFERENCES topic (topic_id) ON DELETE CASCADE,
FOREIGN KEY (post_id) REFERENCES post_table (post_id) ON DELETE CASCADE
);
Now, I inserted a few values in these tables as
INSERT INTO post_table VALUES ('p1', to_date ('2009-09-14 18:00 "," MM/DD/YYYY mi:ss'));))
INSERT INTO post_table VALUES ('p2', to_date ('2009-07-18 18:00 "," MM/DD/YYYY mi:ss'));))
INSERT INTO post_table VALUES ('p3', to_date ('2009-07-11 18:00 "," MM/DD/YYYY mi:ss'));))
INSERT INTO post_table VALUES ('p4', to_date ('2009-03-11 18:00 "," MM/DD/YYYY mi:ss'));))
INSERT INTO post_table VALUES ('p5', to_date ('2009-07-13 18:00 "," MM/DD/YYYY mi:ss'));))
INSERT INTO post_table VALUES ('p6', to_date ('2009-06-12 18:00 "," MM/DD/YYYY mi:ss'));))
INSERT INTO post_table VALUES ('p7', to_date ('2009-07-11 18:00 "," MM/DD/YYYY mi:ss'));))
INSERT INTO VALUES subject ("t1", "baseball");
INSERT INTO category VALUES ('t2', 'football');
INSERT INTO blogpost_table VALUES ("t1", "p1");
INSERT INTO blogpost_table VALUES ('t1', 'p3');
INSERT INTO blogpost_table VALUES ("t1", "p4");
INSERT INTO blogpost_table VALUES ('t1', 'p5');
INSERT INTO blogpost_table VALUES ('t2', 'p2');
INSERT INTO blogpost_table VALUES ('t2', 'p6');
INSERT INTO blogpost_table VALUES ("t2", "p7");
I'm launching SQL queries on the table in this topic.
I want to write a SQL query that returns me the name of a topic (s) and the number of blog_post (s) associated with the topic in descending order of the number of blog posts created in July.
Can someone please help me to write this query?
Thank you
Published by: user11994430 on October 9, 2009 07:24Thanks for the test of the configuration!
SQL>SELECT t.NAME, COUNT(*) 2 FROM topic t, blogpost_table b, post_table p 3 WHERE b.topic_id = t.topic_id 4 AND p.post_id = b.post_id 5 AND p.datepost >= DATE '2009-07-01' 6 AND p.datepost < DATE '2009-08-01' 7 GROUP BY t.NAME 8 ORDER BY COUNT(*) desc; NAME COUNT(*) -------------------- ---------- baseball 2 soccer 2
HTH, Urs
-
Need help with the port forwarding for a XBox remote Streaming
I have a router R6200v2 and need help with port forwarding.
I came across this set of instructions for setting up stream port forwarding XBox remotely from anywhere
http://kinkeadtech.com/2015/07/how-to-stream-Xbox-one-to-Windows-10-from-anywhere-with-Internet/
I have no idea when it comes to such things and I want to make sure I do it correctly without messing up my existing home network.
Port Forwarding and triggering Port pages setup look very different from what the guy uses. Can someone walk me through what I do to set up please?
Hi @varxtis,
You must enter them in the field for a start external Port and external completion Port. You will need to send individually except for the range of 49000-65000. The steps are as follows.
1. create a Service name (it could be something else that you cannot use the same service name twice. Ex. XBOX1, XBOX2 and so forth.)
2. Select the type of service (TCP, UDP or both)
3 entry 5050 times a start external Port and external endpoints.
4. Select the IP address of your XBOX.
5. Select apply.
6 do the same for other port numbers. To the beach, use 49000 for the external departure Port and for the external completion Port 65000.
Kind regards
Dexter
The community team
-
Need help with network home using Airport extreme
I need help with my home network. I'm not very aware when it comes to all things network. Here's how my network is currently set up.
Cable modem to Airport Extreme for Gigabit Switch. Cables come out of the switch to all areas of the House. I have 2 other extreme airport connected in other rooms of the House directly on the wall that dates back to the switch. I hope I am explaining that properly.
My problem is that this seems to have caused some of my connections cable does not work. When everything is configured, it has worked well. All connections in the House worked. Then we have disconnected one of the extreme airport and moved to another location in the House to have the best wifi coverage. Since that time, a lot of the ethernet wall plugs are not working. For example, when I plug in my Macbook Pro in making ethernet in my kitchen, it says connected but it has an assigned ip address and cannot connect to the internet.
Any help you can provide would be great.
I would like to get the return tech to help you to...
But it is likely that something (or someone) has tampered with the settings.
The layout is fine... but you can cause problems with the network by creating a loop.
This can happen because the AE you moved is connected wrongly... somewhere in the network it is connected to the switch again.
Or AE is set to expand wireless... It's FAKE... It will loop the network on the back main EI wireless.
Unplug the two AE you have that function as extensions...
Turning off everything else... then it works again...
Do it in this order.
Modem... Wait 2 min
AE... Wait 2 min
Switch.
Now check that the network is working properly... power of customers in various locations and make sure everything is good.
If so, then manually reset the two AE of factory and redo their installation.
-
Original title: need help with the blue screen issue
My computer turns saying a blue screen: a problem has been detected and windows were shut down to prevent damage. The problem seems to be caused by the following file: NAVEXI5. SYS PAGE_FAULT_IN_NONPAGED_AREA he seems to have a different error whenever he turns to a blue screen. Can someone help me please.Hello
1. Since when are you facing this problem?
2. you remember to make changes to the system?
3. do you get an error with this error code?I suggest to unplug external devices such as printer, scanner, etc. that are plugged into the system, and then restart the system and check if the problem persists.
Method 1.
I suggest you to do a check disk from the recovery console and check if the problem is resolved. Follow the steps mentioned below.
a. start into the recovery console using the XP CD. Follow the steps mentioned in the article below.
Description of the Windows XP Recovery Console for advanced users
http://support.Microsoft.com/kb/314058
b. perform a disk check.
How to perform disk error checking in Windows XP
http://support.Microsoft.com/kb/315265Method 2.
I suggest you to start with the XP CD and then do a system restore. Follow the steps mentioned in the article below.
How do I recover from a corrupted registry that prevents Windows XP startup
http://support.Microsoft.com/kb/307545I hope this helps.
-
Need help with slui message with the Validation Code: 50
OT: need help with the message 'victim' slui...
Diagnostic report (1.9.0027.0):
-----------------------------------------
Validation of Windows data-->Validation code: 50
Code of Validation caching online: 0xc004c4a2
Windows product key: *-* - YMK9F - 7Q3XK-X7D3P
Windows product key hash: 9WDJkbD1PdUJ + GCdK63bG2yus5g =
Windows product ID: 00371-702-8613485-06367
Windows product ID type: 5
Windows license type: retail
The Windows OS version: 6.1.7601.2.00010100.1.0.048
ID: {60986DD4-5ADA-464C-A590-469385BD5D3A} (1)
Admin: Yes
TestCab: 0x0
LegitcheckControl ActiveX: N/a, hr = 0 x 80070002
Signed by: n/a, hr = 0 x 80070002
Product name: Windows 7 Professional
Architecture: 0 x 00000009
Build lab: 7601.win7sp1_gdr.150928 - 1507
TTS error:
Validation of diagnosis:
Resolution state: n/aGiven Vista WgaER-->
ThreatID (s): n/a, hr = 0 x 80070002
Version: N/a, hr = 0 x 80070002Windows XP Notifications data-->
Cached result: n/a, hr = 0 x 80070002
File: No.
Version: N/a, hr = 0 x 80070002
WgaTray.exe signed by: n/a, hr = 0 x 80070002
WgaLogon.dll signed by: n/a, hr = 0 x 80070002OGA Notifications data-->
Cached result: n/a, hr = 0 x 80070002
Version: N/a, hr = 0 x 80070002
OGAExec.exe signed by: n/a, hr = 0 x 80070002
OGAAddin.dll signed by: n/a, hr = 0 x 80070002OGA data-->
Office status: 109 n/a
OGA Version: N/a, 0 x 80070002
Signed by: n/a, hr = 0 x 80070002
Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3Data browser-->
Proxy settings: N/A
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
Default browser: C:\Program Files (x 86) \Mozilla Firefox\firefox.exe
Download signed ActiveX controls: fast
Download unsigned ActiveX controls: disabled
Run ActiveX controls and plug-ins: allowed
Initialize and script ActiveX controls not marked as safe: disabled
Allow the Internet Explorer Webbrowser control scripts: disabled
Active scripting: allowed
Recognized ActiveX controls safe for scripting: allowedAnalysis of file data-->
Other data-->
Office details:{60986DD4-5ADA-464C-A590-469385BD5D3A} 1.9.0027.0 6.1.7601.2.00010100.1.0.048 x 64 *-*-*-*-X7D3P 5 S-1-5-21-4040712825-3780279311-4191590923 the system manufacturer ,System Product Name American Megatrends Inc. 00371-702-8613485-06367 0802 20110601000000.000000 + 000F3A53C07018400FE 0409 0409 Central Standard Time(GMT-06:00) 0 3 109 Content Spsys.log: 0 x 80070002
License data-->
The software licensing service version: 6.1.7601.17514Name: Windows 7 Professional edition
Description: operating system Windows - Windows (r) 7, retail channel
Activation ID: c1e88de3-96c4-4563-ad7d-775f65b1e670
ID of the application: 55c92734-d682-4d71-983e-d6ec3f16059f
Extended PID: 00371-00212-702-861348-00-1033-7601.0000-1142014
Installation ID: 022214046070387640229264400212325972472065330163335456
Processor certificate URL: http://go.microsoft.com/fwlink/?LinkID=88338
Machine certificate URL: http://go.microsoft.com/fwlink/?LinkID=88339
Use license URL: http://go.microsoft.com/fwlink/?LinkID=88341
Product key certificate URL: http://go.microsoft.com/fwlink/?LinkID=88340
Partial product key: X7D3P
License status: Notification
Reason for the notification: 0xC004F200 (non-genuine).
Remaining Windows rearm count: 4
Trust time: 12/01/2016 11:28:57Windows Activation Technologies-->
HrOffline: 0x00000000
HrOnline: 0xC004C4A2
Beyond: 0 x 0000000000000000
Event timestamp: 1:11:2016 12:55
ActiveX: Registered, Version: 7.1.7600.16395
The admin service: recorded, Version: 7.1.7600.16395
Output beyond bitmask:--> HWID data
Current HWID of Hash: QAAAAAEAAwABAAEAAQADAAAABwABAAEAln3OI0bUDFRsO24dgCKo58SW2JyUY/1mMckmPrb67HxoDsAKMMl2Vg ==Activation 1.0 data OEM-->
N/AActivation 2.0 data OEM-->
BIOS valid for OA 2.0: Yes, but no SLIC table
Windows marker version: N/A
OEMID and OEMTableID consistent: n/a
BIOS information:
ACPI Table name OEMID value OEMTableID value
APIC1425 APIC 060111
FACP 060111 FACP1425
HPET 060111 OEMHPET
MCFG 060111 OEMMCFG
LASRYVITRAGE OEMB1425 060111
ASPT 060111 PerfTune
OEMOSFR OSFR 060111
SSDT DpgPmm CpuPmHello
Thanks to everyone who responded to my question.
Turns out it would not activate the system properties page.
He did, however, turn on the tool online browser without a
hitch. Yes, problem solved.
Jon
-
Need help with a Hp Papvilion Dv7-1270US, from vista to xp 64
Well, I noticed that a lot of guys are useful here with installing XP on Vista and yes I'm another unhappy Vista user, I am a graphic designer and let me tell you programs and performance is not very good on my laptop HP that I am ready to go back to XP.
I have an extra HD a seagate sata 80 GB of my PS3 that I drag never used, so I'll use it to install XP on my laptop
Its what I need help with drivers, man what a pain. I can install drivers left and right that I know how to do this, but Nlite, manual, unzip its so confusing...
good so I use Nlite to wake my sata drivers and my installation of Windows XP on my HP I would add something in there like {video card driver} {driver Chipset} etc, what should I put in the wake? and once the wake is done and winxp is installed in what order should I start to install stuff, please guys Im confused and need help if someone can point me in the right direction of the dv7-1270 drivers I would appreciate...
If I happen to screw up my 80 GB hard drive, not a big deal, blue screen, can not load, etc etc... can I just put my original 320 GB hard drive and back to Vista the way it was. ??? is it possible, which would ease my mind, thank you for your responses and assistance.
Drivers:
Chipset Intel, (install and reboot before other drivers) here
Intel Matrix Storage Manager here
MS-UAA fo SP2 (required with a reboot before the graphic and Audio driver) here
MS-UAA fo SP3 (required with a reboot before the graphic and Audio driver) here
NVIDIA GeForce 9600GT here
Intel Wireless 5100 here
Bluetooth here
Realtek RTL8168C Family PCI - E Fast Ethernet NIC here
Please check first that link written by Joshua Wood and concentrate on problems that may appear when you install the sound card in it.
IDT High-Definition Audio CODEC Pilot,
1 sp41693, pilot, work reported in XP here view
2 SP39671, driver, jobs reported in XP here or here view
3 sp41698, vista, work reported in here XP driver
High-Definition Audio (HDA) Modem Installer and driver here
.NET framework (required before HP Quick Lunch Buttons) here
HP Quick Launch buttons here
Synaptic Touchpad here S
ENE CIR (infrared receiver) here (your Vista driver)
JMB38X card reader Host Controller Driver here
HP 3D DriveGuard 1.10 has here
If you had for 7 unknown devices (buttons drivers), here
Do a manual installation
Go to Device Manager, right click on the unknown device,
Choose update driver, not to communicate.
Choose the install from a list or a specific location, not search, have-disk,
Navigate to the location of machine.inf.
Do it for the rest of the unknown devices
-
Need help with screen Blus of death (BSOD) on my computer toshiba laptop
Hello all, Ive had a little last week, or problems with my laptop. While playing a game (minecraft), I would randomly have a BSOD error and my laptop will re-start. Initially, I gave it no thought, but when it happened again, I decided to try to do a little research, but I'm not terrible with technology and other then I'm neither the case with my own research.
If someone could point me in the direction of a few possible ways to get this problem.
guys do you propose I make to the store and see if they can check it out, what would I need if I did.
I got a program to read some sort of file "dump" made when occurs a BSOD, I publish what this program here says? the program is BlueScreenView, if yes, what I have post the spectator thing? There are has 2 main screens on it, SDO as Sho different dump files (which is on the top) and on the bottom, it lists the names of different files for each dump file I think that some of them highlighted.
im not this product with tech so I don't know much but I need to post anything on my laptop or any information of the dumpfile and would have this info help in any way to determine the problem? just tell me what I have to post and ill get the information displayed in a response, thank you.
-leoknighted
PS: I don't think that playing minecraft is the cause of the BSOD and crashing, but I only get it when playing minecraft, so I don't know if minecraft is causing accidents and others. I watch videos and this all the time and I never have an accident. I'll try and play a different game and see if this causes my laptop down and the cause is perhaps high usuage to my laptop, as I've said games require a lot of power of a laptop/computer, if they are not the 'best' laptop for games. but yh, if someone thinks they can help me and need some information please tell me so I can get it for you. If you guys think it would be best to get a professional to look just mylaptop say, however im save as a last resort.
Hello
I suggest you to refer to this article to check if this help.
Resolve stop (blue screen) error in Windows 7
http://Windows.Microsoft.com/en-us/Windows7/resolving-stop-blue-screen-errors-in-Windows-7Important: System Restore will return all system files not as documents, email, music, etc., to a previous state. These files of types are completely affected by the restoration of the system. If it was your intention with this tool to recover a deleted file to non-system, try using a file instead of system restore recovery program.
Important: while performing the check disk on the hard disk, if bad sectors can be found, then check disk will try to repair this sector. All the data available in this area may be lost.
Custom installation WARNING: If you format the hard disk during the installation, the data files are saved in a Windows.old folder on the partition you installed Windows 7. However, you should always back up the files. If you have encrypted data files, you may not be able to access them after installing Windows 7. If you have backed up your data files and then restored after Windows 7 is installed, you can delete the Windows.old folder.
Let us know if you need help with this question, we will be happy to offer you our help.
-
Need help with SQL/PL/SQL for Dates
Hi Experts - need help with a SQL query.
I need to insert some date fields in a table called CALENDAR_PERIOD.
Current data in CALENDAR_PERIOD table with their data types:
STARTPERIOD (DATE) YEAR (NUMBER) PERIOD_LABEL (Varchar2 255)
02/11/2014 2014 2014/02/11 SUN
03/11/2014 2014 14/03/11 MON
04/11/2014 2014 11/04/14 MAR
I have to increment above values up to the year 2025. I don't know how to write SQL and increment of these values.
Ex: My next value should insert: 05/11/2015 2014 11/05/14 WED like that I need to insert data until 12 31, 2025.
Can you please help me with PL/SQL block?
Really appreciate your help!
DB version:
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE Production 11.2.0.3.0
AMT for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
Thank you
SandyHello Sandy,
Maybe something like
INSERT INTO calendar_period (startperiod, year, period_label)
SELECT DATE '' 2014-11-04 + LEVEL
, TO_NUMBER (TO_CHAR (DATE '' 2014-11-04 + LEVEL, "YYYY"))
, TO_CHAR (DATE '' 2014-11-04 + LEVEL, "MM/DD/YY DY")
OF the double
CONNECT BY LEVEL<= date="" '2025-12-314="" -="" date="">=>
;
((mais je ne comprends pas pourquoi nous créons une telle table "année" et "period_label" peuvent être calculé à partir de startperiod))
Best regards
Bruno Vroman.
-
Oracle Version: 11.2.0.2.0
I need assistance with the output of the query. Here is the table.
With Tbl_Nm as
(
Select 'ABC1' SYSTEM_ID, REGION 'US', 'CHI' SUB_REGION 4000 BALANCE, to_date('1-JUN-2012 10:45:00 am', 'dd-mon-yyyy hh:mi:ss am') LAST_UPD_TIME, 'A' FLAG of union double all the
Select 'PQR2', 'UK', 'LN', 2000, To_Date('1-JUL-2012 10:46:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' starting from dual Union All
Select 'ABC1', 'IND","MAMA", 3500, To_Date('1-AUG-2012 11:47:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select "LMN3", "US", "NJ", 2500, To_Date('1-SEP-2012 09:49:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select "PQR2", "UK", "MC", 2600, To_Date('1-OCT-2012 04:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select 'ABC1', 'US', 'NY', 3200, To_Date('1-OCT-2012 06:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' starting from dual Union All
Select "LMN3", "UK", "BT", 2400, To_Date('1-NOV-2012 07:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' From Dual
)
Select * from tbl_nm
I need the output below.
PQR2 UK MC 2600 1 OCTOBER 2012 04:45
ABC1 US NY 3500 October 1, 2012 06:45
LMN3 UK BT 2500 November 1, 2012 07:45
The need the disc according to this system_id flagged as "A". But if the last disc of 'd' then it must show that the amount, but the file should be displayed in 'A '.
I've tried a few and got stuck. Help, please. Not able to get a balance '.
This question is a bit similar to needing help with a query result
With Tbl_Nm as
(
Select 'ABC1' System_Id, region 'US', 'CHI' Sub_Region, 4000 balance, To_Date('1-JUN-2012 10:45:00 am', 'dd-mon-yyyy hh:mi:ss am') Last_Upd_Time, 'A' flag of double Union All
Select 'PQR2', 'UK', 'LN', 2000, To_Date('1-JUL-2012 10:46:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' starting from dual Union All
Select 'ABC1', 'IND","MAMA", 3500, To_Date('1-AUG-2012 11:47:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select "LMN3", "US", "NJ", 2500, To_Date('1-SEP-2012 09:49:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select "PQR2", "UK", "MC", 2600, To_Date('1-OCT-2012 04:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select 'ABC1', 'US', 'NY', 3200, To_Date('1-OCT-2012 06:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' starting from dual Union All
Select "LMN3", "UK", "BT", 2400, To_Date('1-NOV-2012 07:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' From Dual
)
Select System_Id, region, Sub_Region, Balance, Last_Upd_Time of Tbl_Nm T1
where t1. Last_Upd_Time = (select max (Last_Upd_Time) in the Tbl_Nm T2 where T1.) SYSTEM_ID = T2. SYSTEM_ID)
So maybe you'd then
ORDER BY DECODE(flag,'D',9,1) ASC...
to get the Ds at the end of the list.
or
ORDER BY CASE WHAT flag = has ' (your other filters) AND then 9 or 1 end CSA,...
HTH
Maybe you are looking for
-
Verify the authenticity of the new ink cartridges
Hello I own HP 6700 printer officejet all-in-one. I recently bought new ink cartridges. How can I make sure that these cartridges are genuine? They have a sort of serial number that I can check it out Thank you
-
Can't install Deskjet 3070 on WinXP SP3
I can't install the software for a new Deskjet 3070 B611a printer on a Windows XP SP3 desktop. The printer is connected to a home network wireless and works very well on a laptop Win7 and laptop WinVista. They communicate wirelessly to the network.
-
All of a sudden, not a geniune copy of windows 7?
My mother in law computer suddenly had repeated message that hers is not a genuine copy of windows, even if she had this laptop for a few years. I can run Windows Update on his machine and see the product ID, but when I go to enter the ID, it doesn't
-
Insight into the suddenly crazy browser size
Is it possible to revert to the previous version of Muse? Boy, I feel like a sucker for update!Since the update, when I try to preview my site in the browser it will not display correctly. It blows up huge - way more that I want, or I would fix the d
-
I have problem with Acrobat 8.0 update latest version. Setup displays the information that he has not found acrobat in my computer :/