Last END ORS
Hello
Can someone please tell me last ORS for the Oracle Purchasing, iProcurement.
Thanks in advance to all.
user8822881 wrote:
Hello
Can someone please tell me last ORS for the Oracle Purchasing, iProcurement.
Thanks in advance to all.
Please see these links.
Identify the recommended electrode for E-Business Suite environments
https://blogs.Oracle.com/stevenChan/entry/recommended_patches_for_oracle_e
Identify the last families Packs for Oracle E-Business Suite
https://blogs.Oracle.com/stevenChan/entry/latest_available_packs_for_oracle
Thank you
Hussein
Tags: Oracle Applications
Similar Questions
-
Please add go to the 'last' / 'end' page
I would be nice to have an option to simply type cmd/ctrl + J and type "end" or "last" and go to the end of the document
without using the mouse.
There is already a shortcut for this. Cmd (Ctrl) + shift + page down.
-
Work of the SQL Agent - last execution in return in the output of the rule
Hello world
EU struggling to change the DBSS - Jobs doesn't have a rule for the last time of execution at the exit of the rule. Whenever the alert is deactivated, the alarm regenerates and we need to make the time of incapacity for work in the output of the alarm.
It is where I have to this day.
def a = #last_run_finish_time_obs #.
def d = new Date (a)
return d.toString)
where last_run_finish_time_obs = 1338543342000
However, I get the following result of the "run query Condition" in respect of the State
com.quest.nitro.service.sl.interfaces.scripting.ScriptingException: com.quest.nitro.service.sl.interfaces.scripting.ScriptAbortException: groovy.lang.GroovyRuntimeException: did not find constructor for: def java.util.Date (com.quest.nitro.service.scripting.ObservedDataQueryResult) - beginning of script - a = #last_run_finish_time_obs # def d = new Date (a) return d.toString () - end script--
I guess it's because as #last_run_finish_time_obs # is a collection of values.
How to recover the last value of this object
I have observed data under Configuration - and I get the underside of properties for the object under the last race last end time Obs
Start time
End time
Time sampled
Value
Any help would be appreciated.
Try this:
----------------------------
def a = #last_run_finish_time_obs #.
def d = new Date (Long.valueOf (a.toString ()))
return d.toString)
-
Asterisk on the end dates - unconstrained assigned
I have 2 subprojects in P6: engineering and Construction. I got the update in English and downloaded using check-in option.
Two problems occurred:
(1) certain activities have end dates displayed with asterisks, even if no constraint not assigned, and
(2) Float Total at least one activity in English is not calculated correctly: activity in English is open, TF = 10 days, what is wrong (should be: end of Eng + Construction = 100 days).
Thanks to you all.
Kind regards
PNNHi, PNN,.
Control external in the beginning start first, then finish later than external. Here are the constraints created by P6 when subprojects are imported separately. This feature is intended to preserve the calculations for dates between networks. In your case, because the way you work (separate files) after that you receive al subprojects, you must re-create the relationships between them, and then remove the external dates. To remove external dates, display these columns (section Dates) on the layout. Then click the cell to change or remove it by using the BACKSPACE key.
I suggest you to encode activities between projects and record any changes in ms Excel (gal changes, reason, etc.). Another suggestion is that a single date of data for all subprojects if possible because of the impact on the calculations for dates at the earliest of several dates. Finally, if you use 6.2 or later, it is also possible to calculate float Total based on the last end of all subprojects open dates.
I hope this helps.
Hugo
-
Number of unknown member during an attempt to propertyMap
In my application, I have a main.qml that has a TabbedPane.
The 2nd part is the LeadInformation.qml page, which has a NavigationPane manipulated a several page questionnaire.
From the first page, I have a menu option that pushes a page of BarcodeScan.qml to scan the barcode. When data is read, I want to fill in the fields on the LeadInformation.qml.
I added a function in the ApplicationUI to analyze the data of barcode.
When the data are analyzed, I try to use the propertyMap update fields on the page.
QmlDocument *qml = QmlDocument::create("asset:///LeadInformation.qml"); QDeclarativePropertyMap* propertyMap = new QDeclarativePropertyMap; propertyMap->insert("iFirstName", data.mid(m_startSpot, m_endSpot - m_startSpot)); qml->setContextProperty("propertyMap", propertyMap);
And in the LeadInformation.qml page
TextField { id: tfLeadFirstName hintText: "Lead First Name" input.submitKey: SubmitKey.None text: propertyMap.iFirstName; }
In the qml page, I get one! symbol and 'unknown member '.
I guess I need to declare something somewhere else to make it work. Examples are to change the values in the main.qml page. I have not seen an example to change values on another page.
This is what worked.
Instead of calling to a source of the page, I just added the Page as an object.
In the main.qml, I added the NavigationPane (LeadInformation.qml)
import bb.cascades 1.0 import bb.system 1.0 TabbedPane { id: mainTabPane showTabsOnActionBar: true property bool databaseOpen: false tabs: [ Tab { title: qsTr("User List") imageSource: "asset:///icons/ic_view_list.png" PageBase { databaseOpen: mainTabPane.databaseOpen page: "LeadsList.qml" } }, Tab { title: qsTr("Add User") imageSource: "asset:///icons/AddSubscription.png" LeadInformation { } } ] }
In the Navigation pane, which contains all of the fields that fills in the barcode data, I added the BarcodeScan page in the ComponentDefinition for action that calls the bar code
import bb.cascades 1.0 import bb.system 1.0 NavigationPane { id: navigationPane property string barcodeOutput; property int currentLeadID; onCreationCompleted: { _app.setLastLeadID(0); } Page { id: leadsInformation titleBar: TitleBar { // Localized text with the dynamic translation and locale updates support title: qsTr("Lead Information") + Retranslate.onLocaleOrLanguageChanged appearance: TitleBarAppearance.Branded; } ScrollView { scrollViewProperties.scrollMode: ScrollMode.Vertical Container { layoutProperties: FlowListLayoutProperties {} clipContentToBounds: false Picker { id: pkEmployee title: "Bell and Howell Employee" kind: PickerKind.Expandable rootIndexPath: [] dataModel: XmlDataModel { id: dmEmployees source: "xml/employees.xml" } pickerItemComponents: [ PickerItemComponent { type: "employee" content: Container { Label { text: pickerItemData.email } } } ] onSelectedValueChanging: { console.debug("selectedIndex = " + selectedIndex(0)) var selectedEmployee = dataModel.data([0, selectedIndex(0)]) console.debug("selectedEmployee 0,0 email = " + selectedEmployee.email) lbEmployee.text = selectedEmployee.email } onSelectedValueChanged: { console.debug("selectedIndex = " + selectedIndex(0)) var selectedEmployee = dataModel.data([0, selectedIndex(0)]) console.debug("selectedEmployee 0,0 email = " + selectedEmployee.email) lbEmployee.text = selectedEmployee.email if(lbEmployee.text.length > 2 && lbSelectedShow.text.length > 2) { if(aiNextButton.enabled == false) { aiNextButton.enabled = true } } } } Label { id: lbEmployee textStyle.fontStyle: FontStyle.Italic textStyle.fontWeight: FontWeight.Bold } Picker { id: pkShow title: "Show" kind: PickerKind.Expandable rootIndexPath: [] dataModel: XmlDataModel { source: "xml/show.xml" } pickerItemComponents: [ PickerItemComponent { type: "show" content: Container { Label { text: pickerItemData.name } } } ] onSelectedValueChanging: { console.debug("selectedIndex = " + selectedIndex(0)) var selectedShow = dataModel.data([0, selectedIndex(0)]) console.debug("selectedShow 0,0 name = " + selectedShow.name) lbSelectedShow.text = selectedShow.name } onSelectedValueChanged: { console.debug("selectedIndex = " + selectedIndex(0)) var selectedShow = dataModel.data([0, selectedIndex(0)]) console.debug("selectedShow 0,0 name = " + selectedShow.name) lbSelectedShow.text = selectedShow.name if(lbEmployee.text.length > 2 && lbSelectedShow.text.length > 2) { if(aiNextButton.enabled == false) { aiNextButton.enabled = true } } } } Label { id: lbSelectedShow textStyle.fontStyle: FontStyle.Italic textStyle.fontWeight: FontWeight.Bold } Header { title: "Lead Information" } TextField { id: tfLeadFirstName hintText: "Lead First Name" input.submitKey: SubmitKey.None } TextField { id: tfLeadLastName hintText: "Lead Last Name" input.submitKey: SubmitKey.None } Header { title: "Company Information" } TextField { id: tfCompanyName hintText: "Company Name" input.submitKey: SubmitKey.None } TextField { id: tfJobTitle hintText: "Job Title" input.submitKey: SubmitKey.None } TextField { id: tfAddrLine1 hintText: "Address Line 1" input.submitKey: SubmitKey.None } TextField { id: tfAddrLine2 hintText: "Address Line 2" input.submitKey: SubmitKey.None } TextField { id: tfCity hintText: "City" input.submitKey: SubmitKey.None } TextField { id: tfStateRegion hintText: "State / Region" input.submitKey: SubmitKey.None } TextField { id: tfCountry hintText: "Country" input.submitKey: SubmitKey.None } TextField { id: tfPostalCode hintText: "PostalCode" input.submitKey: SubmitKey.None } Header { title: "Contact Information" } TextField { id: tfPhone hintText: "Phone" inputMode: TextFieldInputMode.PhoneNumber input.submitKey: SubmitKey.None } TextField { id: tfPhoneExt hintText: "Phone Extension" input.submitKey: SubmitKey.None } TextField { id: tfFax hintText: "Fax" inputMode: TextFieldInputMode.PhoneNumber input.submitKey: SubmitKey.None } TextField { id: tfEmail hintText: "eMail" inputMode: TextFieldInputMode.EmailAddress input.submitKey: SubmitKey.None } } } actions: [ ActionItem { id: aiNextButton enabled: false title: qsTr("Purchasing Timeframe") + Retranslate.onLocaleOrLanguageChanged ActionBar.placement: ActionBarPlacement.OnBar imageSource: "asset:///icons/ic_next.png" onTriggered: { currentLeadID = _app.getLastLeadID(); if(currentLeadID == 0) { // Create new Sales Leads _app.createLeadRecord( tfLeadFirstName.text, tfLeadLastName.text, tfCompanyName.text, tfJobTitle.text, tfAddrLine1.text, tfAddrLine2.text, tfCity.text, tfStateRegion.text, tfCountry.text, tfPostalCode.text, tfEmail.text, tfPhone.text, tfPhoneExt.text, tfFax.text, lbEmployee.text, lbSelectedShow.text); console.debug("New Sales Lead - Create") } else { // Update current Sales Lead _app.updateLeadRecord( currentLeadID, tfLeadFirstName.text, tfLeadLastName.text, tfCompanyName.text, tfJobTitle.text, tfAddrLine1.text, tfAddrLine2.text, tfCity.text, tfStateRegion.text, tfCountry.text, tfPostalCode.text, tfEmail.text, tfPhone.text, tfPhoneExt.text, tfFax.text, lbEmployee.text, lbSelectedShow.text); console.debug("Existing Sales Lead - Update Sales Lead ID: " + currentLeadID) } _app.readLeadRecords(); // Refresh the list view. _marketingWS.insertSalesLead(1); //navigationPane.push(purchasingTimeframeDefinition.createObject()); } }, ActionItem { id: aiScanButton enabled: true title: qsTr("Scan Barcode") + Retranslate.onLocaleOrLanguageChanged ActionBar.placement: ActionBarPlacement.InOverflow imageSource: "asset:///icons/ic_scan_barcode.png" onTriggered: { navigationPane.push(barcodeScanDefinition.createObject()) } } ] attachedObjects: [ // Definition of the second Page, used to dynamically create the Page above. ComponentDefinition { id: purchasingTimeframeDefinition source: "PurchasingTimeframe.qml" }, ComponentDefinition { id: barcodeScanDefinition BarcodeScan { } } ] } onPopTransitionEnded: { // Destroy the popped Page once the back transition has ended. page.destroy(); } backButtonsVisible: false }
Then, on the page BarcodeScan.qml, I just referenced the fields and added to the white list. Instead of calling C++ code to analyze the data, I just analyzed it on the page. QString provides a better string manager that the regular chain, so it's not as clean as I wanted it to be.
Page { property string decodeString property string tmpString property int initStartSpot: 0; property int startSpot: 0; property int endSpot: 0; property int x:0; property int vcard: 0 property int vcard2_1: 1 property int vcard3: 2 property int print2013: 3 property int codeType: 0 Container { id: cMain layout: StackLayout { } horizontalAlignment: HorizontalAlignment.Center verticalAlignment: VerticalAlignment.Center background: Color.create(0x9CDCF6) Container { id: cCameraReader layout: AbsoluteLayout { } background: Color.White horizontalAlignment: HorizontalAlignment.Center verticalAlignment: VerticalAlignment.Center Camera { id: camera preferredWidth: 450 preferredHeight: 450 onCameraOpened: { camera.startViewfinder(); } } BarcodeDetectorVisuals { id: bdvScanner preferredWidth: 450 preferredHeight: 450 barcodeDetector: barcodeDetector onDetected: { // Set the UserID to 0 _app.setLastLeadID(0); decodeString = data; dataArea.text = decodeString; if(decodeString.indexOf("VCARD") > 0) { if(decodeString.indexOf("VERSION:3.0") > 0) { codeType = vcard3; } else if(decodeString.indexOf("VERSION:2.1") > 0) { codeType = vcard2_1; } else { codeType = vcard; } } else { codeType = print2013; } dataArea.text += "\n " + codeType; switch(codeType) { case vcard2_1: case vcard: case vcard3: // Get Name tmpString = decodeString.substr(decodeString.indexOf("N:"), decodeString.indexOf("TITLE:")); tfLeadFirstName.text = tmpString.substr(0, tmpString.indexOf(";")); tfLeadLastName.text = tmpString.substr(tmpString.indexOf(";") + 1, tmpString.length); break; case print2013: //qDebug() << " Last End spot = " << decodeString.lastIndexOf(QString("$")); //qDebug() << " $ counts = " << decodeString.count(QString("$")); startSpot = 0; initStartSpot = decodeString.indexOf("$", startSpot + 1); for(x=0; x < 22; x++) { endSpot = decodeString.indexOf("$", startSpot + 1); dataArea.text += "\n x:" + x + " endSpot = " + endSpot; if(endSpot != -1) { switch(x) { case 0: // badge ID //qDebug() << " Badget ID = " << decodeString.substr(startSpot, endSpot - startSpot); break; case 1: // blank or Show ID //qDebug() << " Show ID = " << decodeString.substr(startSpot, endSpot - startSpot); break; case 2: // First Name tfLeadFirstName.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 3: //Last Name tfLeadLastName.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 4: //Title tfJobTitle.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 5: //Company tfCompanyName.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 6: //AddrLine1 tfAddrLine1.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 7: //AddrLine2 tfAddrLine2.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 8: //City tfCity.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 9: //StateRegion tfStateRegion.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 10: //PostalCode tfPostalCode.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 11: //Country tfCountry.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 12: //Phone tfPhone.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 13: //PhoneExt tfPhoneExt.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 14: //Fax tfFax.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 15: //LeadEmail tfEmail.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 16: //RegClass //tftext = decodeString.substr(startSpot, endSpot - startSpot); break; case 17: //PrincipalBusiness //tftext = decodeString.substr(startSpot, endSpot - startSpot); break; case 18: //Primary Job Function: //tftext = decodeString.substr(startSpot, endSpot - startSpot); break; case 19: //Influence in your company's buying decision //tftext = decodeString.substr(startSpot, endSpot - startSpot); break; case 20: //Number of Employees //tftext = decodeString.substr(startSpot, endSpot - startSpot); break; case 21: //Annual Sales Volume: //tftext = decodeString.substr(startSpot, endSpot - startSpot); break; case 22: //Products you are interested in (Multiple Answer/Comma Delimited) //leadContainer.tftext = decodeString.substr(startSpot, endSpot - startSpot); break; } startSpot = endSpot + 1; } else { break; } } } navigationPane.pop(); } } } attachedObjects: [ BarcodeDetector { id: barcodeDetector formats: BarcodeFormat.Any camera: camera } ] TextArea { id:dataArea text: "" textFormat: TextFormat.Auto maximumLength: 400 } } onCreationCompleted: { if (camera.allCamerasAccessible) { camera.open(); console.debug("rear camera opened") } else { dataArea.text = "Cameras are not accessible" } } }
It is the solution. This works.
Not the solution I was looking for, but I don't have the time now to try again.
My guess is that propertyMap will now also work with the way I'm treated Page calls.
-
How to stop SysListView scrolling animation when selecting elements with keyboard
I'm migrating from Windows XP to Windows 7 and use two programs that use SysListViews to display lists of files and folders. Programs are Explorer2 and QDIR (both are file managers that accompany the Explorer). They present them a pane like the Explorer that displays the files in a folder and can display them using large icons, small-icon view, list, Details view mode, and so forth, just like Explorer. What I use is list mode.
Now the problem. You can use the keyboard to navigate through the page. Cursor right key for example, selects the file in the next column to the right of its current, and repeated position cursor rights continue to move a column to the right. When a column that is off the screen is required, this column is presented the screen and so on. Likewise, HOUSE selects the first file in the folder, and the last END; the window is changed to display the selected file.
But in Windows 7, the display is scrolling animated from its current position to the one containing the selected file. When you move a column to the right, for example, data Scrolls left (take a second quarter or a half second or if) up to the column to the right has been brought to the screen. When moving to the first file to the end, by the RECEPTION and at the END, a sequence spinning updates occurs when the display is refreshed during his trip.
On XP, updates are instantaneous - there is no animation. This is what I want.
Of course I disabled all the Visual effects, that I don't see in Win 7, such as those in the context menu of the computer to the properties of system settings advanced to all parameters of these Performance checkboxes are disabled.
What can I do to stop this animation and get the immediate update?
Hello
I suggest you to contact the manufacturer of the software for extra support.
-
WiFi doesn't connect automatically
I've upgraded to Windows 7 8. I can see my wireless network, check the box to connect automatically, click on connect, enter my key and connection OK. Next time I start my PC it does not automatically connect to my network, and I have to go through the manual to connect all over again. How can I get Windows 8 to automatically connect to my network?
- Now, it is probably the key element... I went to Device Manager, where she was still listed as a "802.11n USB WIreless LAN Card" selected "Update driver software" and "Browse my computer for driver software" and then "Let me pick from a list of drivers on my computer" where I noticed there were two drivers for '802.11n USB WIreless LAN Card' that has been chosen is completed in "(Microsoft)" the other ended in 'RaLink' as my wireless is RaLink chipset, I chose that, restarted it about 5 times and every time got almost instant Wi - Fi.
For me, that did the trick. In my case, I got Intel and Microsoft. Intel has already selected, so I ran over to Microsoft. Now, to restart, it connects to wifi instantly.
I really hope this helps everyone out there.
It worked for me also. In the Device Manager, to the title of the network card, right-click on Intel (r) Dual Band Wireless - N 7260 or name of regardless of the adapter and select "Update driver software". Then, browse my computer for driver software. Then, "Let Me pick one...» "For me, there were three drivers with Intel and the last ending with"(Microsoft). Choose this one, and there you go!
-
If condition in rtf xml editor
Hi all
I want to use IN an IF condition to limit the records in my xl report
Basically, I have three fields say the tags xml for them are X, Y, Z and I use below
<? xdofx:If X! = 0 AND Y! = 0, AND Z! = 0 ? >
My intention is to limit the recording including X, the values Y and Z are zero
But the records with zero also come in the report, please suggest.
Thank you
Valsaint
Then you need two groups in rtf.
Take a table with two rows and two columns.
in the first label col headid and second pass get another table which a HAV roq and 3 passes and place labels in that.
second row first column set for each tag in the last pass and header insert a table with a line and 3 passes. After the table give the end tag for the headers.
In the auxiliary table in the first pass gives shipments for each tag with if condition and other passes give tags and give last end tag for the shipments.
-
Ink is full, but the print quality is not good with HP Officejet 7000
I was printing on CD labels/stickers just now and noticed that even if I chose Normal / the best print quality, the result is always the same: it looks faded, and as if I'm out of ink.
There are not any warnings I was running out of ink, but I replaced the cartridge anyway. However, print quality has remained the same. Should I set in the settings? Help.
PS, It might be useful to know that, because we bought this last end of July 2010, we only used two or three times, never until today.
I hope you help me find a solution for this. Thank you!
Apparently, the way out is the cleaning cartridge and harmonizing.
-
Display the Type SQL PL values
Hello, team ,
I use once in pl/sql table I want to know how to display the value of the type.
DECLARE L_NUMBER PLCH_NUMBER_T := PLCH_NUMBER_T(1,2,5,6,0,2); BEGIN DBMS_OUTPUT.PUT_LINE('count='||L_NUMBER.COUNT); DBMS_OUTPUT.PUT_LINE('First='||L_NUMBER.FIRST); DBMS_OUTPUT.PUT_LINE('count='||L_NUMBER.LAST); end;
Output as :-
Count = 6
First = 1
Last = 6
Number of() 3) := 5
Number of() 6):= 2
Can be...
SQL > declare
2 l_number plch_number_t: = plch_number_t (1,2,5,6,0,2);
3. start
4 because me in 1.l_number.count
5 loop
6 dbms_output.put_line ('number ('| to_char (i) |')-' | l_number (i));
7 end of loop;
8 end;
9.
Number (1) - 1
Number (2) - 2
Number (3)-5
Number 4 - 6
Number (5) - 0
Number (6) - 2PL/SQL procedure successfully completed.
-
Hi gurus
I read about collection and practice but I got stuck in the following codes:
-----------------------
Code
DECLARE
RECORD IS of TYPE RecordTyp (employees.last_name%TYPE, the last
ID employees.employee_id%TYPE);
REC1 RecordTyp;
-type rec1 is the RecordTyp table;
BEGIN
SELECT last_name, employee_id bulk collect INTO rec1
WHERE ROWNUM < 2 employees;
DBMS_OUTPUT. PUT_LINE
(' Employee #' | rec1.id |) ' = ' || REC1. (Last);
END;
------------------------------------------------------------------------
Error
Error from the 1 in the command line:
DECLARE
RECORD IS of TYPE RecordTyp (employees.last_name%TYPE, the last
ID employees.employee_id%TYPE);
REC1 RecordTyp;
-type rec1 is the RecordTyp table;
BEGIN
SELECT last_name, employee_id bulk collect INTO rec1
WHERE ROWNUM < 2 employees;
DBMS_OUTPUT. PUT_LINE
(' Employee #' | rec1.id |) ' = ' || REC1. (Last);
END;
Error report:
ORA-06550: line 7, column 51:
00497 PLS: do not mix between row and several rows (in BULK) list
ORA-06550: line 8, column 6:
PL/SQL: ORA-00904: invalid identifier
ORA-06550: line 7, column 3:
PL/SQL: SQL statement ignored
06550 00000 - "line %s, column % s:\n%s".
* Cause: Usually a PL/SQL compilation error.
* Action:
-----------------------
Please guide
Note: if I remove bulk collect then its works fine.
You bulk collect into an array. Maybe say you something like
declare type recordtyp is record( last emp.ename%type ,id emp.empno%type); type recordtyparray is table of recordtyp; rec1 recordtyparray; begin select ename ,empno bulk collect into rec1 from emp where rownum < 2; dbms_output.put_line('Employee #' || rec1(1).id || ' = ' || rec1(1).last); end;
BTW, CODE uppercase: it is very old.
Also, even if it is good to practice using these features for when you might need them, 99
times out of 100 you shouldn't use liaison in bulk and in PL/SQL loops when pure SQL would.
-
Add a data source to cfm 11/Tomcat
It is possible to add a to the tomcat container jdbc data source runs an instance of CF 11? If so, is any documentation on how to do it?
Thanks in advance...
Ok. To answer your original question, yes it is possible to add a jdbc data source to the container tomcat running in ColdFusion. I will illustrate this by adding a PostgreSQL JDBC data source. Be aware that the following is experimental and, as far as I know, not documented elsewhere. Take notes that will help you, if necessary, to cancel the procedure and return the system to its original state.
The steps are:
1) download and install the latest version of PostgreSQL for your operating system database management system; make sure it is running. Write down the password you give to the server.
(2) download the driver JDBC41 of PostgreSQL, version 9.3 - 1102. It is the version that corresponds to Java 1.7 and 1.8, the versions of Java Virtual Machine from ColdFusion 11. The download is a JAR file. Copy it to the Tomcat lib directory located at {CF_HOME_DIRECTORY} \runtime\lib\.
3) you now add the driver details for the Tomcat configuration files, {CF_HOME_DIRECTORY}\runtime\conf\context.xml and {CF_HOME_DIRECTORY}\runtime\conf\web.xml. }} Make a backup of these files before continuing.
Open the context.xml file in a text editor and add the following element just before the last end tag:
Type = "javax. Sql.DataSource' driverClassName = "org.postgresql.Driver"
URL = "" jdbc:postgresql://127.0.0.1:5432 / booktown ' "
username = "cf_user" password = "cf_password" maxActive = "20" maxIdle = "10" maxWait = "-1" / >
Open the web.xml file in the text editor and add the following element just before the last end tag:
example of postgreSQL data source JDBC/postgres javax.sql.DataSource Container (4) the resource XML element points to the URL of the database of the booktown. I will now add this database and user for the PostgreSQL server.
Download booktown.sql. Use it to install the database of the booktown on the command line by running a PostgreSQL command as
psql-f /path/to/booktown.sql - U postgres template1
If it works without a hitch, then the booktown database will be installed. The user is initially the default superuser "postgres". Use it to connect on the command line:
psql - U postgres
It will ask you to enter the password, the one you threw down earlier. The command line begins with the command prompt:
Postgres = #.
Now, create another user, cf_user, also on the command line, corresponding to the resource XML element:
Postgres is # CREATE ROLE cf_user PASSWORD "cf_password" SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN;.
(5) you have now completed setup. Restart ColdFusion.
To test, save the following code in a CFM file and run it.
username = "cf_user";
password = "cf_password";
classObj = CreateObject ("java", "java.lang.Class");
classObj.forName ("org.postgresql.Driver");
driverManager = CreateObject ("java", "java.sql.DriverManager");
connectionURL = "" jdbc:postgresql://127.0.0.1:5432 / booktown '; "
Conn = driverManager.GetConnection (connectionURL, username, Password);
myQuery = "" SELECT * FROM books ";"
preparedStatement = conn.prepareStatement (myQuery);
RS = PreparedStatement.executeQuery()) ();
While (RS. Next {}
WriteOutput (RS. "GetString ("title") &"
");}
RS. Close();
Conn.Close ();
To cancel the procedure above, first stop ColdFusion. Then remove the jar from Tomcat lib direct and restore the context.xml and web.xml to their original state. You can also uninstall the PostgreSQL database management system.
-
Quoting docs.oracle.com lines
Associative arrays are used to represent sets of data of arbitrary size, with quick search of an individual element without its position in the table and without
having to loop through all the elements in the array. Here is a small example
DECLARE
TYPE population_type IS TABLE OF NUMBER INDEX OF VARCHAR2 (64);
country_population population_type;
continent_population population_type;
howmany NUMBER;
that VARCHAR2 (64);
BEGIN
country_population ('Greenland'): = 100000; -Creates the entry
country_population ('Iceland'): = 750000; -Creates the entry
-Research associated with a value chain
howmany: = country_population ('Greenland');
continent_population ('Australia'): = 30000000;
continent_population ('Antarctica'): = 1000; -Creates the entry
continent_population ('Antarctica'): = 1001; -Replaces the previous value
-Returns "Antarctic" which comes first in alphabetical order.
who: = continent_population. FIRST;
-Returns "Australia", which comes last in the alphabetical order.
who: = continent_population. LAST;
-Returns the value corresponding to the last key, in this
-case of the Australia population.
howmany: = continent_population (continent_population. LAST);
END;
/
my doubt is in what regards the statement "with a quick search of an individual element without its position in the table".can someone give a small relevant example. Therefore the associative arrays is also appropriate for relatively small lookup tables where the collection can be constructed in memory eachtime, a procedure is called? Thanks in advance...>
my doubt is in what regards the statement "with a quick search of an individual element without its position in the table".can someone give a small relevant example.
>
Think of it as gradually close equivalent to a hash of key/value pairs. When you want to insert an item provide you the key, Oracle axe key to find the entry in the hash table. It doesn't matter if the entry is the first, last, or any other arbitrary position in the table.
>
Therefore the associative arrays is also appropriate for relatively small lookup tables where the collection can be constructed in memory eachtime, a procedure is called?
>
The scope of the variables of the procedure is only the duration of the procedure. They are built when the procedure is called and destroyed when the procedure ends.If any associative array created in the procedure must be small to minimize the impact on the performance of the table fill. If the procedure performs complex calculations or ETL one record at a time, it is more efficient to get a value from the array instead of having to re - query a database table for him.
For example, for the United States, a list of 50 State and their full name abbreviations that can be stored in an associative array and procedure could extract the code of the State of a data element, and quickly find the name of the State of the table. It would be faster than executing a query on the database on a lookup table.
-
Calculate the length of the lines of text
In a script, I'm inserting text which is a 4 line poem. Each line except the last ends with a hard return ('\n'). I would like to calculate the length (in inches or in another unit of length) of each individual line to find the longest line and adjust the left indent accordingly. Is it possible to get the length of a line of text in a script?
Thank you!
A return is \r
\n is a soft return
Take a look through the comments here
http://InDesignSecrets.com/setting-poetry-flush-left-Center-on-longest-line.php
-
PLSQL utl_file.put_line error after the script running 8 ' e
Hello
I wrote a script to export the results of a query to an external file using utl_file.put_line. the script works very well for the first 8 hours.
anonymous block filled
anonymous block filled
anonymous block filled
anonymous block filled
anonymous block filled
anonymous block filled
anonymous block filled
anonymous block filled
When I run the same script for the 9th time, I got an error message
Error from the 1 in the command line:
DECLARE
OutFile utl_file.file_type;
TYPE rc_a IS REF CURSOR;
l_rc_a rc_a;
TELLER_1 INTEGER: = 3;
ctt1 varchar (2000);
AA varchar (2000);
BEGIN
FOR TELLER_1 IN 3.9
LOOP
OutFile: = utl_file.fopen ('DAT_DIR', 'A1_W' |) TELLER_1 | "_KANS. TXT', 'w');
ctt1: = '
SELECT
WORP_XW | ''|''||
D | ''|''||
V5_AANTAL_KANS | ''|''||
V5_AVG_KANS | ''|''||
V6_AANTAL_KANS | ''|''||
V6_AVG_KANS | ''|''||
V7_AANTAL_KANS | ''|''||
V7_AVG_KANS | ''|''||
V8_AANTAL_KANS | ''|''||
V8_AVG_KANS | ''|''||
V9_AANTAL_KANS | ''|''||
V9_AVG_KANS
Of
(
Select D, V5_AANTAL_KANS, V5_AVG_KANS, V6_AANTAL_KANS, WORP_XW, ROUND(V6_AVG_KANS,6) V6_AVG_KANS ROUND(V5_AVG_KANS,6),
V7_AANTAL_KANS, V7_AVG_KANS, V8_AANTAL_KANS, ROUND(V8_AVG_KANS,6) V8_AVG_KANS ROUND(V7_AVG_KANS,6),
V9_AANTAL_KANS, ROUND(V9_AVG_KANS,6) V9_AVG_KANS
Of
(
Select WORP_XW, D, KAN,
case VERSIE_VX when "V5" then 5 when "V6" when then 6 "V7" when then 7 "V8" when then 8 "V9" then 9 end as VERSIE_VX
of VMENS. TOEVAL_BASIS_W' | TELLER_1 | »
)
pivot)
AVG (KAN) as AVG_KANS,
COUNT (KAN) AS AANTAL_KANS
by VERSIE_VX (V5, V6, V7, V8, V9 9 8 7 6 5)
)
ORDER BY D
)';
L_rc_a OPEN FOR ctt1;
LOOP
EXTRACTION l_rc_a IN aa;
EXIT WHEN l_rc_a % NOTFOUND;
-dbms_output.put_line (aa);
UTL_FILE.put_line (OutFile, aa, TRUE);
END LOOP;
END LOOP;
UTL_FILE.fclose (outfile);
END;
Error report:
ORA-29283: Ongeldige bestandsbewerking/ORA-29283: invalid file operation
ORA-06512: in 'SYS. UTL_FILE", regel 536
ORA-29283: Ongeldige bestandsbewerking/ORA-29283: invalid file operation
ORA-06512: in rule 14
29283 00000 - "invalid file operation.
* Cause: An attempt was made to read from a file or a directory which is
not exist, or the file or directory access was denied by the
Operating system.
* Action: Check access privileges to the file and directory on the file system
and if reading, check that the file exists.
The same is true when I use another script writes the results of a query to an external file. Y at - there someone who can tell me why I have an error message after running 8 ' e of this script.
With respect,
Michiel van MensThe second time through the outer loop, it will fail because you try to open a file that is already open. Move your utl_file.fclose statement of before the last "END LOOP '.
Maybe you are looking for
-
Need new HDD for Satellite L300-1BD
Hey,. my laptop Toshiba Satellite HARD drive no longer works.So I'm going to buy a new one today, but what one do need me? As the number of inches? And what is a SATA connection or something? Could someone please tell me what I watch when I buy a new
-
Qosmio X 300-130 PQX32E - CPU upgrade question
Hello I'm thinkink of upgrading my CPU TOSHIBA QOSMIO X 300 - and searching the net I found that this is the most powerful processor can I upgrade to [Intel® Core 2 Extreme Processor QX9300(Cache de 12 Mo, 2,53 GHz, BUS frontal à 1 066 MHz,)] so befo
-
Hello Can someone tell me if it is possible to connect directly the Satalite feel G40 laptop computer:-J' have my flat plate on the roof, so using the coaxial cable coming from this plate can I connect the other end directly to the laptop. - and Yes
-
Hello I have a TestStand GUI developed in c#. Now, TestStand has some modules Labview which must send the UIMessages to the interface graphic (it is too deep in Labview code to bring back to TestStand to send the UIMessage). When I use the complete e
-
print screen/sysrq, what exactly is