SQL Always On - Group Listener with a Private IP ?

Hi,
I read the tutorial on how to configure SQL Always On in Azure.
I saw that we need to configure the group listener with an Public IP. 
I also saw that SQL servers must reside in a different Cloud Service.
A reason why is because Azure does not support direct server return.
What is DSR ?
To help me understanding, is someone able to explain me this situation :
What would happen if I configure group listener with a private IP and I put all my servers in the same cloud service.

Actually, I know what is DSR. 
During the initial connexion, the client talks with the group listener and then redirect you to the active server. Afterward, you have a direct connection with the Active Server.
Why is it not supported ? 
Why having a public IP instead of a private IP resolve the issue ?
This quote from Microsoft : 
The client application must reside on a different cloud service than the one that contains your availability group VMs. Azure does not support direct server return with client and server in
the same cloud service.
Does it apply only with a public IP address ?

Similar Messages

  • ERROR "An exception has been raised that is likely due to a transient failure. ..." when connecting to Always on Availability Group Listener with ApplicationIntent=ReadOnly

    Application team is receiving the following error message when applications try to connect through the Availablity Group Listener using readonly
    parameter:
     "An exception has been raised that is likely
    due to a transient failure. If you are connecting to a SQL Azure database consider using SqlAzureExecutionStrategy."
     Already using latest .net framework. Using the
    Extended events I can trace the read_only_route_complete event as well. However, they get this message when trying to open the read only database.
    If I try to simulate the connection to ReadOnly replica from management studio, it is working successfully. But not from the application:
    Note:
    -verified firewall is disabled. (this is development environment)
    -SQL Server 2012 SP2 is installed.

    Hi IbrahimMehdi,
    I suggest you read this
    blog to check the SNAC provider and connection string in client application.
    1. Make sure that SNAC provider is installed properly where your client application runs.
    2. Please note that when using SQL Native Access Client SQL OLE DB, the application intent connection string should be specified with a space: 'Application Intent'. However, when connecting using SQLClient or ODBC specify 'ApplicationIntent' with
    no space.
    There is also a blog about configuring AlwaysOn read-only routing for your reference.
    http://scottless.com/blog/archive/2012/01/25/sql-server-2012-configuring-alwayson-read-only-routing.aspx
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Always on availability listener with multiple IP addresses for SharePoint 2013

    Hello
    I think theres something I'm missing about AG listeners. My test config is 1 SharePoint WFE & 2 SQL servers configured in an AAG.
    WFE, SQL1 & SQL2 servers are all on the same subnet.
    On the WFE, I configured an alias called SP15 to be used for the SQL  servers. If I failover from SQL1 to SQL2 I just need to change where the alias is pointing on the WFE. So why do I need a listener? This works fine, albeit manually.
    I have read on some posts that an automatic failover process is possible. This sounds ideal. How can I add a 2nd IP address to the listener when both SQL servers are on the same subnet? The GUI doesn't seem to allow this.
    TIA
    Dermot C

    In addition to what David has already mentioned, the Availability Group Listener Name can be used to replace the SQL Alias that you've created on your WFE. This makes it easier for high availability and disaster recovery but is also a great approach for
    migrating to a better hardware because the connection to the database is abstracted by the listener name.
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • Cannot connect to SQL SERVER with Always on availability group listener name

    Hi everyone,
    I have setup always an availability group listener for sql server on port 1433, have opened the port in  firewall , remote connections are enabled in the sql server, but still I am not able to connect to the sqlserver instance with the help
    of the availability group listener name.
    I get the following error.
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.(provider:
    TCP Provider, error: 0 - The wait operation timed out.)"} System.Exception {System.Data.SqlClient.SqlException
    Have gone through several blogs for the solution but none of them helped.
    Please let me know if anyone has fixed the issue.
    Regards,
    Divya

    Prior to making SS connection, can you establish the connection with a networking tool?
    SS connectiviy trouble shooting:
    http://technet.microsoft.com/en-us/library/ms378845.aspx
    http://stackoverflow.com/questions/5919524/not-able-to-telnet-sql-port-1433-locally-or-remotely
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/227f431a-4274-4d95-b605-67541d78ef03/test-sql-connection-with-telnet?forum=sqldataaccess
    Kalman Toth Database & OLAP Architect
    Free T-SQL Scripts
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • I still cannot sign into eprint center despite everything, always an error with my private email

    address. i see that this has been a familiar and very frustrating issue for many. i read that i am not suppose to sign in with the printer email address so I don't know what to do. I registered it with private email, somewhere along the line i think it was switched to default but who knows. Regardless, it won't let me set up an account with my private email because its "in use". well yes its mine but its not "in use" for sure. I have read so much last night and now more hours tonight. I do know that we are not suppose to use the random printer email address to sign in so i dont know what to do. just seems ridiculous that this is so complicated. my whole intent is to change my printer email to something more user friendly, see what apps people really like to use that i can add...... but left at the door. HP? someone smart? please help......

    I was able to use eprint center, but my personal email address didn't work, same as yours. I never saw instructions to not use the random printer email address, and I finally tried that and it worked. The email address was the Printer Code @hpeprint.com. Once I got in like that, it let me create a nicer email address for my printer, but the suffix is still @hpeprint.com. I have not been able to use my personal address in the eprint center, so I guess it really wants the printer's email address. I hope this helps you!

  • I am unable to insert the sql data into sharepoint column(with type "Person or Group") through SSIS package.

     can anyone suggest me how to insert values to sharepoint list column of datatype (person/group datatype).  Also, Does sharepoint list allows nulls as a value?
    please help.
    Thanks
    Raghavendra

    Hi Raghavendra,
    Based on my test, if we directly insert a column with people account or group name with domain\user or domain\group formats to a SharePoint list, those columns with the values would be ignored when executing the package. Other columns with Null value would
    be insert into the list. If we insert a column with numeric format, the values would change to corresponding user or group based on the site permissions in SharePoint site.
    So to fix this issue, I suggest we can select <ignore> maps to the “People or Group” column in SharePoint list. The “People or Group” column would show null value in SharePoint list. Then we can manually or use workflow feature add values in the “People
    or Group” column in SharePoint list.
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • SQL AlwaysOn Availability Group modifies preferred owner node on move/failover

    I have a two node Windows Server 2012 R2 failover cluster with two SQL Server 2012 Enterprise AlwaysOn Availability groups configured. Within the cluster I have configured a preference order on which node a AlwaysOn Availability Group should run.
    Get-ClusterGroup -Name "AlwaysOn1" | Set-ClusterOwnerNode -Owners "node1","node2";
    Get-ClusterGroup -Name "AlwaysOn2" | Set-ClusterOwnerNode -Owners "node2","node1";
    After configuring the preference and retrieving the preference order it is configured as it should be. When I do a failover the preference order is adjusted to first the node it currently runs on and second the other node instead of leaving the preference
    order as it was. It doesn't matter if I use the PowerShell "Move-ClusterGroup" or the "ALTER AVAILABILITY GROUP [AlwaysOn1] FAILOVER" T-SQL command. From the cluster log it is shown that the preference is modified after the resource
    has been moved.
    INFO  [GUM] Node 2: executing request locally, gumId:15859, my action: /rcm/gum/SetGroupPreferredOwners, # of updates: 1
    INFO  [RCM] rcm::RcmGum::SetGroupPreferredOwners(AlwaysOn1,<vector len='2'>
    The default groups within the cluster "Available Storage" and "Cluster Group" keep their preference setting when configured (only configured for testing to verify it has to do with the SQL Server Availability Group resource type).
    The Windows Server 2012 R2 servers are updated using the latest Windows Updates and SQL 2012 has build number 11.0.5556.
    For other cluster groups which I have configured in the past like file, Hyper-V (used for affinity to get VM's which have a lot of traffic between them within the same virtual switch to reduce latency and additional hops. it would be nice if vNext will have
    a affinity option for cluster groups besides the anti-affinity within the current version)
    I would like to know if someone could explain why the SQL Server Availability Group resource always modifies the group preference. I might understand this with a three node cluster where the first two are running in Synchronous commit mode and the third
    one in Asynchronous commit mode.
    Thanks in advance,
    Dennis van den Akker

    Hi Dennis van den Akker,
    Do not use the Failover Cluster Manager to manipulate availability groups, for example:
    Do not add or remove resources in the clustered service (resource group) for the availability group.
    Do not change any availability group properties, such as the possible owners and preferred owners. These properties are set automatically by the availability group.
    Do not use the Failover Cluster Manager to move availability groups to different nodes or to fail over availability groups. The Failover Cluster Manager is not aware of the synchronization status of the availability replicas, and doing so can lead to extended
    downtime. You must use Transact-SQL or SQL Server Management Studio.
    The related KB:
    Failover Clustering and AlwaysOn Availability Groups (SQL Server)
    https://msdn.microsoft.com/en-us/library/ff929171.aspx
    The similar thread:
    SQL Server Clustering 2008 (Multi Node)
    https://social.msdn.microsoft.com/Forums/sqlserver/zh-CN/c35fe863-3fed-4a6e-830b-b79aa032c198/sql-server-clustering-2008-multi-node?forum=sqldisasterrecovery
    Best Regards,
    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 Support, contact [email protected]

  • SharePoint 2013 and SQL Always On

    How do I setup SharePoint with SQL Always On.
    I have two servers SQL1 and SQL2.  I created Windows 2012 cluster and called it MyCluster.
    I installed SQL Server 2012 SP1 on both servers. I created AlwaysOn group called MyAlwaysOn and added test database to sync between those two servers.
    Now I have to install SharePoint 2013.  How do I specify the SQL server? Do I say that name is SQL1? Or MyCluster? Or MyAlwaysOn?
    MyAlwaysOn does not have IP address or DNS record, so I do not think I can do it. So, is it SQL1 or MyCluster?
    If it is SQL1, do I manualy add SharePoint databases to MyAlwaysOn group? How does it work? How will SharePoint know to switch to SQL2?
    Anyone knows how to do it right?
    Thank you.
    Thank you. Eric.

    Please see))
    http://blogs.msdn.com/b/sambetts/archive/2013/04/24/sharepoint-2013-and-sql-server-alwayson-high-availability-sharepoint.aspx
    Create SharePoint Databases
    Prepare SQL Alias
    We need to fool SharePoint into thinking the SQL server where we'll create the configuration database is called something else. That’s because when you create a farm, whatever destination server you use during the “create new farm” stage isn’t forgotten (to
    simplify), so first thing’s first let’s create fake alias for our SQL “server” – “SP15” as it’s SharePoint 2013 that’ll use it (version 15). As far as SharePoint needs to know everything is going into a SQL box called 'SP15'.
    Now assuming you don’t have SQL Server tools installed (which you shouldn’t if it’s on production!) you’ll need to use a tool called “cliconfg.exe” to create a SQL alias. Run it; click the “Alias” tab, and the Add button.
    Add a name – SP15 for the alias name, but it can be anything - instead of referencing a server-name we’ll reference the name of the alias which will transparently redirect traffic to the alias destination instead.
    And if you know Russian languages
    http://blog.it-kb.ru/2014/04/15/install-two-tier-farm-sharepoint-server-2013-sp1-on-windows-server-2012-r2-part-1-prepare-ha-clustered-sql-server-2012-sp1-cumulative-update-9-instance/
    http://blog.it-kb.ru/2014/04/15/install-two-tier-farm-sharepoint-server-2013-sp1-on-windows-server-2012-r2-part-2-create-a-new-server-farm-with-kerberos-and-language-pack/
    Так как БД SharePoint в нашем случае будут расположены на удалённом экземпляре SQL Server 2012 SP1(CU9), перед началом установки SharePoint
    можно установить пакет Microsoft SQL Server Native Client. Его можно загрузить например со страницы Microsoft
    SQL Server 2012 SP1 Feature Pack (файлENU\x64\sqlncli.msi), а ещё лучше взять дистрибутив клиента обновлённой версии из состава CU9 (файл\SQLServer2012_SP1_CU9\1033_enu_lp\x64\setup\x64\sqlncli.msi)
    Хотя в дальнейшем фактически утилита подготовки к установке Sharepoint всё равно загрузит у установитSQL Server 2008 R2 SP1 Native Client.
    После установки SQL-клиента создадим на нашем сервере SQL-Alias, который будем в дальнейшем использовать для подключения служб SharePoint к серверу SQL Server. Этого конечно можно
    и не делать, но это может оказаться полезным (даст нам дополнительную гибкость) в случае необходимости переноса БД на другой SQL-сервер или экземпляр. Запустим встроенную в ОС утилиту SQL Server Client Network Utility (%windir%\system32\cliconfg.exe)
    и добавим два новых алиаса – с коротким именем SQL-сервера и его FQDN, указав при этом имя экземпляра и статический TCP порт (в нашем случае SHAREPOINT и 1435соответственно).
    Имя самого алиаса в нашем случае будет KOM-AD01-SQLSP

  • SQL Always On: not accessible for queries

    Hi forum!
    I'm monitoring SQL 2012 Always On Groups with the latest SQL MP. A couple of the database replicas are configured to not allow access. This is to avoid additional license costs for those minor important databases.
    However, I get the following events in the SQL log:
    Error 976, Severity 14
    The target database, '%.*ls', is participating in an availability group and is currently not accessible for queries. Either data movement is suspended
    or the availability replica is not enabled for read access. To allow read-only access to this and other ...
    Of course, as soon as I configure read-only for those databases the events disappear.
    Is there any other solution?
    Has anyone identified already (all) the accessing workflows?
    Thanks in advance,
    Patrick
    http://www.syliance.com | http://www.systemcenterrocks.com

    Hi All, I am also experiencing this issue.  Having a look at the statements SCOM is issuing, it's actually checking whether the AG secondary allows connections but it ignores the value and tries to connect anyway.  I believe this is a minor bug. 
    See below for these queries. 
    You can vote to correct it through Microsoft Connect on: https://connect.microsoft.com/WindowsServer/feedback/details/1121330
    --SCOM/MP: is this database a replica and does it allow connections?
    SELECT d.name, d.database_id, CASE WHEN d.replica_id IS NULL THEN 0 ELSE 1 END AS is_replica, ar.secondary_role_allow_connections
    FROM sys.databases d JOIN sys.availability_replicas ar on d.replica_id = ar.replica_id JOIN sys.servers s ON s.name = ar.replica_server_name AND s.server_id = 0 /*local server*/
    WHERE d.database_id = x --current db id in sys.databases loop
    --SCOM/MP: let's look into that db (regardless of whether it allows connections)
    --EXCEPTION: The target database, 'x', is participating in an availability group and is currently not accessible for queries. Either data movement is suspended or the availability replica is not enabled for read access. To allow read-only access to this and other databases in the availability group, enable read access to one or more secondary availability replicas in the group. For more information, see the ALTER AVAILABILITY GROUP statement in SQL Server Books Online.

  • Initermittent Connection Timeout at Post-Login when connect to AlwaysOn Availability Group listener

    Hi,
    I'm using SQL 2014 AlwaysOn Availability Group and my ASP .Net application is connected to the database thru the availability group listener (tcp:[myHAGroup],14330).
    Things work most of the time, but recently I started to see the following Connection Timeout exception in Event Log. It looks like under heavy traffic the application can't connect to the availability group listener.
    Timestamp: 8/17/2014 10:07:28 AM
    Message: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Connection Timeout Expired. The timeout period elapsed during the post-login phase. The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=2; handshake=0; [Login] initialization=0; authentication=0; [Post-Login] complete=15008; ---> System.ComponentModel.Win32Exception: The wait operation timed out
    --- End of inner exception stack trace ---
    I've checked SQL Profiler and don't see any memory or CPU peak at that time. Looks like somethings happened during the Post-Login stage, but I couldn't figure out what or why....
    I'm using 2 SQL servers (1 primary, 1 secondary): SQL 2014 ENT, 8GB RAM, 8 core 2.67 Xeon X5650.
    Application: ASP .Net, framework 4.0.
    All servers are VMWare virtualization servers, running on 1 virtual switch, so internal traffic should not be a problem.
    Comments/ideas are appreciated.
    Eric.

    Hi Eric Nguyen,
    According to your description and error message, we need to verify if there are some queries/transaction lock your database via SQL trace. If yes,
     you have to find out which queries are blocking and rewrite them/run them at other time to avoid blocking other processes.
    In addition, you can use performance monitor to track connection pool connections. If you set default connection limit and timeout limit with a small number, the error of “wait operation timed out” will occur. Meanwhile, you also need to monitor disk usage
    on SQL Server , and set the auto increment size of your transaction log and database with a fixed size instead of a percentage of the current files due to avoid transaction timeout. For more information, see:
    http://stackoverflow.com/questions/7743725/how-to-troubleshoot-intermittent-sql-timeout-errors
    There is an similar issue about connection failed from webservers to SQL Server AlwaysOn Listener, you can review it.
    http://stackoverflow.com/questions/23416492/connection-timeouts-when-using-multisubnetfailover-true
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • SQL Always On for FIM

    I wasn't able to find any information regarding the support of SQL Always On
    Does FIM support SQL Always On? If not what should I use? Cluster? Mirroring?
    The data above this text is pseudorandom, brace yourselves.

    https://social.technet.microsoft.com/Forums/en-US/27dde96a-5305-446c-a3e8-edc2e617c55c/sql-2012-always-on-availability-groups?forum=ilm2
    As Peter says: clustering is supported, mirroring is not, always on database availability groups are not, log shipping is not. Automatic failover with mirroring or database availability groups will not work. Mirroring itself works, just not the failover.
    Albeit you have a big performance hit even in asynchronous mode. Ditto for Availability groups. Log Shipping works, but you do have to pay attention to the management of the log. Again, Mirroring, Availability Groups and Log Shipping are not supported by Microsoft
    FIM Product group but they will work to the extent described and with the caveats described. So think carefully on what you want to do, being in an unsupported position isn't fun. Clustering can accomplish the goal of high availability. If I had to pick one
    for providing DR in case of site failure I would pick log shipping. But again not supported and you must pay attention to your log management or you could suffer performance hits.
    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

  • I am using earphones, but the external audio of my mini ipad is still on. How can I turn off the external audio while listening with my headset?

    I am using earphones, but the external audio of my mini ipad is still on. How can I turn off the external audio while listening with my headset/earphones?

    Other than iMovie, GB always incorporates the audio files into the GB package. So just save or move the GB project to the external drive, and you're done - anything you import, edit or record will be saved to the external drive.

  • Analytical Services failed to get user's parent group tree with Error

    Hi,
    We have a frequent errror during our weekly batch for an application.
    The context:
    - Essbase Administration Services we are using is version is 9.3.1.
    - 8 applications are calculated during the week-end. The scripts executed are exactly the same for the 8 applications.
    - For example let's say that 5 scripts are launched during the night in the batch for each application (script 1, script 2 ... script 5)
    - App1 and App2 are launched alone and before the 6 others applications as these applications database are 3 x bigger (App1 is calculated alone, then app2 is calculated alone, then app3 to app8 scripts are launched in the same time).
    The issue :
    - We don't see any issue for app3 to app8, the calculation are executed without any problem from script1 to script5.
    - But we have an error in App1 and App2 log when the bath execute script 4 and we see the following error in the server log **
    "Analytical Services failed to get user's parent group tree with Error".
    (** : we don't see any log for script 4 in the application log - it's like the server bypass script 4 to go directly from script 3 to script 5 )
    Nothing special is done in script 4 but just an aggregation of the Year dimension (using a @SUM(@RELATIVE(Year,0)) calculation.
    I think that there is may be a synchronization error with Shared Services but what is strange is that it's always for the same script 4 and the batch is launched at different time every week-end.
    Can the issue be linked to the size of the database of applications (8 Gb) and difficulties for the processor to executes aggregation in a large database volume ?

    Hi,
    According to your description, my understanding is that the error occurred when sending an email to the user in workflow.
    Did you delete the existing Connections before setting NetBiosDomainNamesEnabled?
    If not, I recommend to delete and recreate your AD connections, then set NetBiosDomainNamesEnabled to true.
    Or you can delete the original User Profile Service Application and create a new one, then set the NetBiosDomainNamesEnabled to true and start the User Profile Service Application
     synchronization.
    More reference:
    http://social.technet.microsoft.com/wiki/contents/articles/18060.sharepoint-20xx-what-if-the-domain-netbios-name-is-different-than-the-fqdn-of-the-domain-with-user-profile.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Count(*) , group by with multiple columns from multiple tables involved

    Hi all,
    I am relatively new to SQL.
    Currently I have these few requirements, to display quite a number of fields from 3 tables for display of report.
    In my query I need to:
    1.) count(*)
    2.) select quite a number of fields from table 1,2,3
    However when count(*) is used, grouped by has to be used to.
    How do I actually use group by with so many columns to be selected?
    I have actually used the query below, but the count(*) returns 1, the correct output should be 3 instead.
    select count(*), table1.col1, table1.col2, table1.col3, table2.col3, table2.col4, table2.col6, table3.col1, table3.col4, table3.col5
    from table1, table2, table3
    where
    <conditions>........................
    group by table1.col1, table1.col2, table1.col3, table2.col3, table2.col4, table2.col6, table3.col1, table3.col4, table3.col5
    I know this group by statement looks very unrefined. How can I select multiple fields from different tables, and yet get the count(*) correctly?
    Thank you so much for your time.

    Hmm yes it actually does return count as 1 for each row. But there are 3 rows returned. E.g.
    ctr table1.col1 table1.col2 ..........
    1 value1 value1
    1 value2 value3
    1 value3 value4
    If I put the count(*) outside, it returns 3 , the correct output
    ctr
    3
    select count(*) from
    select table1.col1, table1.col2, table1.col3, table2.col3, table2.col4, table2.col6, table3.col1, table3.col4, table3.col5
    from table1, table2, table3
    where
    <conditions>
    group by table1.col1, table1.col2, table1.col3, table2.col3, table2.col4, table2.col6, table3.col1, table3.col4, table3.col5
    Thus I was wondering if it was the group by of multiple colns that resulted in the count stucked at value 1.

  • GROUPING IN SQL DEVELOPER(Fuzzy grouping in SQL)

    Hi All,
    I am stuck up with some logic here, can any one suggest me what would be the best solution or how can we acheive this.
    We have a customer id's , each customer can have many accounts, and the customer belongs to a company.I need to modify a SQL table to group slightly mismatched names, and assign all elements in the group a standardized name.
    I have a customer table where I used select customer_id,customer_code,customer_name from customer order by 1; These are only few records I am showing here.
    CUSTOMER_ID
    CUSTOMER_CODE
    CUSTOMER_NAME
    071239
    AABA
    Trac Non Owned Chassis
    078176
    AABA
    Trac Charleston
    071910
    AABA
    Trac Savannah
    081010
    ABAA
    Hanjin Shipping
    081102
    ABAA
    Atg
    In this case, I've chosen the first name to assign as the "standardized name," but I don't actually care which one is chosen .If I knew that the names were all in pairs, this would be a relatively easy query, but there can be an arbitrary number of the same name.
    And I am using SQL DEVELOPER, for Oracle data integrator(ODI)
    Thanks,
    Ven

    Hi Frankulash,
    Thanks for your response, I will follow the rules that I found in the link you provided, and I was looking for the same output, but In the example I did not understand the "got_mode m" is that a table. if you don't mind  ,I will give all the details, can you suggest me how to approach .
    CREATE TABLE CCUSTOMER
       ( CUSTOMER_ID  VARCHAR2(10 BYTE)  NOT NULL ENABLE,
      CUSTOMER_OF_ID  VARCHAR2(10 BYTE)  NOT NULL ENABLE,
    CUSTOMER_CODE  VARCHAR2(8 BYTE)  NOT NULL ENABLE,
      CUSTOMER_NAME  VARCHAR2(128 BYTE)  NOT NULL ENABLE)
    insert into ccustomer values('071239','US','AABA','Trac Non Owned Chassis');
    insert into ccustomer values('071910','US','AABA','Trac Savannah');
    insert into ccustomer values('078176','US','AABA','Trac Charleston');
    insert into ccustomer values('081010','USA','ABAA','Hanjin Shipping');
    insert into ccustomer values('081102','USA','ABAA','Atg');
    now I want the output to be some thing like this
    CPNY_KEY     CUSTOMER_ID CUSTOMER_OF_ID    CUSTOMER_CODEENAME      CUSTOMER_NAME
            1       071239            US                AABA               Trac Non Owned Chassis
            1       071910            US                   AABA               Trac Savannah'         
            1       078176            US                AABA               Trac Charleston'        
            2       081010            USA                ABAA               Hanjin Shipping'    
            3       081102     USA                ABAA               Atg 
    so from the source this would my mapping table where I use the surrogate key which is here"CPNY_KEY" to my dimesion table. and out of these three customer_names  The name can be any one for example we can choose any of the names from "Trac Non Owned Chassis or Trac Savannah, or Trac Charleston .
    (OR)
    CPNY_KEY     CUSTOMER_ID CUSTOMER_OF_ID    CUSTOMER_CODEENAME      CUSTOMER_NAME
            1       071239            US                AABA               Trac Non Owned Chassis
            1       071910            US                   AABA               Trac Non Owned Chassis         
            1       078176            US                AABA               Trac Non Owned Chassis        
            2       081010            USA                ABAA               Hanjin Shipping'    
            3       081102     USA                ABAA               Atg 
    If this can be possible in the mapping then I can directly use its surrogate key to my dimension table, so that I could have only one record in my table with the name as "Trac Non Owned Chassis"
    Let me know if some thing still I missed any more information to provide here,
    Thanks for the suggestion.
    Thanks,
    Ven

Maybe you are looking for

  • Hiding relationship cat. in BP transaction

    Hi, I have a requirement to hide one of the relationship categories, while creating a BP as "Prospect". Anyone having any idea how to do it? I checked in config, there is no option to hide a relationship category.

  • Java in Safari but not in Firefox

    Dear Forum I have Java running in Safari, but the java.com test does not pass when I try to do it in Firefox. What can be wrong? What can i do? I require Firefox because I need the Firebug plugin. Thanks for any feedback.

  • Incorporation of Fuzzy Block From Simulink into LabVIEW Through SIT

    I am working on a project where I am using Simulation Interface Toolkit. In my applciation, I am using PXI-8176 with a PXI-6070E DAQ card. I generated my model using Simulink in which there is a Fuzzy Logic Control block. However, when I run my appli

  • Running Health Checks Manually in 11g

    tell me the procedure of generate HTML report using DBMS_HM PL/SQL package. Regards Sachin

  • I can't get on amazon on my ipad

    When ever I go on amazon.com, it won't load. I tried on other apps such as google chrome and it didn't work. I looked on my other families apple products and it worked perfectly. So I was wondering whats wrong?