How to assign a public ip to SQL Listener which is on a virtual machine ?

I have 2 virtual machines which has SQL Servers installed on them. I have enables Always on Feature and added a new listener name to them. Both the VMs are in a virtual network which have private ips. The listener has also been assigned a private ip from
the subnet.
How can I assign a public ip to the listener, so that I can connect to the listener from outside network ?
Thanks
Avanti

Hi,
If you will only access the listener within the VNet (including site-to-site VPN in hybrid scenarios), then you should use Internal Load Balancing (ILB) with a private IP address for the listener. Because the ILB is not accessible from outside the Azure
VNet, this offers another layer of security. Also this makes the Listener accessible only to client applications located
In the same Virtual Network
In another connected Virtual Network (in the same Azure region or a different Azure region)
On-premise connected via VPN tunnel
However if you can use public load balancing with a public IP address it can be accessible from the internet.
To know more about Configuration for AlwaysOn Availability Groups on SQL, you might want to refer to the below mentioned article
https://msdn.microsoft.com/en-us/library/azure/dn425027.aspx?f=255&MSPPError=-2147217396
Hope this helps !
Regards,
Sowmya

Similar Messages

  • Simple how-to guide to adding windows 7 64-bit to mavericks as a virtual machine (Virtual Box)

    Simple how-to guide to adding windows 7 64-bit to mavericks as a virtual machine (Virtual Box)
    Why use a Virtual Machine: Sometimes you need to run a windows only program.  A VM lets you do that without rebooting your machine. 
    How is it different from Mac Boot Camp: Boot camp allows you to run windows but you must reboot your machine. It is faster and smoother than a VM (and with fullscreen details below), but you have to reboot for each use. 
    Is it possible to have a VM and Boot Camp: Yes, and I do this because sometimes I want to use a VM quickly without shutting down, sometimes I want the advantages of Boot Camp
    How do I get Windows in Boot Camp: how-to here:
    https://discussions.apple.com/thread/6025059
    *Please note I accept no responsibility for issues occurring from the use of this guide, please use at your risk
    **Please note I do not propose or support using illegal copies of Windows software or licenses
    Required technical skill: minimal
    Required time: approx 30 minutes
    Required items: Mac
    Get a version of Windows 7 64-bit:
    http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/canno t-find-digital-river-download-site/66a8439b-0d16-4b70-92f7-1c8486a46ebf
    Windows 7 Downloads are still available.
    Download the appropriate Windows 7 .ISO file which includes Service Pack 1 
