Create script for manual insertion
Version = database Oracle 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
Hi gurus
I must create script to insert data into my target table and I wonder what is the best way to do this, I don't want to do simple insertion, as below.
insert into the emp
(empno, ename)
values
(12, "xxx")
------------
insert into the emp
(empno, ename)
values
(13, 'yyy')
Please suggest. Thanks in advance
Concerning
Shu
Hello
Of course; If you find it is easier to SELECT all double values, then you can do it like that.
Do not forget that the syntax is
INSERT INTO new_table (col1, col2)
;
where
Insert into the emp choose 10, 'yyy' from dual Union of all the If you really want to use a WITH clause, then what you posted was almost right; you just need to lose the parentheses around the query, that is the left "(" immediately before WITH. and the right ') "at the end.
(empno, ename)
Select 11, 'xxx' of the double
Union of all the
Order 12, 'xxx' of the double
;
Tags: Database
Similar Questions
-
Need help to create a Script for the labelling of Finder of Indesign files
Try to find a way to have a script run in InDesign CS4, who tagged a RED text file once it's been imported into InDesign.
Import multiple text files in an InDesign template. Since there are several text files in the same folder, it must somehow 'delineate' that we have imported this file and move to the next import. I created a 'service' with a keyboard shortcut Automator to label the Red file in the finder, but it would be great if we could have this occurs automatically after we imported in InDesign.
If import us the text wrong by accident and it gets missed in fermentation, it costs us a lot of money with the printer.
Thanks for all the ideas.
Jim
At its heart, it's what you want to do.
tell application "Adobe InDesign CS4" set placeFile to choose file tell active document tell selection --Assumes you have preselected the picture or textbox to place file in place placeFile end tell end tell end tell tell application "Finder" set label index of placeFile to 2 end tell
You can expand on it pretty easily. The script for InDesign dictionary must be in the Library palette in the Applescript editor and the docs for Applescript are all online.
If you need further assistance, you may wish to ask someone to write a complete script for you to spec for real moneyz.
Best o ' luck!
Eric.
-
Problem in the form of Oracle Apex 4.2.5 manual insertion process
Hello
I am not able to insert data through tabular presentation. I created manual Insertion and query update, update data are happing but can't insert a data get error line 6' insert. I have the trigger on insert. Please help me to get the process of manual insertion in table form.
Kind regards
Harish Sharma
Why no one is using the new processing system where you don't need the loop in the table and can use the normal syntax with regard to page elements, that references the columns as tabular
: column
For example:
BEGIN
INSERT INTO task_entries
(NAME, env, demo
)
VALUES (: NAME,: env: demo)
);
END;
Denes Kubicek
-
tablespace as defined in the model of the index is not used for manually defined indexes
Hello
in the 4.0.1.836 version, I defined under model in Modeler, model, physics, use index of preferences / Data (I use the German version, I hope that I have translated correctly) an index template that contains a value for the attribute tablespace.
For indexes that are generated automatically (as defined in the properties of my model under the generation of index DDL/auto/properties") it works fine. There was a thread on this already
. It works very well. However, for indexes that manually in a table there is no tablespace clause in the generated ddl script generated. Is this a bug or am I missing something?Thanks for your help,
Jochen
Hello Jochen,
Yes. You are right. For manually defined indexes, the Index model is applied when the Index is created in the first place. As these properties are in the physical model, it is only effective if the relevant physical model is open when the Index is created in the first place. The Tablespace defined in the template is applied only if the physical model contains a Tablespace with the same name.
I guess it's a bit inconsistent for the automatically generated index Tablespace clause is generated when the physical model is not open.
David
-
Hi all. I wonder if there is a script for indesign that allow me to put the file name / and identifiers of color at the bottom of the Document. Also, who will all place me information where I want. For ex... I want to send a task to plates and rather than manually enter the name of the file - Date and time - and colors on the bottom of the plate/file. I know that when I go to export a file or print a file it is check box to put the information on the file page and it does what I want however he put the information too low on the plate. He added the information down into the corner of the plate area and receiving not Burnt or processed in this area. I need a script to back up the information, if we read.
Hi cbishop01,
First of all, I would not recommend research by sending your files to Indesign as postscript, if your normal process is a PDF workflow. PostScript does not support some features on various output devices. When the postscript from Indesign, you can run into CMYK printing issues when dealing with PDF files and other works of art that contain some transparency effects and mixing modes that cannot be interpreted by the postscript or cannot flatten properly.
My employer uses a script Indesign, we have developed which can be something similar to what you are looking to accomplish. If your plate is always the same size, you can create a model of tax file in Indesign with job info, color chart, date and time, and you want to integrate the model tax. You can use a script Indesign to automatically update the model every time that you print in PDF format (which can be done by adding a custom ease menu item).
Plate files vary from a file in a file, you can convert the file name, time, blocks of color name text in an Indesign library item and drop it right in the position desired on each individual plate installation. You will not have to change these items, you will only place a group element where you want to go.
Is this something that will work for you?
(example of a model of plate file)
(example of slug color library item)
-
advice of script for a beginner please
I am a beginner, trying to enter VMware (winding maze lost in corridors...)
With vSphere Client I can manually create virtual machines on our 5 ESXi host, producing an OVA of our product for distribution file.
I am obliged to describe the process.Can I set up and configure virtual machines using only the ESXi console?
VCLI (free download) allows Windows to create virtual machines on an ESXi host?Outline of what needs of script:
- create a VM (this is the only bit that I was able to do it, using the console for ESXi)
- install CentOS Linux using anaconda with kickstart script
- Configure the virtual machine and the export
Advice, tips or pointers to get this done will be very appreciated!
Thank you very much
Alan
A few answers to your questions
1. you will need to get an ISO of the CD of CentOS and store it somewhere on a data store.
Once this is done, you can use the cmdlet Set-CDDrive with the IsoPath parameter.
2. use the cmdlet New-VM , something like that.
You get the default value of the bu NIC, just specify what portgroup to connect to
$vm = New - VM - name MyVM - ID centosGuest - NumCpu 1 - MemoryMB (1 GB / 1 MB)-DiskMb (60 GB / 1 MB)-NetworkName MyPG
3 see forces a VM to access BIOS screen on the next reboot
4. use the Start-VM cmdlet
Start-VM - $vm VM - confirm: $false
5 once again with the cmdlet Set-CDDrive , but the use of the HostDevice parameter
6 see specify bootable for a virtual machine devices
7. do not apply. You change the boot order before starting the virtual machine
8. who could perhaps be done with the Invoke-VMScript cmdlet and the bash ScriptType parameter. But I have not tested with CentOS.
9. it's a little tricky. The external vSphere unclear when a program inside a guest what OS is finished. There are ways to send some kind of semaphores, see, for example, waiting for the customization of the OS to complete
10. There are a lot of the cmdlet Set-availabe, i.e. Whole-VM, Set-NetworkAdapter...
As a guideine, you should always try to translate your literally to scripts for automation of manual procedures. Sometimes, you should first rethink your account automation procedure.
-
I couln can't find the dbmshptab.sql script for
I would likle to use Profiler hierarchical. In order to use it, I need to run below script. However, I couln t find anywhere I searched the table object DBMS_HPROF package, there are in db. You have an idea how I can run this script? In this case there is not in my computer can I download it anywhere?
Note: I am using windows 7
@$ORACLE_HOME/rdbms/admin/dbmshptab.sql
Thanks for your help.select * from all_objects where object_name = 'DBMS_HPROF'; SYS DBMS_HPROF 10581 PACKAGE BODY 01/11/2007 01/11/2007 2007-11-01:21:00:04 VALID N SYS DBMS_HPROF 7480 PACKAGE 01/11/2007 01/11/2007 2007-11-01:20:55:24 VALID N PUBLIC DBMS_HPROF 7481 SYNONYM 01/11/2007 01/11/2007 2007-11-01:20:55:24 VALID N select * from v$version; Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production PL/SQL Release 11.1.0.6.0 - Production "CORE 11.1.0.6.0 Production" TNS for 64-bit Windows: Version 11.1.0.6.0 - Production NLSRTL Version 11.1.0.6.0 - Production
Rem Rem $Header: dbmshptab.sql 30-jul-2007.13:07:41 sylin Exp $ Rem Rem dbmshptab.sql Rem Rem Copyright (c) 2005, 2007, Oracle. All rights reserved. Rem Rem NAME Rem dbmshptab.sql - dbms hierarchical profiler table creation Rem Rem DESCRIPTION Rem Create tables for the dbms hierarchical profiler Rem Rem NOTES Rem The following tables are required to collect data: Rem dbmshp_runs Rem information on hierarchical profiler runs Rem Rem dbmshp_function_info - Rem information on each function profiled Rem Rem dbmshp_parent_child_info - Rem parent-child level profiler information Rem Rem The dbmshp_runnumber sequence is used for generating unique Rem run numbers. Rem Rem The tables and sequence can be created in the schema for each user Rem who wants to gather profiler data. Alternately these tables can be Rem created in a central schema. In the latter case the user creating Rem these objects is responsible for granting appropriate privileges Rem (insert,update on the tables and select on the sequence) to all Rem users who want to store data in the tables. Appropriate synonyms Rem must also be created so the tables are visible from other user Rem schemas. Rem Rem THIS SCRIPT DELETES ALL EXISTING DATA! Rem Rem MODIFIED (MM/DD/YY) Rem sylin 07/30/07 - Modify foreign key constraints with on delete Rem cascade clause Rem kmuthukk 06/13/06 - fix comments Rem sylin 03/15/05 - Created Rem drop table dbmshp_runs cascade constraints; drop table dbmshp_function_info cascade constraints; drop table dbmshp_parent_child_info cascade constraints; drop sequence dbmshp_runnumber; create table dbmshp_runs ( runid number primary key, -- unique run identifier, run_timestamp timestamp, total_elapsed_time integer, run_comment varchar2(2047) -- user provided comment for this run ); comment on table dbmshp_runs is 'Run-specific information for the hierarchical profiler'; create table dbmshp_function_info ( runid number references dbmshp_runs on delete cascade, symbolid number, -- unique internally generated -- symbol id for a run owner varchar2(32), -- user who started run module varchar2(32), -- module name type varchar2(32), -- module type function varchar2(4000), -- function name line# number, -- line number where function -- defined in the module. hash raw(32) DEFAULT NULL, -- hash code of the method. -- name space/language info (such as PL/SQL, SQL) namespace varchar2(32) DEFAULT NULL, -- total elapsed time in this symbol (including descendats) subtree_elapsed_time integer DEFAULT NULL, -- self elapsed time in this symbol (not including descendants) function_elapsed_time integer DEFAULT NULL, -- number of total calls to this symbol calls integer DEFAULT NULL, -- primary key (runid, symbolid) ); comment on table dbmshp_function_info is 'Information about each function in a run'; create table dbmshp_parent_child_info ( runid number, -- unique (generated) run identifier parentsymid number, -- unique parent symbol id for a run childsymid number, -- unique child symbol id for a run -- total elapsed time in this symbol (including descendats) subtree_elapsed_time integer DEFAULT NULL, -- self elapsed time in this symbol (not including descendants) function_elapsed_time integer DEFAULT NULL, -- number of calls from the parent calls integer DEFAULT NULL, -- foreign key (runid, childsymid) references dbmshp_function_info(runid, symbolid) on delete cascade, foreign key (runid, parentsymid) references dbmshp_function_info(runid, symbolid) on delete cascade ); comment on table dbmshp_parent_child_info is 'Parent-child information from a profiler runs'; create sequence dbmshp_runnumber start with 1 nocache;
See you soon,.
Manik. -
Alternative TOAD to create ddl for open-ended statements. of objects
Hi friends,
What I usually face, it is the obligation to create instructions for some clues, some tables, some synonyms in a schema.
Manually get the script from the TOAD for each object is an enormous task and involves a lot of time.
=========
For example in a schema TESTSCHEM I tables below:
TAB1
TAB2
TAB 3
TAB4
TAB5
and the index below:
IND1_X
IND2_X
IND3_Y
IND4_D
IND5_M
and below synonyms:
SYN1
SYN2
SYN3
SYN4
SYN5
=========
and I want to get the DDL of:
TAB1
TAB4
TAB5
IND2_X
IND3_Y
IND4_D
SYN4
SYN5
Note: I need the exactly the same kind of scripts that TOAD makes for me. For example a table declaration will all create table, index, synonym, subsidies drawn here.
Can anyone suggest some dynamic queries/views that will help me to get the "true TOAD-LIKE" scripts.
No guidance for the scripts of TYPE TOAD will be a great help.
Thank you
Kunwar.Discover the DBMS_METADATA package for your version to the http://tahiti.oracle.com
-
failed to create value for the message Analyzer "at line 54.
I get the following error, can someone please?
failed to create value for the message Analyzer "at line 54.
Hi ejpeppjep,
Check if this article helps you fix the problem: http://support.microsoft.com/kb/823768
If the problem persists, we recommend that you try the following steps and check the result.
Step 1: a. Click Start, click Run, type cmd and click ok.
b. at the command prompt, type sfc/scannow and press ENTER.
c. once the analysis is complete, restart the computer and check if the problem persists.Note: You will be asked to insert the Windows XP disk, if a file is missing.
For more information, see Description of Windows XP System File Checker (Sfc.exe)
Step 2: If the problem persists, restore the computer to an earlier time
see How to restore Windows XP to a previous state .Visit our Microsoft answers feedback Forum and let us know what you think.
-
How to create a document and insert the words and/or art on both sides of the page
How to create a document and insert the words and/or art on both sides of the page
How to create a document and insert the words and/or art on both sides of the page
You create a document by using an application of word processor like Microsoft Word or Corel WordPerfect or OpenOffice Writer. Think of it as a broad a page roll.
When you print the document, you can print all pages of the document on one sheet of paper (the normal default value), or you can print on both sides of a sheet of paper.
Some printers are capable of automatic double-sided printing. With others, you print all the odd pages and then take the stack of paper, turn upside down and put it back into the printer to print all pages. You need either to read your printer manual, or experiment a bit to determine if you need to re - organize the first last pages before printing the second side.
-
Sharing of Scripts for pattern recognition
Hi all
I need to use the same script for .sdp projects.
Anyone know how we could do it?
Thanks in advance!
It's a called Winwrap basic form, he has his own website https://www.winwrap.com/web2/doc-basic/ which is a useful reference. MS COM has long been replaced by .NET but of Windows COM objects can be created using Visual Basic or C++ - there's probably a way to use .NET and assemblies, I simply never need a functiont complex enough to require an object. You are showing the references, they are listed in the registry of Windows OCX/DLL objects. Suppose you want to do a database search you would add the ADO MS Library and you can then create connection and recordset objects in the script and access to a database.
It would be useful to know what's on your WFR project because the AP has a huge layer of script development located above the capabilities of the base product. If you use an AP project, it is wiser to change except the prescribed manner and the code is secured by password, so you can not access it. If you are lost at this level of knowledge then you will find configuration and the use of the BDUS a 3D maze, better get help from companies that specialize in the JAR
-
I try to install SF 6.1 on windows 2008 R2 cluster. I'm looking for manual steps set up according to
- How to create the Coordinator disk group and set up the fencing
- How to create CVM, CFS and resource service
- Steps to use executable thrash for OI test
This seems to be a Veritas / Symantec product - best post in their community - Storage Foundation for Windows Forums | Symantec connect
-
Hello
get DDL package, we find the script to create a table.
Is it possible to find a script to generate the same data?
Thank you.
John Stegeman wrote:
SQL Developer can create a script to "insert" with the results of a query. Just run your query, right-click in the grid of results and choose 'export' - from there you can choose the format "Insert", and you'll get a script with instructions insert containing your data.
I just made this in SQL Developer
Select / * Insert * / * from emp;
or
Select / * csv * / * from emp;
..
There is much more
And press F5. This feature is very convenient!
-
Script for the Configuration DVSwitch
Hello
Someone at - it a script for the information of VDS on the level of the host which nic is connected to what uplink?
Also to remove all Exchange created in the VDS switch for the host and then recreate the exchanges as they were after the connection to the host to a vCenter diff?
Also any script to copy the resource through VCenter pools?
Thank you
Suraj Rawat
The following script will export information of VDS for uplink, the port they are in and what Teddy is used by node ESXi.
$report = {foreach ($dvSw in Get-VDSwitch)
foreach ($esx in (Get-View-id $dvSw.ExtensionData.Summary.HostMember)) {}
$proxy = $esx.Config.Network.ProxySwitch | where {$_.} {DvsUuid - eq $dvSw.ExtensionData.Uuid}
$pnicTab = @ {}
$proxy. Spec.Backing.PnicSpec | %{
$pnicTab.Add ($_.) UplinkPortKey, $_. PnicDevice)
}
$proxy. UplinkPort |
Select @{N = "vdSwitch"; {E = {$dvSw.Name}}.
@{N = "$vmhost"; E = {$esx. Name}},
@{N = "vNIC"; E = {$pnicTab [$_]} Key]}},
@{N = "Uplink"; E={$_. Value}},
@{N = 'Port'; E={$_. Key}}
}
}
$report | Export Csv C:\dvSw-Uplink.csv - NoTypeInformation - UseCulture
-
Script for "fill with pattern" - "use a last used.
Hello guys, I need a bit of help to automate my work.
I work with patterns (such as a Model Designer), but I need to automate my work a little.
There's this great function now 'fill with... model' and then you have scripts for those.
That said what I usually do, it of that I'm working on a few models, proceed to the design then their test on a file empty large format.
so
1. I do my drawing, then
2. click on "set as a new ground" then
3. I opened a new charge fbig large file and
4. use "fill... with reason" and
5. Select the last one, I created...
Then I tried to create an action / script so I can you know, batch job, having to decide which of the grounds are good on large format later.
AND HERE IS THE BUG!
When I added exactly the same steps in the macro in action - it will work for the first file, but for the second, it will always use the same model used previously, as stocks macro sees it as "fill with pattern XXX" (i.e., not as "last used"), so I land upward with all the photos in large format filled with the same model instead of different.
I thought then modify the macro so when I g oto step 4
4. use "fill... with reason" and
Add "use script" among loading scripts, which would have set something like 'use the last defined pattern' - can be both a code like "use the newer model defined" or "new model added to the batch.
I understand the logic, but I have no idea how to do to modify the scripts in this area.
This will save me hours of work, for all your help will be most appreciated.
Here is a link for the jsx file...
Maybe you are looking for
-
I have to constantly move to prevent the browser from hanging for most of the web sites and especially you tube, I have done all the suggested fixes and nothing works. That is to say. Firefox deleted, deleted all the files in the programs, local appl
-
Satellite U500 - 1 6 (PSU9ME) - annoying fan turn on / off constantly
Hello Two days ago, I bought a brand new U500 - 1 6. One thing that is annoying, the system fan. Especially when sitting in a library, as students do sometimes... System information:CPU: intel core i5 430M - 2, 26-2, 53 GHzGPU: Geforce 310MOS: Window
-
HP Slate 7 - should we support the Micro SDHC?
Hi all 7 Slate will support only microSD or microSDHC cards as well? Also, must I format it in FAT32 mode? Seems SDHC are not backward compatible so I can't take a chance before you buy one. Any help please...
-
Updates to the BIOS/driver for Windows 7?
I bought my desktop HP Pavilion Elite m9152p on computer a year ago and I had a few problems at the start. I bought a retail upgrade to Windows 7 Ultimate x 64 and I did a clean install, but it was the same thing before on Vista Ultimate x 64. Some
-
need help with the bios password laptop hp mini 110
Hi, I could really use a little help with my password from the bios of a computer hp mini 110 CL 1134 of the code I get when the password is entered incorrectly is CNU9382K9F