How to run the linux command line sql script

Hi all!

Just quick question. On my server I have to install the crontab script which will be eexecute some sql statements.
How can I undergo command which will execute the script file without asking for password?


sqlplus user/pass... and then what?


Thank you

dlugasx

sqlplus user/pass @yourscript.sql

Tags: Database

Similar Questions

  • Ed on the Linux command line

    Dear all,

    I tried to use the ed command to open an editor to update my sql Linux instructions. Please can someone tell me how I can implement it in the Linux command line.

    Thanks in advance,

    Ash

    How can I open the vi under Linux to do the same thing at sqlprompt please?

    Try

    $ export EDITOR=vi
    $ sqlplus /
    

    You can add this line (export EDITOR = vi) to the profile of the user of your operating system.

  • Running a Seq file when running the GUI (command line option) return an error

    Hello

    I use a LabVIEW based UI to run/execute a file in sequence by using the command line option. My command line is "Test DUT' D:\QF\GUI-test-Sequential.seq D:\QF\GUI-Test.exe - runEntryPoint

    When I ran the get 3 popup saying that some of the perameters 'is not a valid file of LabVIEW"(see attachments). No idea how to avoid these messages? (The user interface works very well and runs the entrypoint of the USE Test)

    LabVIEW 8.5

    TestStand 4.1

    Thank you.

    Hi Tom,

    When you create a new application to your specification to Build, you must set the 'Pass all arguments for application command line' in the Advanced tab.

    Once you do that it should all work.

    Concerning

    Ray Farmer

  • Run the VI command line in Windows 7

    I try to open a VI and do it run whenever called from the command line.  I am running Windows 7 and LabVIEW 2009.

    I followed this guide to get me started.

    First, I marked my VI "run the opening:

    I therefore call on my command prompt similar program:

    "C:/Program Files/National Instruments/LabVIEW 2009/LabVIEW.exe" "C:/User/Desktop/test.vi"
    

    If I already open LabVIEW and running in the main menu, then it opens my VI perfectly without any problems.

    However, if I don't already have LabVIEW open, it opens LabVIEW as she normally does, but it only loads to the main menu.  It doesn't load any of my VI.

    Does anyone know if this is expected behavior, or how can I fix this so that it opens upward Although LabVIEW is currently closed?

    Well... I managed to do work haha.  If you come to ignore the document and open the file via the command line, it opens fine.  I don't know why they say that you can use the command line argument LabVIEW.exe.

    "C:\User\Desktop\test.vi"
    
  • How to run a package command line ODI

    Please can someone help me figure out how to run an ODI package from the command line without creating a scenario of the packaging.



    Appreciate your help.
    Thank you
    B

    You can not. Create a scenario and which then executes the command line.

  • How to run the DAQmxGetTaskChannels command

    I'm reading the attributes of task of MAX by using various DAQmx with VB6 controls.  I found that a simple task of load (DAQmxLoadTask) generates a valid taskhandle of a known in MAX taskname that can be used to get the measurement data using the analog in the command "Read" (DAQmxReadAnalogF64).  The results seem to be already scaling according to my setup in MAX. What I want to do is read the names of the configuration tasks in MAX, select a VB and then read the names of channel and the ways of treatment of MAX and measurement data. I tried the following commands without error but still see a result null in the output string variable.

    DAQmxGetTaskName

    DAQmxGetTaskChannels

    DAQmxGetAICustomScaleName

    Curiously, the command, DAQmxGetTaskNumChans, book with success the number of channels in the setup of MAX.  With this information, I can get the measurement data, but I don't have the engineering units or the names of custom channel for my header output file to include with my measured data.

    I was wondering if the problem is related to incompatibility with newer versions of daqmx? Or maybe another reason?

    I use Windows XP, with service pack 6, a NOR-DAQmx 9.2.2 VB6 and NI DAQPAd-6015.

    Hi hutchins2,

    Thanks for posting, click on the link below that seems to be the reason for our problem:

    Textual DAQmx Device Information functions will return a NULL result

    Eric NOR

  • How to format the output of a .sql script that has select statements.

    Hello

    I have a .sql script which is having several select statements. Each Select statement is to have hundreds of Table columns.

    When we run the .sql script, we are unable to read the output.

    Please let know us the commands that we include for better readable output format.

    You work with the lin standard set 80.
    Increase this setting to set lin 3000 or more.

  • FlexConfig - how to run the "TFTP" command to save config via Flex

    Hello

    I want to save the running of all our firewall configuration via flexconfig.

    The problem is the carriage return after the command 'copy tftp://adresse-IPmarket'

    I need to confirm the tftp server and the file manually

    I don't know - how through flexconfig -

    I found a script flexconfig to load an image to the asa called: ASA_copy_image

    No idea how to change this script?

    THX for the help

    You can try Flexconfig with

    copy /noconfirm tftp://adresse-IP running

    I hope it helps.

    PK

  • GUI: how to run the same command on multiple virtual machines at the same time?

    Hello

    Suppose we have several operations on multiple virtual machines (for example as updated virtual hardware, install vmtools - but it could be something else of course...).

    I would avoid clicking on each virtual machine (especially when we have hundreds of different groups).  It is possible to select sort

    (they are not side by side) and perform on a particular operation on all selected both?

    Hello

    If you use vCenter 5.1 + you can also try to use marking and assign tags on the items in the inventory.

    VSphere 5.5 Documentation Center - apply a label to an object

    Search for items by this tag.

    If you want to use PowerCLI 5.5, you can also search the inventory by this tag.

    Get-VM-Tag which lists all the virtual machines with which

    Here are some links for getting started with vSphere PowerCLI

    Back to Basics: part 1 - installation PowerCLI | VMware PowerCLI Blog - Articles from VMware

    vSphere PowerCLI Documentation

  • How to move a virtual machine from one virtual switch to the other since the SDK / command line?

    How to move a virtual machine from one virtual switch to the other since the SDK / command line?

    Joshua Smith

    Are you referring to the evolution of the virtual machines network portgroup of one to the other and in your case potentially issue on to another vSwitch? If so, take a look at this script: updateVMPortgroup.pl everything you do really makes a call to ReconfigVM_Task() and passing in a specification change and put to day the network in which you want to change

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    VMware Code Central - Scripts/code samples for developers and administrators

    150 VMware developer

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    Twitter: @lamw

    If you find this information useful, please give points to "correct" or "useful".

  • How to run under Linux of the CGF 11 g 10 g (AS)

    I'm the developer of oracle 11g on windows forms.

    My application server is on Linux (10g) platform


    How to run the application server of the CGF 11 g to 10g?

    Published by: Naeem Akhtar, July 13, 2011 10:43

    You cannot run a form 10g with a length of 6i, and you can't run a form 11g with a length of 10g. If you want to run forms 11g, you have to install an application server in 11g.

    see you soon

  • How can I remove the pop up next to my iMac? "to continue the 'java' command line tool, that you must install the JDK

    I can't seem to make the tour of the following pop up: "to use the"java"command line tool, you must install JDK.  I downloaded Java for many times, but the pop-up Guard reappear.  Is there any solution to get rid of this pop up, it makes me crazy?  Help, please!

    What java you have download and install.  To install is TIME legacy java 6 Apple for OS X, which can be downloaded here: Download Java for OS X 2015-001

  • How to run the command import and jpximport using PuTTY

    Hello

    I ' v no access to use prompt command for security in place of the customer.

    So I have to use Putty to run the import command to import my clumsy custom pages in the database.

    I tried XMLImporter using PuTTY, it says import is complete. But still my survey error page that

    Application: DNF, Message name: FND_NO_REGION_DATA. Chips: BOUNDING = / at/oracle/apps/per/coe/XXCOEPG

    oracle.adf.mds.MetadataDefException: unable to find the component with an absolute reference = / at/oracle/apps/per/coe/XXCOEPG, XML Path = null. Please check that the reference is valid and the definition of the component on the file system or in the MDS repository.


    Can someone please provide a solution for this.

    Thanks in advance,
    SAN

    Hi SAN,

    Try it by XML importer it I will work

    for ex:

    Java applications oracle.jrad.tools.xml.importer.XMLImporter $JAVA_TOP/xxtop/oracle/apps/per/jobevaluation/webui/XXTextPG.xml - username username-password apps - rootdir $ rootPackage JAVA_TOP/xxtop/oracle/apps/by/covering/webui - / xxtop/oracle/apps/per/jobevaluation/webui - dbconnection ' (DESCRIPTION = (ADDRESS_LIST = (LOAD_BALANCE = YES) (FAILOVER = YES) (ADDRESS = (PROTOCOL = tcp)(HOST=*xxHostName*) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = DEV))) ".

    After running successfully command below any DB tool

    Begin
    JDR.utils_printdocument ('pagepath' ex: ' / xxtop/oracle/apps/by/covering/webui/XXTextPG ');
    end

    Kind regards
    Srinivas

  • How to deal with the plugin command line options?

    Hello

    I am currently working on a plugin c ++ for Adobe Acrobat 7 with the version 7.0.5 SDK.

    I let the user opens a specific pdf file by clicking on a link in the browser.

    to this end, I signed an additional protocol in the windows registry. Works very well.

    But now, I mean my plugin for specific things when calling acrobat.exe in this way.

    So is it possible to get the specified command line parameters given to acrobat.exe Self?

    It would also help if my plugin can be added with URL parameters.

    I could also use.

    I found nothing on this issue.

    Kind regards

    Sebastian

    No, your plugin does not access to the command line.  Look for other methods of IAC (COM, DDE, memory shared, shared files, etc.).

  • Audit of the process command line

    Someone had a bit of luck with Windows activation command-line process audit as indicated in the article: https://technet.microsoft.com/en-us/library/dn535776.aspx

    I tested this out on a Windows 7 system of teacher to see how the commands executed via the command line are saved in the case where newspapers. I was able to allow all parameters of strategy, as stated in the article however from the test I noticed that not all orders are saved. For example del, rename, and copy commands are not counted while the other type of sys-admin commands (ipconfig, netstat, nslookup, etc.) are being saved. My question is does anyone know why these commands are not counted since according to the example in the article, they should be? Is this normal?

    Thank you

    'Start' is an internal command to the shell.

    You do not say so, but I suspect that you have not run the previous commands at the command prompt. You have executed from within a batch file, which is another way to invoke a shell.

Maybe you are looking for