(Note: must match what your product key version is for)
    Windows 7 Home Premium 32Bit: http://msft.digitalrivercontent.net/win/X17-58996.iso Windows 7 Home Premium 64Bit: http://msft.digitalrivercontent.net/win/X17-58997.iso
    Windows 7 Professional 32Bit: http://msft.digitalrivercontent.net/win/X17-59183.iso Windows 7 Professional 64Bit: http://msft.digitalrivercontent.net/win/X17-59186.iso
    Windows 7 Ultimate 32Bit: http://msft.digitalrivercontent.net/win/X17-59463.iso Windows 7 Ultimate 64Bit: http://msft.digitalrivercontent.net/win/X17-59465.iso
    Locate your image (iso) file, example: /Users/Christoper/Downloads/X17-58997.iso.download/X17-58997.iso
    Download Virtual Box Virtual Machine Player:
    https://www.virtualbox.org/wiki/Downloads
    Install Win 7 OS:
    Open Virtual Box
    Choose “New” (Note: Once you click new it will require you to complete the process of creation, no option for quit.  If you make a mistake or are not ready, just finish it and then remove it and delete all files)
    Name: “Windows 7 Virtual” or as you choose
    Type: Microsoft Windows
    Version: Windows 7 64-bit
    Memory: I suggest 1GB if you have 4GB available, 512 MB may run slowly.  2GB+ of 4GB may slowdown your MAC OS running while the VM is running. 
    “Create a Virtual Drive Now” option
    File Size: 25 GB should be the minimum selected, I used 25GB because I expect to use the drive to store very little. 
    HD type: VirtualBox Disk Image
    Storage: Dynamically Allocated
    Locate your new VM and click Start (again you will not be able to quit once you start, if you make a mistake continue until the red quit icon appears then remove the VM)
    It will ask you to select the files for the OS.  Select the ISO file, for example: /Users/Christoper/Downloads/X17-58997.iso.download/X17-58997.iso
    Proceed to setup Win with your preferences
    Type product key from your OS purchase or an existing one that you are moving from another machine
    Note: Screen resolution may be very limited on the virtual machine.  I use resolution 800 X 600 so that all of the desktop is visible. 
    I suggest using a windows gadget to view the CPU and Memory usage > On desktop mac-right-click i.e. separate fingers and click both > Gadgets > CPU Meter
    Enjoy having Windows on your Mac!

    I have found a solution to the screen being smaller in the windows 7 virtual machine.  First right-click in the desktop region and select screen resolution.  It is probably set to 800 X 600 by default which is much less than the screensize you are using.  To determine your native screensize, go to your mac and finder > applications > utilities > hardware > graphics displays.  Mine is 1440 X 900 for macbook air.  Then go back into the virtual machine and sceen resolution settings.  Choose a screen resolution which is slightly less in all dimensions so that there is no clipping and you do not have to scroll when viewing.  For me this was 1152 X 864.  Then exit saving changes and with the VM in view press command - F (or at the menu bar View > Switch to full screen), which puts you in full screen mode.  Now you should have a screen with minimal gray empty space filling the majority of your screen

  • How to install bo xi 3.1 on windows server 2008 r2 sp1 (virtual machine )

    HI GUYS --
    operating system: I am trying to install Business Objects into a virtual  computer which has a windows server 2008 R2 SP1 operating system. I installed version BO XI 3.1 and I also installed Service pack 3 and Service pack 4. I installed liveoffice usual way. Whenever I try to design  xcelsius and dashboard, I got some errors. In order to fix these errors, I followed SAP notes step by step. However, It didnt help me at all. I also tried to install by looking at install guide and supported platform documents, but I get an error each time of doing that. I can write each error over here. I also opened a link over here. Check out the link please to see the errors how to display webi docs. in liveoffice?
    My main question is this.
    Are there anybody who works operating system windows server 2008 R2 SP1 and this installed into the virtual machine? If so, Is it worked by doing which installations exactly?
    Note; Business Objects tools work very well (infoview, cmc, web intelligencei and the others work  without problems at QAAWS BO XI 3.1, but they have been given cluster error at BO XI 3.1 SP3) . In addition, port server settings have been installed based on the installion guide. If you give me any information other than whatever I said, I appreciate that. I also point out something. If I dont get any message which I attached a sample when I try to operate life office. In this situation I cant see either my documets or web documents in infoview)
    [http://imageshack.us/photo/my-images/3/sorunc.jpg/|http://imageshack.us/photo/my-images/3/sorunc.jpg/]

    Hi SYaGCi,
    Denis is right this is actually documented in the Supported Platforms Documentation:
    "Windows 7 and Windows Server 2008 R2 are new platform support additions in Service Pack 3 which are only available for support on the SP3 full release install of SAP BusinessObjects Enterprise. The SP3 patch only release of SAP BusinessObjects Enterprise does not provide support for these two new platforms."
    Kind regards,
    John

  • (ASA 5510) How do assign multiple public IP addresses to outside interface?

    Hi,
    I'm currently replacing my ASA 5505 with a 5510. I have a range of public IP addresses, one has been assigned to the outside interface by the setup wizard (e.g. 123.123.123.124 ) and another I would like to NAT to an internal server (e.g 192.168.0.3 > 123.123.123.125). On my asa 5505 this seemed fairly straigh forward, i.e. create an incoming access rule that allowed SMTP to 123.123.123.125 and then create a static nat to translate 192.168.0.3 to 123.123.123.125. Since I've tried to do the same on the 5510 traffic is not passing through so I'm assuming that the use of additional public IP addresses is not handled in the same way as the 5505? I also see that by default on the 5505, 2 VLANs are created, one for the inside and one for the outside, where as this is not the case on the 5510. Is the problem that VLANs or sub-interfaces need to be created first?  Please bare in mind I'm doing the config via ASDM.
    PS. everything else seems to OK i.e. access to ASDM via 123.123.123.124, outbound PAT and the site-to-site VPN.
    Any help much appreciated as I really need to get this sorted by Sunday night!
    Jan

    ASA 5505 is slighly different to ASA 5510. ASA 5505 has switchport, while ASA 5510 has all routed ports, hence there is no need for VLAN assignment, unless you are creating a trunk port with sub interfaces.
    In regards to static NAT, which version of ASA are you running?
    For ASA version 8.2 and earlier (assuming that you name your inside interface: inside, and outside interface: outside):
    static (inside,outside) 123.123.123.125 192.168.0.3 netmask 255.255.255.255
    For ASA version 8.3 and above:
    object network obj-192.168.0.3
         host 192.168.0.3
         nat (inside,outside) static 123.123.123.125
    Also, with your inbound ACL, the behaviour also changes from ASA 8.2 and earlier compared to ASA 8.3 and above.
    For ASA 8.3 and above, you would need to configure ACL with the destination of the real IP (192.168.0.3), not the NATed IP (123.123.123.125).
    For ASA 8.2 and below, it is normally ACL with destination of NATed IP (123.123.123.125) for inbound ACL on the outside interface.
    Hope that helps.

  • How to use database control to execute sql queries which change at run time

    Hi all,
    I need to execute sql queries using database controls , where the sql changes
    at run time
    based on some condition. For eg. based on the condition , I can add some where
    condition.
    Eg. sql = select id,name from emp where id = ?.
    based on some condition , I can add the following condition .
    and location = ?.
    Have anybody had this kind of situation.
    thanks,
    sathish

    From the perspective of the database control, you've got two options:
    1) use the sql: keyword to do parameter substitution. Your observation
    about {foo} style sbustitution is correct -- this is like using a
    PreparedStatement. To do substitution into the rest of the SQL
    statement, you can use the {sql: foo} substitution syntax which was
    undocumented in GA but is documented in SP2. Then, you can build up
    the filter clause String yourself in a JPF / JWS / etc and pass it into
    the DB control.
    For example:
    * @jc:sql statement="select * from product {sql: filter}"
    public Product[] getProducts(String filter) throws SQLException;
    This will substitute the String filter directly into the statement that
    is executed. The filter string could be null, "", "WHERE ID=12345", etc.
    2) you can use the DatabaseFilter object to build up a set of custom
    sorts and filters and pass that object into the DB control method.
    There have been other posts here about doing this, look for the subject
    "DatabaseFilter example".
    Hope that helps...
    Eddie
    Dan Hayes wrote:
    "Sathish Venkatesan" <[email protected]> wrote:
    Hi Maruthi,
    The parameter substituion , I guess is used like setting the values for
    prepared
    statements.
    What I'm trying to do , is change the sql at run time based on some condition.
    For example ,
    consider the following query :
    select col1,col2 from table t where t.col3 > 1
    At run time , based on some condition , I need to add one more and condition.
    i.e. select col1,col2 from table t where t.col3 > 1 and t.col4 < 10.
    This MAY not address your issue but if you are trying to add "optional" parameters
    you may try including ALL the possible parameters in the SQL but send in null
    for those params that you don't want to filter on in any particular case. Then,
    if you word your query
    as follows:
    select col1, col2 from table t where t.col3 > 1 and (t.col4 = {col4param} or
    {col4param} is null) and (t.col5 = {col5param} or {col5param} is null) ...
    you will get "dynamic" filters. In other words, col4 and col5 will only be
    filtered if you send in non-null parameters for those arguments.
    I have not tried this in a WL Workshop database control but I've used
    this strategy dozens of times in stored procedures or jdbc prepared statements.
    Good luck,
    Dan

  • How to find out whether a program is running in Hyper-V virtual machine or not?

    If I want to make a program which only running in Hyper-V virtual machine, how can I find out whether
    the program is running in Hyper-V  virtual machine or not?

    https://gallery.technet.microsoft.com/scriptcenter/Determine-if-a-computer-is-cdd20473
    http://social.technet.microsoft.com/wiki/contents/articles/942.hyper-v-how-to-detect-if-a-computer-is-a-vm-using-script.aspx
    http://www.grouppolicy.biz/2014/01/how-to-target-group-policy-to-virtual-computers/
    Mike Crowley | MVP
    My Blog --
    Baseline Technologies

  • Is it possible to install SharePoint 2013 and SQL 2012 on single Azure Virtual Machine

    I had a Azure subscription, I need had created only one Virtual Machine, is it possible to install SharePoint 2013 and SQL Server 2012 on that single virtual machine in azure.
    I had SharePoint 2013 and SQL Server 2012 licence from MSDN subscription,
    Finally on Azure virtual machine is it possible to Install SharePoint 2013 and SQL server by downloading these software from MSDN. 

    Hi,
    It is supported to install sharepoint 2013 and SQL server on the same server. However, please check the size of your Azure VM and make sure it is compatible for that.
    The minimum recommended size for a virtual machine is A3 when using SQL Server Enterprise Edition. Select A3 or higher when using SQL Server Enterprise Edition. Select A4 when using SQL Server 2012 or 2014 Enterprise Optimized for Transactional Workloads
    images. Select A7 when using SQL Server 2012 or 2014 Enterprise Optimized for Data Warehousing Workloads images. In addition, the default size for SharePoint 2013 image is A3.
    In addition, as a best practice, you can install them in different servers and then deploy SharePoint 2013 with SQL Server AlwaysOn Availability Groups in Azure:
    Deploying SharePoint 2013 with SQL Server AlwaysOn Availability Groups in Azure
    http://msdn.microsoft.com/en-us/library/azure/dn275959.aspx
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • How to assign itemrender variables in global public variable of my applicaton.

    Hi Friends,
    How to assign internal item render values in global public variable. can u see below example.
    List have one itemrender,within the itemrender i am using data grid .The  dataGrid have itemrender.now i tried the data grid itemrender assign values to public variable of my application,but the Error came... How can u slove this Problem Any One can Help to me.
    Example:
    public var myData:arrayCollection;
    <mx:List variableRowHeight="true" dataChange="validateNow()"  width="900" id="Lst_userlist" verticalScrollPolicy="off"  horizontalScrollPolicy="off" 
         buttonMode="true">
    <mx:itemRenderer>
      <fx:Component>       
       <mx:VBox paddingTop="-5"  horizontalScrollPolicy="off" verticalScrollPolicy="off" >        
             <fx:Script>
              <![CDATA[        
               override public function set data(value:Object):void
              ]]>
             </fx:Script>
             <mx:VBox id="vbox_grid" horizontalScrollPolicy="off" verticalScrollPolicy="off" width="890"  paddingLeft="10" paddingTop="5"
                     backgroundColor="#317152" color="#FFFFFF">        
              <mx:DataGrid visible="false" includeInLayout="false" height="100%" id="membershipGrid" alternatingItemColors="[#DCDCDC,#F8F8FF]"
                  paddingLeft="5"  horizontalScrollPolicy="off" color="black"
                  horizontalGridLines="false" verticalScrollPolicy="auto"  verticalGridLines="false"   rowHeight="25"
                  borderSkin="{null}" showHeaders="true" borderVisible="false" dataProvider="{data.dataCollection}" width="900" >
               <mx:columns>
                <mx:DataGridColumn width="180" headerText="Name" minWidth="150" sortable="true"  wordWrap="true" >
                 <mx:itemRenderer>
                  <fx:Component>
                   <mx:HBox horizontalScrollPolicy="off"   >
                    <fx:Script>
                     <![CDATA[
                      override public function set data(value:Object):void
                      function Click_Name():void
                        outerDocument.myData=data;  //  Here Error  came                 
                     ]]>
                    </fx:Script>
                    <mx:Image id="fileimg"    buttonMode="true"  toolTip="This is the User's Home Organization"/>          
                    <s:Label  id="lbl_Gridcloumn_name"  width="200" buttonMode="true" textDecoration="underline"  click="Click_Name()"  />
                   </mx:HBox>
                  </fx:Component>
                 </mx:itemRenderer>
                </mx:DataGridColumn>
    </cloumn>
    </datagrid>
    Error:
            Access of possibly undefined property myData through a reference with static  type com.istmanagement.views:ProgramAcessRights_ComponentInnerClass3.
    Thanks,
    Magesh R.

    Hi Flex harUI ,
    Thanks man....because  of i was stugle in last one week.... once again Thanks.......

  • How to assign Values to nested table and pass as parameter to procedure?

    How to assign Values to nested table and pass as parameter to procedure?
    Below is the Object and its type
    create or replace type test_object1 as object
    val1 varchar2(50),
    val2 varchar2(50),
         val3 varchar2(50)
    create or replace type test_type1 is table of test_object1;
    create or replace type test_object2 as object
    val1 varchar2(50),
    val2 varchar2(50),
         val3 varchar2(50)
    create or replace type test_type2 is table of test_object2;
    GRANT ALL ON test_object1 TO PUBLIC;
    GRANT ALL ON test_type1 TO PUBLIC;
    GRANT ALL ON test_object2 TO PUBLIC;
    GRANT ALL ON test_type2 TO PUBLIC;
    here is the table made of object type:
    create table test_object_tpe
    sl_num NUMBER,
    description VARCHAR2(100),
    main_val1 test_type1,
    main_val2 test_type2
    NESTED TABLE main_val1 STORE AS tot1
    NESTED TABLE main_val2 STORE AS tot2;
    here is the procedure which inserts values into nested table:
    PROCEDURE INSERT_TEST_DATA(sl_num IN NUMBER,
    description IN VARCHAR2,
    p_main_val1 IN test_type1,
    p_main_val2 IN test_type2
    IS
    BEGIN
    FOR rec in p_main_val1.first..p_main_val1.last
    LOOP
    INSERT INTO xxdl.test_object_tpe
    sl_num,
    description,
    main_val1,
    main_val2
    VALUES
    sl_num
    ,description
    ,test_type1 (test_object1(
    p_main_val1(rec).val1,
                                       p_main_val1(rec).val2,
    p_main_val1(rec).val3
    ,test_type2 (test_object2( p_main_val2(rec).val1,
                        p_main_val2(rec).val2,
                        p_main_val2(rec).val3
    END LOOP;
    commit;
    END INSERT_TEST_DATA;
    here is the anonymoys block which assigns values to the object type and pass values into the procedure:
    set serveroutput on;
    declare
    p_sl_num NUMBER := 1001;
    p_description VARCHAR2(50) := 'Testing Val1';
    inval1 test_type1 := test_type1();
    inval2 test_type2 := test_type2();
    begin
    inval1(1).val1 := 'testx1';
    inval1(1).val2 := 'testx2';
    inval1(1).val3 := 'testx3';
    inval2(1).val1 := 'testy1';
    inval2(1).val2 := 'testy2';
    inval2(1).val3 := 'testy3';
    CSI_PKG.INSERT_TEST_DATA(sl_num => p_sl_num,
    description => p_description,
    p_main_val1 => inval1,
    p_main_val2 => inval2
    end;
    Can anybody correct me.
    Thanks,
    Lavan

    Thanks for posting the DDL and sample code but whenever you post provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION).
    >
    How to assign Values to nested table and pass as parameter to procedure?
    >
    Well you are doing almost everything wrong that could be done wrong.
    Here is code that works to insert data into your table (the procedure isn't even needed).
    declare
    p_sl_num NUMBER := 1001;
    p_description VARCHAR2(50) := 'Testing Val1';
    inval1 test_type1 := test_type1();
    inval2 test_type2 := test_type2();
    begin
    inval1.extend();
    inval1(1) := test_object1('testx1', 'testx2', 'testx3');
    inval2.extend();
    inval2(1) := test_object2('testy1', 'testy2', 'testy3');
    INSERT INTO test_object_tpe
    sl_num,
    description,
    main_val1,
    main_val2
    VALUES
    (p_sl_num, p_description, inval1, inval2);
    commit;
    end;
    /See Example 5-15 Referencing a Nested Table Element in Chap 5 Using PL/SQL Collections and Records in the PL/SQL doc
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/collections.htm#CJABEBEA
    1. You don't even need the procedure since all it does is a simple INSERT into the table which you can do directly (see my code above)
    inval1(1).val1 := 'testx1';There is no element one (1) of 'inval1' since you haven't created any elements yet. You need to EXTEND the collection to add an element
    inval1.extend();And then there is an empty element but 'inval1' is a container for objects of type 'test_object1' not for scalars like 'val1', 'val2', and 'val3'.
    So you can't do
    inval1(1).val1 := 'testx1';You have to create an instance of 'test_object1'
    inval1(1) := test_object1('testx1', 'testx2', 'testx3');And so on for the other collection
    You don't need the procedure (as my sample code shows) but once you populate the variables properly it will work.

  • How to assign a task to Reuestor in OIM 11g

    How to assign a task to a requestor (who has raised a request for other user).
    I created a Task assignment adapter and mapped variable in Process definition as
    Map To: Request Info
    Qualifier: Requester User Login
    Still it returns null and default task is assigning to System adminstrator. I am pasting the Task Assignment code here. User key value coming as Null.
    Do you have any idea what is the exact mapping required in Process definition.?? Pls note: I am using OIM version 11.1.1.5.0
    public class TaskAssignmentToUserAdapter {
         Logger logger = Logger.getLogger("COM.IDM.PROV.COMMON.ADAPTERS");
         public String getTargetType(String targetType){
              return targetType;
         public String assignTaskToUser(String userKey,tcDataProvider dataProvider ){
              System.out.println("The user key value:" +userKey);
              return userKey;
         }

    Not sure what sample code I can give you, but you need to do a query in your adapter like:
    select REQUEST_KEY from OIU where ORC_KEY='?'
    Here ORC_KEY should be mapped to the process instance key.
    Once you have the Request key, you can use RequestServcie APIs to get the requester information. http://docs.oracle.com/cd/E14571_01/apirefs.1111/e17334/oracle/iam/request/api/RequestService.html#getBasicRequestData_java_lang_String_
    Or if you don't care then get the requester key from the request table. Thus you can have the final query as:
    select USR_LOGIN from USR where USR_KEY=(select REQUESTER_KEY from REQUEST where REQUEST_KEY = (select REQUEST_KEY from OIU where ORC_KEY='?'))
    HTH,
    BB

  • How do I change an IP address of SQL Server which is locally hosted and is not on cluster?

    Hi All,
    How do I change an IP address of SQL Server which is locally hosted and is not on cluster?
    I am asking about IP for SQL Server, is there a way we can assign a different IP to SQL Server other than the server's(host) IP address? like the same what we do in a clustered env.
    aa

    Full explanation can seen here:
    SQL Server: Configure Listening IP, Port, and Named pipe
    http://ariely.info/Blog/tabid/83/EntryId/151/SQL-Server-Configure-Listening-IP-Port-and-Named-pipe.aspx
    [Personal Site] [Blog] [Facebook]

  • How to Assign a Field value to a Variable??

    Dear All,
    Kindly let me know, if <b>"HOW TO ASSIGN A FIELD VALUE TO A VARIABLE????"</b>
    Situation is, we have a Field (OBJK-TASER) in which 2 tables (SER01 & SER03) are stored. And we want to access names of the Tables which are there in the field(TASER) in  (OBJK) table  to a variable and then passing that variable to the sql query as a table name to get data accessed dynamicaly.

    try this
    select TASER from OBJK into table it_table.
    loop at it_table.
    select field1 field2 from (it_table-table) into table it_fields.
    endloop

  • How to assigne value in sub record type

    Dear below mention record type database,now i want to assigne value in payr_rec type,in this recrocrd type have one column party_id,but how can assigne value int this field ,
    TYPE group_rec_type IS RECORD(
    group_name VARCHAR2(255),
    group_type VARCHAR2(30),
    created_by_module VARCHAR2(150),
    -- Bug 2467872
    mission_statement VARCHAR2(2000),
    application_id NUMBER,
    party_rec PARTY_REC_TYPE := G_MISS_PARTY_REC
    please guide.

    to get the desired default party_rec attribute value, just assign the "sub-record" attribute defaults as desired; PL/SQL will assign a default (non-null) record as the party_rec value using those attribute defaults:
    create or replace package P_Test_It
    as
         type party_rec_type is record (
              dummy varchar2(1) default 'X'
         type group_rec_type is record (
              group_name VARCHAR2(255),
              group_type VARCHAR2(30),
              created_by_module VARCHAR2(150),
              -- Bug 2467872
              mission_statement VARCHAR2(2000),
              application_id NUMBER,
              party_rec PARTY_REC_TYPE
    end;
    set serveroutput on
    declare
         rec p_test_it.group_rec_type;
    begin
         dbms_output.put_line(rec.party_rec.dummy);
    end;
    X
    PL/SQL procedure successfully completed.Hope it helps.
    Gerard

  • How can assign the value returned from javascript to Hidden item

    Hi All,
    I have created a report with button in one column adding following code to SQL select statement like
    SELECT USER_RQST_ID, USER_RQST_DESC, RQST_DATE, STATUS, USER_ID, CNTRY_ID, KPI_LIST, YEAR_LIST, QTR_LIST, MONTH_LIST,
    PROD_LIST, FULL_PERIOD_FLG, GEN_DATE, '<input type=button value="view_list" onclick="javascript:doSubmit('||USER_RQST_ID||');">' button FROM KPI_USER_RQST;
    Then i have implemet doSubmit() function in Javascript like
    function doSubmit(req_id)
    html_GetElement('HIDDEN_ITEM')= req_id.value;
    Here HIDDEN_ITEM is the name of the item, I want to use that HIDDEN_ITEM value in PL/SQL block like...
    BEGIN
    INSERT INTO SAMPLE(KEY) VALUES(:HIDDEN_ITEM);
    END;
    But it is not working, Please help me anybody know the solution How to assign an item in javascript block function.
    Thanks,
    Neel

    Hello,
    doSubmit() is one of the built in javascript functions in apex and it's a bad idea to override it unless you know exactly what you are doing, and even then is a generally bad idea.
    change your function to this
    function mySubmit(pValue){
    $x('HIDDEN_ITEM').value = pValue;
    doSubmit();
    then your onclick will look like this notice the lack of the javascript: and the three ''' quotes to get the proper quotations for your value.
    onclick="mySubmit('''||USER_RQST_ID||''')"
    And there you go
    Carl

  • How to assign the iCloud/Contacts folder as an Adress Book in Outlook 2013?

    I just Installed Office 2013
    In the old Outlook 2010 I was able to use the Icloud Contacts as my Address Book.
    In Outlook 2013 the option in iCloud/Contacts/Properties/Outlook Address Bookk is dimmed.
    How to assign the iCloud/Contacts folder as an Adress Book in Outlook 2013?

    Hi,
    For more methods of making Shared Contacts available as an Address Book, you can refer to the following articles:
    http://social.technet.microsoft.com/Forums/en-US/9d20ffad-d49a-4aa3-8d49-c63b8d4583ee/adding-shared-contacts-to-the-address-book-without-public-folders-in-outlook-2010?forum=outlook
    Add shared Contacts folder as Address Book list:
    http://www.msoutlook.info/question/614
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
    sure that you completely understand the risk before retrieving any suggestions from the above link.
    Hope it can help you.
    Thanks,
    Angela
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • How Do I Transfer A File to an NTFS External?

    I finished with one of my movies and the final product is a little over 2GB's. It is stored an my external MAC journaled G-Drive. I am trying to load it to an NTFS drive for somebody else to view it and use it on a Windows PC. Mac can READ but not WR

  • Website has gaps and spaces

    http://contentsofadeadmanspockets.com/meet.html The website that I made is showing spaces between the navigation bar and the banner. Can anyone please take a look at the code for me and suggest what I should do cause as you can see there appears to b

  • How to properly clean the iPad smart cover

    It's not the leather one, but the other material.

  • Select   from all_tables inside a procedure brings a different result set

    Hi all, There are two cases.. both are the same, but gives different out put. CASE 1 pulls few for SYS and all for current user. CASE 2 Pulls data for ALL USERS. Why the same code in side a procedure brings a different result ? SQL> --CASE 1 CREATE O

  • Is there a class for BigInteger in c++

    I am wondering whether there is a written class already for BigInteger in c++ I have to rewrite a java project in c++ and I need BigInteger to use.. Thanks in advance