by the way a parm date plsql webtoolkit by using a URL

I'm under webtoolkit plsql procedure.  I would like to pass a date to search in the plsql code

That's what I'm passing

: http://application-tier server: port/apex/proc_name? var1 = DTE & var2 = 01/09/2013 & var3 = 30/09/2013

CREATE OR REPLACE PROCEDURE

proc_name (var1 in varchar2 var2 as var3 as( ) as

Select

Col.date_changed de TableA

(col.date_changed > to_date(var2, ' MM/DD/YYYY ') and col.date_changed < to_date(var3, ' MM/DD/YYYY '))

The procedure does not compile, but I get an error when you use the URL... What is the right format for the parms passage date in the webtoolkit plsql?

I guess, including ' / ' characters in your date does not help the web browser when "/" is a character in path in the URL.

Maybe try passing your dates in YYYYMMDD format instead and leave aside "special" characters

Tags: Database

Similar Questions

  • Change the format of a date field to be used in a file name.

    Good afternoon!

    I use Livecycle ES3 and Adobe Professional XI

    I have a form in livecycle for employee evaluations.

    I'm saving a file based on domain names.  My problem is when I use a date in my file name field.  I have the scripts to work for the confidence function and the button on the form field.  They are listed below.

    Script folder level-

    mySaveAs = app.trustPropagatorFunction (function (doc, path)
    {
    app.beginPriv ();
    doc.saveAs (path);
    app.endPriv ();
    });

    myTrustedSpecialTaskFunc = app.trustedFunction (function (doc, file_path)
    {
    Privileged and non-privileged code above
    app.beginPriv ();
    mySaveAs (doc, file_path);
    app.endPriv ();
    });

    Button script

    () myTrustedSpecialTaskFunc

    this, "/ c/myfiles / ' + ReviewPeriodTo.rawValue + '-' + Div.rawValue + '-' + EVALTTYPE.rawValue + '-' + LASTNAME.rawValue + '-' + FIRSTNAME.rawValue +

    ".pdf");

    My problem is the ReviewPeriodTo.rawValue.  When I enter data in the form and that you do not enter a value for the ReviewPeriodTo field, the file is saved with the values of other fields, and a null value is inserted where the field would go to date.

    When I type a value such as 2014-03-15 in the area of the ReviewPeriodTo and values in other areas, it works.

    When I try to insert a value in as the 15/03/2014 in the area of the ReviewPeriodTo, I get the following error.

    RaiseError: The file may be read-only or another user can open. Please save the document under a different name or in a different folder.

    Doc.saveAs:16:XFA:form1 [0]: page 1 [0]: #subform [0]: Button3 [0]: mouseUp

    = > The file may be read-only or another user may be subject to open. Please save the document under a different name or in a different folder.

    My problem is, it's part of a much larger process when I import information from a make table query MS Access which is exported to Excel.  If I could just format field data automatically to formation of yyyy-mm-dd since t, that would work, but I don't know how to do coding in MS Access.

    Question: How can I format the data which are entered on the form to be the yyyy-mm-dd format?

    I tried to change the display format and data through models livecycle for the field, but it does not work.

    Any help would be greatly appreciated!

    Thank you

    Hello

    It sounds like you need to specify all the formats users can enter the date in the editing modes.  If it matches one of the formats then the rawValue will be automatically formatted to yyyy-mm-dd format.

    This means that if the formattedValue is equal to the rawValue then the date does not match one of the edition models so you will need display an error message.

    Concerning

    Bruce

  • How to check the size of a folder in a repository (using a URL not a local path)

    Hi, I wrote this function to calculate the size of a local folder, but somehow I can't make it work for a folder in a repository (using a URL).

    Help, please.

    The repository is online. I wanted to be able to get the modified files/folders for one revision to the other, calculate the total size, check if there is enough space on the drive to export. I got this by using TortoiseSVN commands. list of svn - r %s - v %s will give you the size of a file in bytes.

  • Why the sites I visit will not stay the way which I configure them when I use Firefox?

    For example: when I go on MSNBC I put the number of articles for different subjects and they go back by default every time I open firefox. This does not happen with IE. Another is that I have to log in to my hotmail and Gmail account every time that I re - enter in the browser. Help, please.

                                                                             Thanks, Nicholas
    

    Hello Nicolas, all these parameters and States of connection are usually stored in cookies. you have firefox set up to keep cookies between sessions and do not erase this kind of private data, once you close firefox? Additionally, make sure that you do not use an external security or the cleaning tool which may interfere with the management of cookies in firefox.

    Cookies - Information that Web sites store on your computer

  • How can I disable the way Windows 7 organizes buttons in the taskbar?

    Windows 7 is not organize programs according to the order that you run them, he orders them according to the type of programs, but I do like it. How can I have the same old way as Windows XP?

    For example, if I'm under 10 programs and I run Windows Media Player, the Windows Media Player button appears at the beginning the buttons on the taskbar which is what I don't want.

    Thanks for any help.

    On Friday, January 21, 2011 20:23:25 + 0000, Morteza Lotfi wrote:

    Windows 7 is not organize programs according to the order that you run them, he orders them according to the type of programs, but I do like it. How can I have the same old way as Windows XP?

    For example, if now I'm under 10 programs and I run Windows Media Player, Windows Media button player appears in the beginning
    the buttons on the taskbar, which is what I don't want.

    Two points:

    1. you can rearrange the buttons in the order you want by simply dragging
    the where you want.

    2. If you pin a shortcut to the taskbar, it will stay in this
    position (except if you drag it elsewhere). This is a very good
    thing to do, because it maintains the button in the same place all the time.
    If the program is already running. This is the reason why I
    prefer the way Windows 7 t - it instead of using a quick launch bar
    like previous versions of Windows.

    Ken Blake (MS-MVP)

  • can you style the way the muse blog e-mail is.

    Hi, I would like to style how the muse blog module is for the blog post. is this possible or is the only way that can look at a BC blog is the way they did?

    You can use BC Articles where you can include the calendar, list, description, list of bookmarks, title, messages etc. by creating blog on BC end and then use the module on the page of Muse.

    If you do not want to use BC one then you go to third party blogs and integrate into your site from Muse.

    http://www.Muse-themes.com/blogs/News/7257782-creating-a-blog-in-Adobe-Muse-powered-by-NAB wheat

    Thank you

    Sanjit

  • The scroll bars to scroll all the way down (Custom Theme/skin)

    Just had a strange problem with scrollbars in my project goes all the way down to their journey.  I use on custom themes provided with Flash Builder - the theme of CobaltGraphical.  The functions of the scrollbar correctly sometimes but not others (for example, in a s:TextArea that it does not work).  Fortunately, again, it scrolls to the bottom of the content, but the thumb is always a decent amount upwards on the track (about 1/3 of the way approx.)  If anyone has an idea why this is happening, I'd love to know!  I was not wheat to isolate the reasons why again.

    I think you found the problem. I want to reskin of the thumb and add top = "0" bottom = "0" for the first group. This should force graphics of thumb to resize the thumb itself. Like this:

    
    
    ...
    
    
    
    
        ...
    
        
    
  • What is the best way to read data series high speed?

    My goal is to read 14 bytes of binary data of an instrument on the serial RS232 (460800 baud) to 2000 Hz. I didn't get a card series high speed again so I am currently using the standard serial port (115200 baud) and reading at 400 Hz I have configure the port series, empty the buffer, and then enter a while loop to read incoming data. I have a visa 14 bytes read by interation seconds 0.0025 (400 Hz). However it seems that the sensor is spewing data faster that labview can read because the bytes are accumilating in the port. After some time the buffer fills and the program fails.

    Is there a better way to do it?

    Would it not be better to read the larger quantities of data less often, for example as 1400 bytes every 0.25 seconds?

    Thank you

    Hello

    I think it would be good to read several points in a loop, and keep the loop less than 1000 Hz.  I found in the past, have something to run faster than about 10ms tends to fall down when windows loses interest in the process.  So yes, choose the slower you can get away with reading samples - for example to read every 10ms and read 20 samples every time. You should be able to configure your serial port in order to buffer the samples that I guess.

    Also and the issue of windows - if you use a loop "timed" instead of a while loop, so you can force it to an integer value including the ms.  You can also assign a dedicated processor and set the priority to 100, which means that it is less likely to elapse and decide to scan your hard drive for viruses or consult your account e-mail or what he does when he's bored with your program.  Also it "' tells you if the loop has taken longer that planned to run - you can use this to help iron out bugs etc. - report and/or to the user if you missed a few samples.

    http://zone.NI.com/reference/en-XX/help/371361H-01/Glang/timed_loop/

    JP

  • What is the right way to collect data XY?

    How our works of Labview code is very poor. We want to do the following: initialize a DAC and then in a loop: 1. read from an ADC or a counter. Trace playback as a point on a XY Chart (DAC setting like x, ADC read as y) 2. Assign the CAD a new value 3. Wait a while for the equipment to balance 4. Read the ADC again, etc. I don't know a good way to keep the data and send it to the XY graph. Our former program initialized a table 2D, with a column being the ramp CAD and the other holding all zeros. Then, as the data have been collected, zeros have been updated with the data. This method is not good, because the graph has always shown a flat curve until all the data, instead of scaling properly the limits of actual data. Is there a tutorial or an example to help with this concept? I basically understand the help of error and flow control task, but I don't have a knowledge of the shift registers and initialization.

    Rgann wrote:
    Our former program initialized a table 2D, with a column being the ramp CAD and the other holding all zeros.

    You must initialize the array 2D with the ramp for x and the line is that contains all the NaN. Any point that contains a NaN value will not appear on the graph.

    Usually, I prefer to keep the range constant x instead of with each new point scale, but if you want to keep the x scale tight, you can update the min and max range using nodes of property according to the current insert point.

    You already use a shift register (or feedback node) to contain your table, so this should be OK, as is.

    Also remember that if the ramp is linearly spaced, you can use a waveform graph. You just need to set 0 x and dx accordingly. (A xy chart is necessary only if the points are not evenly spaced in x.)

  • The most effective way to log data and read simultaneously (DAQmx, PDM) high data rates

    Hello
     
    I want to acquire the data of several Modules cDAQ using several chassis to
    high data rates (100 k samples per second if possible). Let's say the measurement time is 10 minutes and we got a large number of channels (40 for example). The measured data is written to a PDM file. I guess, the memory or the HARD disk speed is the limits. For the user, there must be a possibility to view the selection of channels in a graph during the measurement.

    My question: what is the best and most effective way to save and read data at the same time?

    First of all, I use an architecture of producer-consumer and I don't want to write and display the data in the same loop. I expect two possibilities:

    [1] to use the 'DAQmx configure logging.vi' with the operation 'journal and read' to write the data to a PDM file. To display the data in a second loop, I would create a DVR samples documented and 'sent' the DVR for the second loop, where the data will be displayed in a graph (data value reference). This method has the disadvantage that the data of all channels is copied into memory. Correct me if I'm wrong.

    [2] use 'DAQmx configure logging.vi', but only with the "journal" operation to write the data to a PDM file. To view the selected data, I had read a number of samples of the TDMS file in the second loop (I'm currently writing the TDMS file). In this case, I have only one copy data from the selected channels (not), but there will be more HARD drive accesses necessary.

    What is the most effective and efficient solution in this case?

    Are there ways to connect and read data with high frequencies of sampling?

    Thank you for your help.

    You say that the measurement time is 10 minutes. If you have 40 channels and you enjoy all CHs at 100 kHz, it is quite a number of values.

    In this case, I always try to approach under the conditions of use. If a measure is only 10 minutes, I just connect all PDM data and create a graphic module that could be in the same loop of consumers where connect you the data. You can always work on the raw data files big offline afterwards, the extraction of all the information you need (have a look at the product called NI DIAdem: http://www.ni.com/diadem/)

    The main issue is that the user needs to see in the graph (or perhaps a chart can be useful too). Lets say that the graph is 1024 pixels wide. It makes no sense to show multiple data to 1024 points, Yes? Every second will produce you 100 data points k per channel. What is the useful information, which should see your username? It depends on the application. In similar cases, I usually use some kind of data reduction method: I use a moving average (Point by point Mean.VI for example) with a size of the interval of 100. This way you get 100 data points of 1000 per channel every second. If you feed your graph every second with these average values, it will be able to data points in 1024 of the store (as a default) by channel (curve), which is a little more than 10 minutes, so that the user will see the entire measurement.

    So it depends on the frequency at which you send data to the consumer. For example, collect you values 1024 by iteration of the producer and send it to the consumer. Here you can make a normal means calc or a bearing (according to your needs) and he draw a graphic. This way your chart will display only the values of the last 10 seconds...

    Once I programmed some kind of module where I use a chart and not a graph, and the user can specify the interval of the absolute timestamp that is traced. If the data size is larger than the size of the chart in pixels, the module performs an average calculation in order to reduce the number of data points. Of course, if you need to see the raw data, you can specify an interval that is small. It all depends on how you program zoom functions, etc... In my case I hade a rate of 1 Hz, so I just kept all data in RAM limiting the berries to keep 24 hours of data, so that technicians could monitor the system. In your case, given the enormous amount of data, only a file read/write approach can work, if you really need access to all of the RAW data on the fly. But I hope that the values of working capital means will be enough?

  • What is the way to find out which app is downloading data from the internet?

    Every time I connect to internet, I see that nearly 100 MB of data is is downloaded, without my consent. I did almost all the applications that I know to ask my permission before you download.

    Yet, some applications are downloading data without my consent.
    I would like to know what are the applications that do.

    What is the way to find out which app is downloading data from the internet?

    There is background applications that automatically transfer and receive data when the computer is connected to the internet. Try if there is active apps running.

    1. click Alt + Ctrl + Del to go to start Task Manager / Applications and end unnecessary tasks.

    2. go in Control Panel / programs / uninstall a program and uninstall unwanted programs.

    I hope this helps.

  • At what stage of the treatment we use a rule to update to apply logic to the way the data are updated in the database?

    Hello

    At what stage of treatment do you use a rule to update to apply logic to the way the data are updated in the database?

    Rahul

    Hello Rahul,

    Update the existing record or a data object

    Thank you

    edynamic expert Eloqua

  • I filled out a form on the page 8 and he saved several times along the way, and now when I open this file, the form is empty?  How can I save my work so I can open the form later and it contains all my data?

    I filled out a form on the page 8 and he saved several times along the way, and now when I open this file, the form is empty?  How can I save my work so I can open the form later and it contains all my data?

    Hi Eileen97933052,

    The PDF form must be extended drive in order to have this feature to save & print the form data.

    Please confirm by the PDF Creator is the PDF reader or not extended.

    Otherwise, if you have Acrobat installed on your system, you can reader extend PDF form yourself.

    Kind regards

    Nicos

  • Data store to the way policy script host

    Hi all

    I use this little script to identify the host LUN political path and status, but hoped someone could help to change the LUN list with a naa starting with naa.600500* and rather than list the lunName data store name?

    $lunpathinfo = @()
    foreach ($vmhost in get-cluster "CLUSTER" | get-vmhost) {
    $hostview
    = to seen $vmhost. id
    $hostview
    . config . StorageDevice . multipathinfo . lun | % { `
    $lunname = $_.id
    $lunpolicy = $_.policy.policy
    $_.path | % {
    $pathstate = $_.pathstate
    $lunpathinfo += ' | Select @{name = "Hostname"; expression = {$vmhost.name}}.
    @{name = "LunName"; expression = {$lunname}},
    @{name = "LunPolicy"; expression = {$lunpolicy}},
    @{name = "PathState"; expression = {$pathstate}}
    }
    }
    }
    $lunpathinfo | Export-csv c:host_luns.csv

    Hello, nicholas1982-

    You can also retrieve the CanonicalName of LUN, so as to then be able filter on them.  You can do filtering in the script foreach block, or, probably a more reusable way, return the CanonicalName as property and then filter on this subject.  So, as:

    &{foreach ($vmhost in Get-Cluster "CLUSTER" | Get-VMHost) {    ## the .Net View of this host, with just a select set of properties    $hostview = Get-View $vmhost.id -Property Config.Storagedevice.Multipathinfo.Lun,Config.Storagedevice.ScsiLun    $hostview.Config.Storagedevice.Multipathinfo.Lun | % {        ## the Lun "key" of this HostMultipathInfoLogicalUnit, to be used to get the corresponding ScsiLun of the same Key, so as to get the CanonicalName of the LUN        $strThisMPInfoLun_LunKey = $_.Lun        $lunname=$_.Id        $lunpolicy=$_.Policy.Policy        $_.path | % {            New-Object -Type PSObject -Property @{                Hostname = $vmhost.Name                LunName = $lunname                LunPolicy = $lunpolicy                PathState = $_.Pathstate                ## the CanonicalName of the ScsiLun that corresponds to this HostMultipathInfoLogicalUnit                LunCanonicalName = ($hostview.Config.Storagedevice.ScsiLun | ?{$_.Key -eq $strThisMPInfoLun_LunKey}).CanonicalName            } ## end new-object        }    }}} | ?{$_.LunCanonicalName -like "naa.600500*"} | Export-Csv -NoTypeInformation -UseCulture  c:\Temp\host_luns.csv
    

    As well as the new property, I changed things a bit:

    1. past the exit the ScriptBlock objects, for more later use/handling/filtering/etc.
    2. update the call to Get-View to retrieve only the specified properties (the properties actually used and necessary), for the love of speed

    How to make this good for you?

  • What is the best way to move the data from the app and Server data structures?

    Hi guys,.

    I developed my application locally with Apex 4.2 and Oracle 11 g XE on Windows 7. Not far away, it is time to move the application to a server Oracle Apex. I guess that Exim is the way to go app. But what about the APA tables and data (tables/as 'customer' and 'account' created specially for the application)? I've been using a modeling tool, so I can run a DDL script to create the database server data structures. What is the best way to move the application data on the server? Is it possible to move the structures and data in a single process?

    Thank you
    Kim

    There is probably another way to get here, but in Developer SQL, on the navigation tree, expand objects until your table, right-click, and then click EXPORT... you will see all the options. It is a tedious process and it sucks IMO, but yes, it works. This is zero especially because 1) it's a table at a time, 2) If your data model is robust and has constraints and sequences and triggers, then you will need to disable all for the insert and we hope you can re-enable constraints, etc. without hitch (good luck, unless you have only a handful of tables)

    I prefer to use the oracle EXP command-line to export an entire schema, then the server target, I use IMP to import the schema. In this way, it is almost true. This makes the dirty life if you develop multiple applications in a single schema, and I felt pain - however - it is much easier to drop the tables and other objects is to create them! (thus, even if the process of EXP/IMP moved more than you wanted to "move".. blow everything you don't want on the target after the fact...)

    You can use method datapump oracle too.

    If not, what can be done, IF you have access to both servers of your instance of SQL developer (or if you can tnsping both already from the command line, you can use SQL * MORE), is to run a script that will identify the objects of your applications apex (usually by the prefix for the names of objects, such as % EBA_PROJ_ etc.) and do all the manual work for you. I've created a script that does just that so that I can pass data from dev to prod servers on a dblink. It is difficult because of the order that must be executed to disable constraints and then turn it back on and of course, more complicated if don't always precede you ALL your "objects demand '... (tables, views, triggers, sequences, functions, procs, indexes, etc.)

Maybe you are looking for

  • I have open tabs, I do not see

    I don't see any tabs open - and I would like to close some of them. I can't find a "old firefox data" folder on my desktop. I'm on a MacBook. Thanks for your help

  • Main calculator HP cannot solve simple equation

    Hello I am trying to solve solve ((2) ^ (x) = x ^ 2, x) But the calculator cannot solve, or I do something wrong? I lost my TI Nspire CX and I have HP 1, is from a recent modern version, have been able to resolve something simple that I'm wrong. (TI

  • The customer support is useless, I can't connect to it.

    I can't connect to customer service, I can't get a phone keyboard: icon to make a call. All that they convey is How to Join... How to get more credit, upgrading xxx Totally useless introduction...

  • IM laging in every game I play

    Hey Yes in every game im trying to play, im laging he... my internet speed is 10 MB and still, it does not help, and I have horrible lag in games... im trying to change ip but it looks like I have a static IP and it changes only to xxx xxx 109.gif an

  • Windows 7 has lost Administrative Priviledges

    I tried to install driver for printer Canon on HP all-in-one computer from my mother-in-law Windows 7 64 bit.  Installation kept failing then I disabled the anti-virus and firewalls.  No change, I went to Control Panel programs and discovered the "to