How to change the name of the named instance in MS sql server 2008 R2

Hi Gurus
I have installed a  SAP ECC 6 ehp4 on MS sql server 2008 R2 with MS windows 2008 R2 OS.  While installing sql server i have selected  named instance from  window(default instance, named instance).   and given name  QAS.
and installed ECC6 ehp4 ABAP engine successfully. now i want to change the name of mssql server's named instance name to DEV.
kindly let me know
which one is the best and easy solution
1. changing the name of named istance at database level and SAP.
2. or uninstalling  the existing SAP, DB and start from scratch.
if first is the best, what would be the steps
Thanks in advance
balaji

Hello,
Please check this note:
11692 - Renaming the system ID
regards,
John Feely

Similar Messages

  • The evaluation period of this instance of Microsoft sql server reporting services has expired

    Hi All,
    When i am trying to open power view report in Event log getting below error:
    "The evaluation period of this instance of Microsoft sql server reporting services has expired: but how can we know which server ssrs has been expired..
    please help me on this ...
    Regards,
    Jithendar.
     

    Hi Jithendar,
    For your issue, you can retrieve the SQL Server Evaluation Period Expiry Date to varify which server SSRS has been expired:
    SELECT
    create_date AS 'SQL Server Install Date',
    DATEADD(DD, 180, create_date) AS 'SQL Server Expiry Date'
    FROM sys.server_principals
    WHERE name = 'NT AUTHORITY\SYSTEM'
    Reference:
    http://www.mssqlgirl.com/retrieving-sql-server-2012-evaluation-period-expiry-date.html
    Thanks,
    Eric
    Forum Support
    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]
    Eric Tao
    TechNet Community Support

  • How to change display name of the attachment item attribute.

    Hello Experts
    I have a requirement to send a notification with attachment but attachment name should be attachment name,
    Is there any way to change the display name of the Attachment
    Please advise;
    Thanks
    Rajesh.

    Azmathulla,
    It is not possible to change the name of the server, but you can add a label to it (see attached screenshot).  And yes, it can be done during production hours, this doesn't affect the production data.
    Please let me know if this answers your question.

  • How to hide not all but a specific database on a SQL Server 2008 R2 instance?

    Hello everyone,
          I need help from all the SQL Server database security experts out there. Any solution/help or work-around will be really appreciated. Here is the scenario; our client is using our application which is a windows forms application
    having in backend as a database under SQL Server 2008 R2 instance. We have successfully installed the SQL Server software with mixed mode authentication on client side, our application is running smoothly and everything is working fine. Our database on which
    application is running is quite intuitive, in the sense, all employees information is stored in EmployeeMaster and all departments information is stored in DepartmentMaster and so on. It consists of more than 500 such tables, stored-procedures and views. We
    have encrypted stored-procedures and views, problem is only with tables.
    We don't want table structure to be visible to anybody in SSMS (or tables must be hidden from all the users) but at the same time the tables should be accessible from the application. And we don't want to go with the option of encrypting
    the tables data and changing the names of all the tables to T001,T002..etc. as that is not feasible. And one last thing, we cannot restrict 'sa' login's password, it has to be shared with the client.
    Regards,
    Sumit R. Santani

    Also, will you please enlighten me more on what you said as "couple of choices" if I want to lock out plain users only?
    Assuming that you are selling a solution to a client, it's more an issue for your client's IT department, that do want their users to connect with Excel or SSMS.
    Anyway, I have a brief overview here:
    http://www.sommarskog.se/grantperm.html#Othermethods
    Again my question on that is how much reliable will be that license agreement?
    That depends on the lawyer you engage to write the license agreement.
    How would I come to know what they are doing with our database?
    Trust. Trust is extremely important. It is very difficult to make business if you don't trust people.
    That said, there are basically two reasons you want to hide the application from the client. One is protecting intellectual property. To this end, I know of nothing else than trust. And maybe after all, your application is not so fantastic that it is worth
    stealing anyway.
    The other reason is that you don't want the client to change it, and then open a free support case when he has messed up. To this end there are some technical approaches you can take to detect such tampering. For instance, you can sign all stored procedures
    with certificates using ADD SIGNATURE WITH SIGNED BLOB, and then ship only the public key of the certificate. This permits SQL Server to verify the signature, but the client cannot change the signature and sign it with that certificate, because the private
    key is not available to them.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Changing CMS and Audit Repository databases from Oracle to SQl server 2008

    Hi guys,
      We have a Business Objects Dev environment which was installed with Oracle 10g database for CMS and Audit Repository.
    Our database team now decided to change the CMS and Audit databases of Dev BOE from Oracle to  SQL server 2008.
    What is the ideal way to achieve this? I'm concerned because the old DB is Oracle and the new one would be SQL server.
    Earlier, I have changed CMS database from one to another by stopping SIA , taking the backup of old DB into new and changing it in the Update Databse option. But in that case both old and new CMS databses were on SQL server 2005.
    Thanks,
    Ganga

    Denise,
      Thanks for the solution.
    We have done Windows AD and SAP integration on the Dev BOE. Will there be any issue with those after the DB change. I am guessing there won't be, but just want to confirm. Please reply.
      Also, we need to stop the old SIA and start using the new SIA after the step two is done right?

  • Desktop shows only Icons with WEBLOC how to change these names to the website names

    In the latest vesion downloaded in Mavericks, all my web Icons on my desktop changed to a blue pictue with WEBLOC in the middle.  How can I remove
    those WEBLOC icons and replace with my web icons from my websites?? I normally just drag the web icon from the address bar to desk top and click it.
    Now all of them only will show  the Icon webloc? This happened on the last download version. I had ask someone in apple chat about this, and
    got cut off and they have never responded to me, its been a week?? Poor chat service.

    Do a backup.
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.finder.plist and com.apple.desktop.plist.  Move the .plists to your desktop.
    Re-launch Finder by restarting the computer and test. If it works okay, delete the plists from the desktop.
    If the same, return the .plists to where you got it  from, overwriting the newer one.
    Thanks to leonie for some information contained in this. 

  • How to  change host name entry for java instance using config tool

    Hi Gurus,
    We are trying to invoke DR for dual stack SAP PI system.Strategy followed is BR Tool  backup and restore method.
    We are able bring up ABAP stack and it is still pointing to production Java stack.
    Could any one please guide us with step by step procedure to change entries and bringing up java stack for DR system.
    While bringing up java instance we are facing below issues
    From starting framework it goes back to collecting data stack.
    Thanks,
    Avadhesh Sharma    
    +91-8095226536

    Hi Avadhesh,
    For dual stack systems backup/restore method is not recommended procedure for DR.
    As it will have hostnames from Production.
    Good approach will be to have export of Production Java stack and import the same into DR  OR
    Have the DR system installed using virtual hostnames which are similar to Production hostname.
    When DR needs to be operational enable these virtual hostnames.
    Hope this helps.
    Regards,
    Deepak Kori

  • How to maintain previous and record count in audit table in SQL Server 2008 r2?

    Hi Experts ,
     Situation :
    in our database we are having few of stored procedures which will drop and recreates the tables and it is scheduled on weekly basis. when this job will run all the stored procedures will drop all the tables and recreate. Now we need to create one table which
    will maintain history of the records.
    my table structure is listed below
    TableName CurrentReocrdCount CurrentExecutionDate PreviousReordCount PreviousExurtiondate
    TEST         1000                   2014-03-30            NULL        NULL
    Test         1500                   2014-04-10            1000      2014-03-30
    Test         2000                   2014-04-11            1500      2014-04-10 
    How do i achive this . 
    franklinsentil

    You need to create audit tables for these. The table will be populated by COUNT value inside stored procedure. Each time it clears the main table and fills new data and also logs count details to audit tables. You can use COUNT(*)  to get count value
    and GETDATE function to get current execution value.
    So proc will look like
    CREATE PROC procname
    @param....
    AS
    --step to drop existing table
    IF OBJECT_ID('tablename') IS NOT NULL
    DROP TABLE <table name>
    --step to fill new table
    SELECT ...
    INTO TableName
    FROM
    --Audit table fill step
    INSERT AuditTable (TableName,CurrentRecordCount,CurrentExecdate,PrevRecordCount,PrevExecDate)
    SELECT TOP 1 'TableName',(SELECT COUNT(*) FROM tableName),GETDATE(),CurrentRecordCount,CurrentExecDate
    FROM AuditTable
    ORDER BY CurrentExecDate DESC
    UNION ALL
    SELECT 'TableName',(SELECT COUNT(*) FROM tableName),NULL,NULL
    WHERE NOT EXISTS (SELECT 1 FROM AuditTable)
    GO
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to merge three columns values to single row values in sql server 2008

    Hi Frds.....
    I have three quantity in my table.
    Quantity1,quantity2,quantity3
    this three quantity have different values
    ex:
    quantity1 = 1000,quantity2=2000,quantity3=3000
    the three column combine 2 display in single row values. this values display in one by one.
    ex: quantity
         1000
         2000
         3000

    You will need to use the UNPIVOT operator:
    DECLARE @example TABLE
    Id int NOT NULL IDENTITY(1,1),
    Quantity1 int,
    Quantity2 int,
    Quantity3 int
    INSERT INTO @example VALUES (1000, 2000, 3000), (4000, 5000, 6000);
    SELECT * FROM @example;
    SELECT Id, Quantity, QuantityType
    FROM @example
    UNPIVOT
    Quantity FOR QuantityType IN (Quantity1, Quantity2, Quantity3)
    ) AS u;
    Output:
    (2 row(s) affected)
    Id Quantity1 Quantity2 Quantity3
    1 1000 2000 3000
    2 4000 5000 6000
    (2 row(s) affected)
    Id Quantity QuantityType
    1 1000 Quantity1
    1 2000 Quantity2
    1 3000 Quantity3
    2 4000 Quantity1
    2 5000 Quantity2
    2 6000 Quantity3
    (6 row(s) affected)

  • Can I Change My name in the Profile

    Hi All,
    Don't mine any one that  I Asked this Q here
    How To Change My Name in the SDN Profile ???
    I Given My Pet name At the Time of Registration in SDN.
    So I Want to Change My Display Name As Wel As The name in the Database
    I Tried Like this
    GotoMy Profile-Update Profile
    Here I Changed First name Last name Display Name
    I Logoff the User
    Then Dispaly name Has been Changed But In My Postings my old name is Remains Same
    I Want to See the Changes to Those Also
    Please Let me Know
    Regards
    Vamsi

    Vamsi,
    <b><i>Then Dispaly name Has been Changed But In My Postings my old name is Remains Same</i></b>
    Where u are seeing ur old name in ur thread? Please make sure only the display will change not the contents which u wrote in ur questions/replies. Like Best regards Vamsi, this one u are referring to? If yes then it won't changes.
    Best regards,
    raj.

  • Is 'SQLCMD.EXE' the SQL Server 2008 executable to be added to a Firewall 'Inbound Rule' to allow remote access?

    I would like to add a new Firewall 'Inbound Rule' to allow remote access by
    SQL Server 2008.    
    SQL Server Management Studio shows two TCP/IP instances, both of which are Enabled. 
    One uses port 1433 and the other uses ‘TCP Dynamic Ports’.
      In  SQL Server, the server has ‘Allow remote connections to this server’ checked.
    My Firewall allows port 1433 for the one TCP/IP instance. 
    Since the other instance is dynamic, I would like to add a new
    Firewall 'Inbound Rule' to allow the SQL Server executable to run.
    I’ve read that the SQL Server executable is commonly named SQLSERVR.EXE, but there is no such file on my laptop. 
    I’m assuming the executable that needs to be added to the Firewall 'Inbound Rule'
    is SQLCMD.EXE (in the path C:\Program Files\Microsoft SQL Server\100\Tools\Binn). 
    Can anyone please confirm this?  (I'm running Windows 7).  Thanks.

    Hi Bontrager,
    Firstly, please run
    Discovery Report to the detect the existing SQL Server 2008 instance. If SQL Server 2008 is installed properly on your machine, the sqlservr.exe should exists in C:\Program Files\Microsoft SQL Server\MSSQL10.<instance_name>\MSSQL\Binn.
    Secondly, if SQL Server 2008 is configured to use dynamic port, it is difficult to configure the firewall to enable access to the correct port number because the port selected might change every time that the Database Engine is started.
    Therefore, if a firewall is used, please reconfigure the SQL Server 2008 to use the static TCP port by using SQL Server 2008 Configuration Manager. 
    For more information, please review this
    article. After that, you can add the port number in firewall inbound rule.
    Thirdly, if you want to connect to  SQL Server 2008 from outside the firewall by instance name, SQL Server Browser should be turned on and you'll have to allow the SQL Server Browser through the firewall, which is UDP port 1434.
    Reference:
    https://msdn.microsoft.com/en-us/library/cc646023.aspx
    http://stackoverflow.com/questions/10539900/opening-ports-sql-server-instances
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • MS SQL Server 2008 not getting installed properly - MOF compiler could not connect with the WMI server

    I am trying to install SQL Server 2008 in my local machine. However, I kept running into errors with the following error message:
    "The MOF Compiler could not connect with the WMI Server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such
    as the failure of the WMI Server to start".
    I also ran "rundll32 wbemupgd, UpgradeRepository" to rebuild WMI repository, it doesn't help either. I got the same error message. 
    Any ideas what settings I need to change in order to ensure a successful installation of SQL Server 2008?

    "The MOF Compiler could not connect with the WMI Server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such
    as the failure of the WMI Server to start".
    I also ran "rundll32 wbemupgd, UpgradeRepository" to rebuild WMI repository, it doesn't help either. I got the same error message. 
    Any ideas what settings I need to change in order to ensure a successful installation of SQL Server 2008?
    can you check below two links.Make sure previous failed installation is removed completely.
    http://connect.microsoft.com/SQLServer/feedback/details/356258/the-mof-compiler-could-not-connect-with-the-wmi-server#
    Solution given by Connect MS is:
    Possibly the issue was caused by uninstalling from add-remove programs - at any rate, using aaron bertrand's suggestion below fixed the issue. Also of note - I used the local admin for the install.
    http://sqlblog.com/blogs/aaron_bertrand/archive/2009/02/20/the-xp-sp3-msxml6-sp2-sql-server-debacle.aspx
    yes - remove msxml6 and any other half installed portion of sql 2008 and REBOOT and install sql
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • How to connect to SQL SERVER 2008 from labview

    We have installed a SQL server 2008 in the local PC and through DSN we were able to connect to the database on the same PC . Now we have loaded SQL server 2008 in another PC but in same network but we are not able connect to the database. we can do it with connnectiong string?

    Thanks for your reply, 
    We verified through DSN it works, we are able to connect to database by DSN.
    But the issue is for connecting it to database we need to dynamically obtain the IP by choosing the Obtain the IP address automatically in TCP/IP Properties.
    Whereas all the other devices connected to the PC are having static IP of 192.168.127.xxx from which we are getting the data. Also the PC IP address is 192.168.127.001 which is connected to the devices with a LAN switch to acquire the data from these devices.
    Now i can either communicate with the devices using static IP address 192.168.127.1 or connect to database using dynamic address. 
    A separate LAN port will solve or is there solution for this issue?

  • How do I change the name of the Home folder OSX 10.9

    Hi there,
    I am trying to change the name of the Home folder on my Macbook Pro running OSX 10.9  I had a clean install of 10.9, and used migration assistant to restore my settings from a Time Machine Backup. 
    The problem is that the Home folder for my user is now named "Cody 1" when it used to be "Cody".  This seems like a minor issue, but all the programs that reference data in the old location, are forcing me to go and find the data manually.  Everything from iPhoto to VirtualBox, all files have to be found manually. 
    I have tried the instructions set forth in this article, http://support.apple.com/kb/ht1428, but the dialog that should, according to the article, allow me to redirect the account to the existing folder, returns an error saying that the user name is already in use.  There is no option to use the existing folder.  I have tried re-naming the folder to something different, to no avail. 
    Ideas?
    Thanks in advance. 
    -Cody

    The Apple Support document you referenced is cumbersome, outdated, buggy, and too likely to result in the sort of problems you described.
    It may be too late now but see the following:
    Niel's post here: How to change name of home folder
    and:
    Apple Support Communities contributor Pondini found an astonishingly simple way to accomplish what you seek. etresoft distilled that information into the following User Tip:
    Changing user account short name
    Note that he writes it has been tested on Mountain Lion but the procedure appears sound and should work equally well with Mavericks.
    Back up your system before doing either one.
    To fix what happened might be possible in Single user mode. I don't have specific instructions but you should be able to find and delete user accounts in the /Users directory.
    Type carefully and don't proceed without knowing the risks.

  • How can I change the name of the HD and Home Folder?

    Recently, I had a problem with my computer in which a prohibition sign came up instead of apple logo at start up. I took it to an Apple Store, and they told me that the mistake was in the HD, that they needed to restart the system, so I told them OK, but then it turned out that it wasn't that, it was the cable which connected the HD to the motherboard which was damaged.
    They obviously put the name of the HD to another one, and the home folder as well.
    So my HD name is "Apple HD" and I want to change it to "Macintosh HD".
    My home folder is named "eduardo" and I want to change it to "Eduardo".
    I am currently running on OSX 10.9 (Mavericks)
    My MBP is a mid 2012, model 9,2.
    Thanks! Hope u can help me!

    Open the Terminal in the Utilities folder and paste the following at the prompt:
    sudo diskutil rename / "Macintosh HD"
    Press RETURN. Enter your admin password as prompted. It will not echo to the screen. Press RETURN again.
    Diskutil is a disk utility.
    Rename is a command.
    / is your main drive.
    Note that there is a space before the slash mark and after it.

Maybe you are looking for

  • Batch Editing with Photoshop Elements 4.0

    I have an folder of photos which I would like to resize as a batch with Photoshop Elements 4.0. However, I am at a loss as to how to do it and am missing a step or two in my workflow. I would appreciate any specific step by step suggestion that you m

  • HT1600 apple tv latest update is asking me to plug to itunes.

    I tried this morning to update my apple TV. I went through the process and then this huge itunes logo and lightening connector pic appeared on my screen, and its still on. i guess its asking me to connect to itunes, and now i can,t even get access to

  • My Zen touch is really, really irritating me

    the simplest shock makes it stop playing. It is only week old, I could have gotten an Ipod but I got this because I was told it was superior. It plays perfectly when I am sitting, but once I start walking it will just stop in the middle of a song and

  • How do I remove a Sample excerpt from library?

    I've read my sample and now want to delete it.  How can I do that!?

  • Re Titled but not Actually Renamed ?

    I read a lot of Post but I don't this question was addressed directly. I renamed all of my IPhoto pictures. Now when I drag this photo to the desktop, or [b]export to an e-mail or application it shows the original name. As if nothing had been changed