Setting default schema with Schema Select extension

Has anyone tried to do this? The web site says to put the default schema name in square brackets at the end of the connection name. When I try to do that, SQL Developer says that square brackets are illegal characters for a conneciton name.
In essence I want to have users log in with their own individual accounts, but have their schema context automatically set to a different schema.

You'll need to contact the extension provider directly for support.
You could achieve the same result with a trigger - and you'd have more control over when this happened, what applications, etc.
If you want bracketed connection names, you'll need to run an older version of SQL Developer or manually edit the connections.xml file to add the brackets to the name.
Edited by: Jeff Smith SQLDev PM on Apr 24, 2013 10:43 AM

Similar Messages

  • Process open items: how to set defaults for the additional selections

    Hi FI experts,
    Can anyone tell me if it is possible to set defaults for the additional selections in the processing of open items.
    I am using transaction F-04 (or F-06 or F-07) to post with clearing.
    When processing the open items I can use additional selection parameters. In my case I need to use the document type.  I would like to save this selection as a default but this doesn't seem to be possible.
    1. it is not possible to save a variant for the processing of open items
    2. I can not create a variant transaction (with trx. SHD0) for F-0x since this is only possible for dialog transactions
    Do you see another way to store defaults for the additional selections in open item processing?
    Thanks a lot.
    Dimitri

    Hi,
    When you create a transaction variant from FB05, then also you will not able to default the value for additional selections variable.  Hence SHD0 is not going to help.
    As said above, either you can change the additional selection screen parameters, but here again you can't default the value.  You can only reduce the number of entries on the screen.
    Else you can create a custom transaction code by copying the standard.  Even SAP recommends to create custom codes from standard tcode for clearing purposes depending on requirements. 
    Please check this link:
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/41/37b8e7455b11d182b40000e829fbfe/frameset.htm
    In the above link, in navigation choose clearing -- Specifications for processing open items
    If it is a custom transaction then you can default document number.
    Regards,
    Ravi

  • Set Default Value of Multi-select list item

    I have a multi-select list item I want to default the value of to '%' (which is really '%null%') and have it selected. I tried setting default value of item, but it doesn't take '%null%'. I also tried a computation with a static of
    :P507_ITEM := '%null%'; How do you get the default value set and selected?

    Hi
    Shijesh is right, you need to change your null return value and use that return value as your default. Try and use something of the same datatype as your real return values if you plan to use '%' to display all as it will make your queries simpler. eg.
    Company A returns 1
    Company B return 2
    % returns 0
    Then your query would be...
    SELECT ...
    FROM ...
    WHERE company_id = DECODE(:P_COMPANY,1,1,2,2,0,company_id)
    Hope this makes sense.
    Cheers
    Ben

  • How to set default "opens with"

    If I have MS office and Iwork installed, how do I set a default for the opens with. Right know if it open a word file, it automatically opens with MS office. But I would rather it open with Pages.
    Thanks for your help.

    Select a Word document in the Finder and *Get Info*. Count down to the 5th disclosure triangle - the one labeled *Open With*. Select the program you want to open the file with. You may see it in the list or you may have to select Other and find the program with the file selector. Once you've done that, click on the *Change All* button. That's it.

  • How to Set Default Open With?

    Bridge keeps opening my .png screen shot files with Fireworks, I want them to open in Photoshop — CS4.
    The .png file icons defaults are set to open with Ps.
    Bridge> Preferences> File Type Associations don't even list .png (if that is the place to do it).
    Forum search seems to be hitting on everything but what I am typing in.
    Bridge Help doesn't understand what I am asking.

    Same issue - when I double click a "RW2" file in Bridge my Photomatix application opens the file. Nowhere in the file associations do I see Photomatix or the "RW2" file format for that matter. I reset to default association - still no joy. The only app showing in the "Open With" pull down in Bridge is "Photomatix (default)". How so I change this default to PS4?

  • Setting default printer with printers deployed via print management

    Would like to set default printer on a windows 7 workstation to a printer deployed through group policy using print management.  However whenever machine reboots the defualt changes to a local printer XPS or something else.
    HOw can I set the default printer to one of the deployed printers?

    Even though this is a "machine" connection, the connection is created in each users security context.  Default printers are tied to user profiles and settings.
    I'm sure what is happening is the connection is getting created after the system sets a default or the network path is not yet available when the default printer is set.
    You can use prnmngr.vbs to get and set the default.  If get returns XPS printer, then set can change to one of the valid connections.
    Alan Morris Windows Printing Team

  • Cannot set default programs for a file extension in Gnome

    After a gnome upgrade (cannot remember when), I can no longer set the default program for a particular file extension by right clicking the file in nautilus -> going to "properties" -> going to "open with" tab -> highlighting a program -> pressing "set as default".

    The program I was trying to set was totem for default video playback; wine had made windows media player the default player prior. Interestingly, once I installed gnome-mplayer; the default program changed to gnome-mplayer and I was then able to switch default programs. This error may be related to wine.
    Last edited by Bluerider (2013-07-05 23:07:59)

  • Setting default date range in selection screen when executing as batch job.

    Hi Guys,
    I have one report to be scheduled as weekly batch job and one of the selection screen field is date range. If i set this report to run today then the date range will be from one week back date(Lower value) to today date(Higher value). When it runs for next week(Already scheduled as weekly batch job) the date range should be like this
    Lower value = today date
    higher value= next week run date.
    How can i achieve this functionality. Is it possible through Dynamic variant concept?. Rest of the selection screen fields have some default values and should not change.
    <REMOVED BY MODERATOR>
    Thanks in advance,
    Vinod.
    Edited by: Alvaro Tejada Galindo on Feb 22, 2008 3:52 PM

    Hi Vinod,
    Would suggest you to this.
    Create two parameters : p_start_date and p_end_date of type sy-datum on your selection screen , instead of a range.
    Now goto create a variant from SE38 for the report.
    While creating the variant, mark the "Selection Variable" checkbox for the two parameters and click on "Selection Variables".
    Select the option "D: Dynamic date calculation" for both the date fields.
    For p_start_date - select the option "Current Date"
    For p_end_date  - select the option "Current date +/- ??? days" and put 7 in the pop up.
    Hence what you have done now is, set up a dynamic variant, where p_start_date will have sy-datum and p_end_date will have sy-datum + 7, everytime the job runs.
    Now, in the program, first step after START-OF-SELECTION code the following:
    RANGES: r_date FOR sy-datum.
    start-of-selection.
    refresh r_date.
    r_date-sign = 'I'. r_date-option = 'BT'.
    r_date-low = p_start_date. r_date-high = p_end_date.
    append r_date.
    Hence this way, you would have built your range and use it as needed.
    Cheers,
    Aditya

  • How to set default values with parameter ID EVO

    Hi I need to set price adoption as ''do not copy'' in purchasing default values for buyer(OMFI) and need to assign this default value to the user using the EVO parameter.
    I can not see the parameter ID in dropdown list in maintain user screen.
    Can any one help me in this regard?
    Thank you,

    Just addition to Charlie's suggestion, make sure that you put the same value as used while creating parameter ID. if EVO key is created with Z1 and you put z1 then it wont work, you must put the same value Z1.
    Regards
    Arif Mansuri

  • Setting default "Open With" for files

    Trying the set Photoshop CC 2014 as the default program for all PSD files.  When I select Photoshop CC 2014 as the default and select change all, the default reverts back to the old Photoshop CS6 - which is still installed.  Any ideas?

    I vaguely remember something about this, I can't find the particulars I posted here, only a reference on my site...
    Then, I wonder if they did something like adobe did, a special folder of filetype lists & they had a background App running that would over ride opening graphic files in other apps.
    http://x704.net/bbs/viewtopic.php?f=12&t=6858

  • Setting Default apps with minimal WMs (dwm, awesome, etc)

    How are folks running WMs like awesome and dwm setting their default applications (I'm particularly interested in the web-browser setting)?
    On past systems, I've had GNOME installed, and just used the preferred applications dialogue, but that's not the case in my current system.
    Does anyone know where dwm/awesome look for default app settings, and how I'm able to change those settings?

    For example, in your shell config:
    export BROWSER="your-browser"
    There's nothing like that in either Awesome or dwm. And I don't think one really needs it. In case you want to open certain file types in dedicated applications, you can e.g. define aliases to achieve this. (Everything depends on the shell you use, or the file manager. In my case Midnight Commander together with zsh does the job well.)
    Edit: consider me slowww, always a couple of minutes slowwwer.
    Last edited by bohoomil (2011-03-15 21:57:44)

  • Set default value with mouse click?

    Hi guys,
    I'm new enough to LabVIEW, and indeed this forum, so I hope you can help. I'm guessing it's a simple problem, but I can't figure out how to do it.
    I've got a cRIO taking in 4 analog voltages. Each voltage is from a linear potentiometer which is measuring suspension displacment on a Formula Student race car.
    I have a simple formula set up to convert input voltage to displacment. I've set up a table of inputs which allows me to set maximum, minimum,(from previous sensor calibration) and "stationary" value of each sensor.
    The "stationary" value is what the sensor should be reading when the car is stopped. This is then used as a baseline for either positive or negative displacments.
    My problem is that each time a different driver gets in the car, the susspension is adjusted, or fuel is added, the "stationary" value will be different. I then have to manually set the stationary value back to whatever the current value is when the car is stopped, press "make current value default", and save the VI before continuing.
    What I would like, is a "calibrate" button which I can press that sets the "stationary" value to whatever the current input voltage is. This way, I wouldn't have to reset 4 values each time the car is modified.
    If you have any ideas on how to do this, please let me know.
    I'll attach my VI once I get back to the laptop where it is saved!
    Thanks,
    Kevin Irving
    Solved!
    Go to Solution.

    Kevin,
    As you have discovered you cannot change the default values on a running VI.
    The best way to do what you want is to use a configuration file.  There is a set of VIs specifically designed for that purpose on the File I/O palette.  When the user presses the "calibrate" button, the values are saved to the file. When the program starts it reads the file and sets the controls to the values in the file.  You can even keep different sets for each driver, if the data is consistent enough.
    Read the detailed help files for the configuration VIs and look at the examples.  These will show you how to get started.
    Lynn

  • Setting default values with stored procedures

    I have a form that has Start Date and End Date text fields
    that I want to use to colect parameters to send to another page.
    How do I make these default to the first and last day of the
    current year? I know how to use the DATEADD and DATEDIFF functions
    to get the dates but when the value gets to the page it is 0. My
    data is stored in an SQL server.
    CREATE PROCEDURE [dbo].[sp_FirstDayOfCurrentYear] AS
    SELECT DATEADD(yy, DATEDIFF(yy,0,GETDATE()),0)
    GO
    When I run the in the SQL Query Analyzer it returns
    2006-01-01 00:00:00.000
    The command on the asp page is
    Type = Stored Procedure
    SQL = dbo.sp_FirstDayOfCurrentYear
    Variables: Name = @RETURN_VALUE Type = Integer Direction =
    RETURN_VALUE The remainder are blank.

    You'll need to edit the DW-generated code so your parameter
    is Empty instead
    of whatever default DW assigns (usually "" if you leave
    default blank).
    "mtsonic1971" <[email protected]> wrote in
    message
    news:e7rj9j$132$[email protected]..
    >I have a form that has Start Date and End Date text
    fields that I want to
    >use
    > to colect parameters to send to another page. How do I
    make these default
    > to
    > the first and last day of the current year? I know how
    to use the DATEADD
    > and
    > DATEDIFF functions to get the dates but when the value
    gets to the page it
    > is
    > 0. My data is stored in an SQL server.
    >
    > CREATE PROCEDURE [dbo].[sp_FirstDayOfCurrentYear] AS
    >
    > SELECT DATEADD(yy, DATEDIFF(yy,0,GETDATE()),0)
    > GO
    >
    > When I run the in the SQL Query Analyzer it returns
    2006-01-01
    > 00:00:00.000
    >
    > The command on the asp page is
    > Type = Stored Procedure
    > SQL = dbo.sp_FirstDayOfCurrentYear
    > Variables: Name = @RETURN_VALUE Type = Integer Direction
    = RETURN_VALUE
    > The
    > remainder are blank.
    >

  • Setting Default value with SQL Query as Data Model

    Hi All,
    I am developing report based on SQL query.date set as 'SQL Query'. I have created two params start-date and end-date. I am fetching records from database between these two dates.
    I want to populate sysdate as a default values. I do not want to use datatemplate approach i mean using beforeReport trigger.
    Thansk,
    Vara

    Hi Vara,
    To set the default value for one of your parameters to SYSDATE you need to enter:
    {$SYSDATE()$}
    in the Default Value text box
    Is this what you require?
    Cheers
    Andy

  • Clone schema with current db objects and data.

    Hi Cloud expert,
    I need feature to clone existing schema and create new schema with schema as a service. I created profile that export schema with database objects and data. I created template that use the profile created. While provisioning the template I found all the database objects with template. Now I need a solution to clone the current schema with all the objects at current time. The way I tried contains all the objects that were exists while exporting the schema. I need the solution to clone schema so that it will contains all the objects and data right now.
    While reading document I found snapclone but that is not the exactly the solution I need. I simply need to clone schema with latest db object and data with Self Service portal.
    Thank You in advance.
    Dilli R. Maharjan

    One option is to run BACKUP/RESTORE, once you have restored you run:
    SELECT 'ALTER TABLE ' + quotename(s.name) + '.' + quotename(o.name) +
           ' DISABLE TRIGGER ALL '
    FROM   sys.schemas s
    JOIN   sys.objects o ON o.schema_id = s.schema_id
    WHERE  o.type = 'U'
      AND  EXISTS (SELECT *
                   FROM   sys.triggers tr
                   WHERE  tr.parent_id = o.object_id)
    Copy result and paste into a query window do to run. Next:
    SELECT 'DELETE ' + quotename(s.name) + '.' + quotename(o.name)
    FROM   sys.schemas s
    JOIN   sys.objects o ON o.schema_id = s.schema_id
    WHERE  o.type = 'U'
    Run this result until you don't get any more errors.
    Run the first query again, but change DISABLE to ENABLE.
    This is more long-winding than scripting, particularly if you have lots of data. But you know that you will not make any changes whatsoever to the schema.
    The scripting in SSMS generally does it right, I believe, but some items are not scripted by default. If you run BACKUP/RESTORE, you know that you get a faithful copy.
    Of course, the best way is to keep your code under version control and take the version control system as your ultimate truth.
    Erland Sommarskog, SQL Server MVP, [email protected]

Maybe you are looking for