Backing Up to disk in SQL Server 2005 - New Implementation

Hi There,
My company are implementing SAP with SQL Server 2005.  I have the responsibility of creating the backup strategy.  We will not be using Tape Media to back up - all our backups are carried out to DISK (SAN).
Please can anyone state the recommended way to do this i.e. through the SAP DBA Calendar or through SQL Studio Manager.
My experience is with SQL and i have been trying for the last few weeks to implement a strategy through the SAP DBA calendar.  However i am finding it very difficult to administer this way because there are limited options on the DBA calender i.e to overwrite files, delete old files, date name files etc.  From what i have seen the DBA calendar would only be successful usind backup tape media.
Please can anyone recommend anything or give experience of how they have dealt with this situation before and weather you implemented through SAP DBA Calender or the Studio.
Many Thanks
Jamie Blake
DBA

HI,
configure backup devices on MS SQL Server management Studio,
logon to SQL server management Studio,
under object explorer navigate through server object -> backup devices
create new backup device -- destination file type.
when you schedule backup using DB13  it's take the backup on this location ( disk )
regards,
kaushal

Similar Messages

  • Upgrade to SQL Server 2005 media

    I am trying to find out if SAP provides a DVD with the SQL Server 2005 software for upgrade/installation as it did for 2000.  I have found references in notes to using the DVD provided by SAP and a SQL4SAP vb script to run to do the install.  And in other docs I see references to using the setup.exe provided on the media disk (I'm assuming here it is the MS media for SQL Server).
    Is there a SAP disk for upgrading SQL Server?  If so where can I find it.
    If I can't locate this are there any issues to be aware of if I use the MS provided install disks for SQL Server 2005 to perform an upgrade?
    Thanks
    Laurie

    Hi Laurie,
    DVD 51032641 is the SQL 2005 installation DVD for SAP.
    You cannot download it from service.sap.com, you have to order SAP standard software (SAP NetWeaver, SAP ERP, etc).
    Best regards,
    Victor

  • Log File Issue In SQL server 2005 standard Edition

    We have database of size 375GB .The data file has 80 GB free space within .When trying to rebuild the index we had 450 GB free space on the disk where Log file is residing.The rebuild index activity failed due to space issue.added more space and got the
    job done successfully
    The Log file has grow up to 611GB to complete the rebuild index.
    version :SQL server 2005 Standard Edition .Is ther a way to estimate the space required for rebuild index in this version.
    I am aware we notmaly allocate 1.5 times of data file.But in this case It was totaly wrong.
    Any suggestion with examples would be appreciated.
    Raghu

    OK, there's a few things here.
    Can you outline for everybody the recovery model you are using, the frequency with which you take full, differential and transaction log backups.
    Are you selectively rebuilding your indexes or are you rebuilding everything?
    How often are you doing this? Do you need to?
    There are some great resources on automated index maintenance, check out
    this post by Kendra Little.
    Depending on your recovery point objectives I would expect a production database to be in the full recovery mode and as part of this you need to be taking regular log backups otherwise your log file will just continue to grow. By taking a log backup it will
    clear out information from inactive VLF's and therefore allow SQL Server to write back to those VLF's rather than having to grow the log file. This is a simplified version of events, there are caveats.
    A VLF will be marked as active if it still has an open transaction in it or there is a HA option that still requires that data to be available as that data has not been copied to another node yet.
    Most customers that I see take transaction log backups every 15 - 30 minutes, but this really does depend upon how much data your company can afford to lose. That's another discussion for another day.
    Make sure that you take a transaction log backup prior to your job that does your index rebuilds (hopefully a smart job not a sledge hammer job).
    As mentioned previously swapping to bulk logged can help to reduce the size of the amount of information logged during index rebuilds. If you do this make sure to swap back into the full recovery model straight after and perform a full backup. There are
    problems with the ability to do point in time restores whilst in the bulk logged recovery model, so you need to reduce the amount of time you use it.
    Really you also need to look at how your indexes are created does the design of them lead to them being fragmented on a regular basis? Are they being used? Are there better indexes out there that can help performance?
    Hopefully that should put you on the right track.
    If you find this helpful, please mark the post as helpful,
    If you think this solves the problem, please propose or mark it an an answer.
    Please provide details on your SQL Server environment such as version and edition, also DDL statements for tables when posting T-SQL issues
    Richard Douglas
    My Blog: Http://SQL.RichardDouglas.co.uk
    Twitter: @SQLRich

  • Howto take SQL Server 2005 Cluster AND Cluster Group Offline

    I need to update firmware on the backend storage used by our Active/Passive SQL Server 2005 Cluster.  The first step in the process states that all I/O to the disks should be stopped.  Per that, I need to take the the SQL Server cluster offline AND the cluster group; however, I then need to use one of the servers that participates in the cluster to perform the upgrade on the storage array.  Using the process (which doesn't account for having to use one of clustered servers to perform updates) outlined at http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1550288&SiteID=1 as a basis, below is my best guess regarding what I will need to do: 
    Shutdown:
    1. Backup all of your databases prior to the outage and ensure they are in a safe place (NOT on the disk drives in the cluster)
    2. Take the SQL Server group OFFLINE.  This will cleanly shutdown the SQL Server and it will remain offline when you power the machine back on.
    3. Once SQL Server is offline, power off the node which does NOT have the cluster resource currently running on it
    4. Save the node which is running the cluster group for last - make a note of this machine as it will be the first one you power back on.  MY ADDITION: Before powering it down, set the cluster service to manual so that when you restart the server to perform the storage array maintenance, the cluster will not be running - and likewise not generating I/O against the disk array.
    MY ADDITION: 5. Restart the server from step 4.  Takes the cluster offline "cleanly" and brings the server back on line so that the storage array maintenance can be performed.
    6. Update the firmware on the storage array.  After that is complete, set the cluster service back to "Automatic".
    Start up:
    1. Restart the server.  Per the previous steps, the server to be restarted will be the server that last hosted the cluster group and the one used to update the firmware on the storage array.
    2. RDP into the node, open cluster administrator, and verify that the cluster came back online successfully and everything looks clean
    3. Power on the second node.
    4. Failover the cluster group across each node in the cluster and validate that everything looks OK
    5. Bring your SQL Server groups back online
    6. Validate that everything is operational
    Is there a better way to do this or official documentation for the process? 
    Thanks.

    FYI: I did use the process outlined above to briing the cluster offline, perform updates, and bring it back online.  It worked as I had hoped.  As a test, I had also done the same on a test [non-SQL] cluster prior to making the updates to our SQL cluster.  Is it the best way to do it?  Who knows. Did it work?  Yes.

  • Unable to Access SQL Server 2005 Remotedly

    Not sure if this is the right forum to post this...
    After going through lot of old posts in various forums and changing lot of settings, i'm still not able to access my Server remotely.
    This is Windows 2003 Server machine with Sonicwall Firewall, i have allowed Port 1433 in both Firewall and ISA and call is getting through but i'm getting following error msg :-
    {"An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"}
    This machine is also having Sql Server 2000, and the SQL Server 2005 is installed with named instance.
    My connection string is :-
    "Data Source=192.168.0.1\MYSERVER;Initial Catalog=MyDatabase;Integrated Security=True"
    In example above, i'm showing dummy values but actual string is having the actual live IP address and correct named instance and database.
    If i use a local address like 192.168.0.1 then i'm able to connect.
    My TCP/IP Address in Sql configuration is having my Live IP Address and the port 1433.
    Any help will be highly appreciable..

    i'm still checking on this. i have changed the port now to 1434 and changed in all places.
    my connection string is also changed now, so now i'm using :- MYIP\MYSERVER,1434
    now i'm getting a different error msg
    {"An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)"}
    this can also be due to firewall or something else is blocking it, i will rechk n post back final answer.

  • SQL Server 2005 replaced with SQL Server 2014 trying to connect front end Access as guest (read only ODBC)

    We have replaced a SQL Server 2005 with a SQL Server 2014 (new physical server.)  Have the new server set up to use SQL Server login OR Windows user login. Had old server connecting (for a particular DB) to front end Access (2010 or 2013) as guest for
    anyone logged into the Windows NT Network with a read only ODBC connection. Have the DB in the new server set to include guest as db_datareader (with only SELECT permission for the securables of each table and view being linked) but when any Windows user not
    specifically listed as a SQL DB user tries to use the front end they get an error of:
    Microsoft SQL Server Login
    Connection failed:
    SQL State: '28000'
    SQL Server Error: 18456
    [Microsoft][OCBC SQL Server Driver][SQL Server] Login failed for user {domain\user}.
    After closing that pop-up window a server login window appears. Of course, since the guest user is not specifically listed as a user in the DB that fails also. It seems like there should be a very simple solution to this, but I can't seem to find it. I want
    to allow anyone logged in on the Windows system (locally) to be able to open the MS Access file (on their work station machine) and run their own (read only; select) queries on the SQL Server database. Any suggestions?
    Thanks a billion in advance ----

    Thanks for the response Olaf. I have now spent weeks researching this. I realize that using the guest account in most situations is not advised. As mentioned, I have restricted the guest account to allow the db_datareader role only, and have explicitly denied
    all other roles, as well as allowing select only, and still have no access for the guest account.
    The suggested fix in the second link you provided, of using Windows groups is not plausible for my situation either. We are a scientific field research institution, with a few long term users and lots of users that may have Windows accounts for a few months,
    and then they are gone. It would be a nightmare for the network tech to try to keep a group account up to date, and we need to give access (read only, of course) to anyone logged into the system. Realize that the ONLY access of any kind to this database is
    thru MS Access ACCDB, using a (by default) read only OCDB connection.
    This type of access is used particularly because researchers need to be able to set up their own queries, and the MS Access query interface is particularly convenient for people who are not themselves SQL experts, yet are trying to get some very advanced
    levels of output. Putting the database online is not practical because then we are back to the need for a comprehensive query interface, and just picking up general subsets of the data online (from a basic web page search feature) would be out of the question,
    since the result set would involve hundreds of thousands if not millions of records.
    So - that said - what exactly would you suggest, assuming we don't have the funds to buy a whole new system, and have spent plenty of money with Microsoft's Enterprise level MS Office so that all work stations have MS Access, and Microsoft's SQL Server,
    as well as running our network on Microsoft's network software.

  • SQL Server 2005 data pull from Oracle

    Hi, I am learning how to use Oracle and I ran into this problem.
    My database is running on SQL Server 2005.
    I have an ODBC connection to Oracle. I also have a VB .Net script that queries the Oracle table that the data resides in.
    When the job is running, and if it stalls, I do not get a timeout error. It locks down my database and no other source systems can feed data to me; these are back logged in the queue.
    Is there an easier way for me to make a connection that will pull data on a consistent basis? Please help ...
    Student Learner

    Learning how to use Oracle does not include taking data from Oracle and putting it into SQL Server.
    From your description of what is happening I agree with BluShadow. This is not an Oracle issue. This is a coding in VB .NET issue.
    Posting the statements you are executing against some unknown version of Oracle would be a good starting point.

  • SQL Server 2005 SP2 install on Vista

    Hi,
    I have all updates for Vista, tried to install SQL Server 2005 SP2, the following log file:
    Microsoft SQL Server 2005 9.00.3042.00
    ==============================
    OS Version      : Professional  (Build 6000)
    Time            : Wed Mar 26 12:20:54 2008
    USER-PC : To change an existing instance of Microsoft SQL Server 2005 to a different edition of SQL Server 2005, you must run SQL Server 2005 Setup from the command prompt and include the SKUUPGRADE=1 parameter.
    Machine         : USER-PC
    Product         : Microsoft SQL Server Setup Support Files (English)
    Product Version : 9.00.3042.00
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0002_USER-PC_SQLSupport_1.log
    Machine         : USER-PC
    Product         : Microsoft SQL Server Native Client
    Product Version : 9.00.3042.00
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0002_USER-PC_SQLNCLI_1.log
    Machine         : USER-PC
    Product         : Microsoft SQL Server VSS Writer
    Product Version : 9.00.3042.00
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0002_USER-PC_SqlWriter_1.log
    Machine         : USER-PC
    Product         : Microsoft SQL Server Setup Support Files (English)
    Product Version : 9.00.3042.00
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0002_USER-PC_SQLSupport_2.log
    Machine         : USER-PC
    Product         : Microsoft SQL Server Native Client
    Product Version : 9.00.3042.00
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0002_USER-PC_SQLNCLI_2.log
    Machine         : USER-PC
    Product         : Microsoft SQL Server 2005 Express Edition
    Product Version : 9.00.1399.06
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0002_USER-PC_SQL.log
    Machine         : USER-PC
    Product         : Workstation Components, Books Online and Development Tools
    Warning         : Warning 28123.Warning: SQL Server Setup cannot install this feature because a different edition of this feature is already installed. For more information, see 'Version and Edition Upgrades' in SQL Server Books Online.
    Machine         : USER-PC
    Product         : Microsoft SQL Server 2005 Tools Express Edition
    Product Version : 9.00.1399.06
    Install         : Successful
    Log File        : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0002_USER-PC_Tools.log
     Setup succeeded with the installation, inspect the log file completely for status on all the components.
    Time            : Wed Mar 26 12:23:51 2008
    ==============================================================
    When I try to start SQL Server it times out. SQL Server Express is running ok.
    Can you help me get this started?
    Thank you,
    Lucy

    This is the previous errorlog:
    2008-04-09 11:47:06.27 Server      Microsoft SQL Server 2005 - 9.00.3054.00 (Intel X86)
     Mar 23 2007 16:28:52
     Copyright (c) 1988-2005 Microsoft Corporation
     Enterprise Evaluation Edition on Windows NT 6.0 (Build 6000: )
    2008-04-09 11:47:06.27 Server      (c) 2005 Microsoft Corporation.
    2008-04-09 11:47:06.27 Server      All rights reserved.
    2008-04-09 11:47:06.27 Server      Server process ID is 240.
    2008-04-09 11:47:06.27 Server      Authentication mode is WINDOWS-ONLY.
    2008-04-09 11:47:06.27 Server      Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.
    2008-04-09 11:47:06.27 Server      This instance of SQL Server last reported using a process ID of 4180 at 4/5/2008 11:17:36 AM (local) 4/5/2008 6:17:36 PM (UTC). This is an informational message only; no user action is required.
    2008-04-09 11:47:06.27 Server      Registry startup parameters:
    2008-04-09 11:47:06.27 Server        -d C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf
    2008-04-09 11:47:06.27 Server        -e C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
    2008-04-09 11:47:06.27 Server        -l C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
    2008-04-09 11:47:06.32 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
    2008-04-09 11:47:06.32 Server      Detected 2 CPUs. This is an informational message; no user action is required.
    2008-04-09 11:47:06.50 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
    2008-04-09 11:47:06.55 Server      Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
    2008-04-09 11:47:06.64 Server      The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted.  If you would like distributed transaction functionality, please start this service.
    2008-04-09 11:47:06.64 Server      Database mirroring has been enabled on this instance of SQL Server.
    2008-04-09 11:47:06.64 spid4s      Starting up database 'master'.
    2008-04-09 11:47:06.80 spid4s      4 transactions rolled forward in database 'master' (1). This is an informational message only. No user action is required.
    2008-04-09 11:47:06.82 spid4s      0 transactions rolled back in database 'master' (1). This is an informational message only. No user action is required.
    2008-04-09 11:47:06.82 spid4s      Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
    2008-04-09 11:47:07.06 spid4s      SQL Trace ID 1 was started by login "sa".
    2008-04-09 11:47:07.10 spid4s      Starting up database 'mssqlsystemresource'.
    2008-04-09 11:47:07.13 spid4s      The resource database build version is 9.00.3042. This is an informational message only. No user action is required.
    2008-04-09 11:47:07.34 spid4s      Server name is 'USER-PC'. This is an informational message only. No user action is required.
    2008-04-09 11:47:07.34 spid9s      Starting up database 'model'.
    2008-04-09 11:47:07.53 spid9s      Clearing tempdb database.
    2008-04-09 11:47:08.11 Server      A self-generated certificate was successfully loaded for encryption.
    2008-04-09 11:47:08.11 Server      Server is listening on [ 'any' <ipv6> 1433].
    2008-04-09 11:47:08.11 Server      Server is listening on [ 'any' <ipv4> 1433].
    2008-04-09 11:47:08.17 Server      Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\MSSQLSERVER ].
    2008-04-09 11:47:08.17 Server      Server named pipe provider is ready to accept connection on [ \\.\pipe\sql\query ].
    2008-04-09 11:47:08.17 Server      Server is listening on [ ::1 <ipv6> 1434].
    2008-04-09 11:47:09.12 spid9s      Starting up database 'tempdb'.
    2008-04-09 11:47:09.47 spid12s     The Service Broker protocol transport is disabled or not configured.
    2008-04-09 11:47:09.47 spid12s     The Database Mirroring protocol transport is disabled or not configured.
    2008-04-09 11:47:09.53 spid12s     Service Broker manager has started.
    2008-04-09 11:51:06.92 Server      CPU time stamp frequency has changed from 1662000 to 199683 ticks per millisecond. The new frequency will be used.
    2008-04-09 11:55:07.29 Server      The time stamp counter of CPU on scheduler id 1 is not synchronized with other CPUs.
    2008-04-09 11:55:07.29 Server      CPU time stamp frequency has changed from 199683 to 136029 ticks per millisecond. The new frequency will be used.
    2008-04-09 12:23:09.84 Server      CPU time stamp frequency has changed from 136029 to 586928 ticks per millisecond. The new frequency will be used.
    2008-04-09 12:59:13.12 Server      The time stamp counter of CPU on scheduler id 1 is not synchronized with other CPUs.
    2008-04-09 13:07:13.85 Server      CPU time stamp frequency has changed from 586928 to 824822 ticks per millisecond. The new frequency will be used.
    2008-04-09 13:47:17.50 Server      CPU time stamp frequency has changed from 824822 to 140502 ticks per millisecond. The new frequency will be used.
    2008-04-09 14:07:19.33 Server      The time stamp counter of CPU on scheduler id 1 is not synchronized with other CPUs.
    2008-04-09 15:07:24.80 Server      The time stamp counter of CPU on scheduler id 1 is not synchronized with other CPUs.
    2008-04-09 15:11:25.16 Server      CPU time stamp frequency has changed from 140502 to 1413355 ticks per millisecond. The new frequency will be used.
    2008-04-09 15:15:25.53 Server      CPU time stamp frequency has changed from 1413355 to 161989 ticks per millisecond. The new frequency will be used.
    2008-04-09 15:19:25.89 Server      CPU time stamp frequency has changed from 161989 to 134822 ticks per millisecond. The new frequency will be used.
    2008-04-09 16:23:31.73 Server      The time stamp counter of CPU on scheduler id 1 is not synchronized with other CPUs.
    2008-04-09 17:23:37.20 Server      The time stamp counter of CPU on scheduler id 1 is not synchronized with other CPUs.
    2008-04-09 18:11:41.58 Server      CPU time stamp frequency has changed from 134822 to 154257 ticks per millisecond. The new frequency will be used.
    2008-04-09 18:23:42.67 Server      The time stamp counter of CPU on scheduler id 1 is not synchronized with other CPUs.
    2008-04-09 18:23:42.67 Server      CPU time stamp frequency has changed from 154257 to 134721 ticks per millisecond. The new frequency will be used.
    2008-04-09 18:35:43.79 Server      CPU time stamp frequency has changed from 134721 to 151448 ticks per millisecond. The new frequency will be used.
    2008-04-09 18:43:44.51 Server      CPU time stamp frequency has changed from 151448 to 125134 ticks per millisecond. The new frequency will be used.
    2008-04-09 19:15:47.35 Server      CPU time stamp frequency has changed from 125134 to 182297 ticks per millisecond. The new frequency will be used.
    2008-04-09 19:23:48.08 Server      The time stamp counter of CPU on scheduler id 1 is not synchronized with other CPUs.
    2008-04-09 19:27:48.45 Server      CPU time stamp frequency has changed from 182297 to 120770 ticks per millisecond. The new frequency will be used.
    2008-04-09 19:47:50.27 Server      CPU time stamp frequency has changed from 120770 to 1370171 ticks per millisecond. The new frequency will be used.
    2008-04-09 20:07:52.10 Server      CPU time stamp frequency has changed from 1370171 to 106932 ticks per millisecond. The new frequency will be used.
    2008-04-09 20:23:53.56 Server      The time stamp counter of CPU on scheduler id 1 is not synchronized with other CPUs.
    2008-04-09 20:35:54.65 Server      CPU time stamp frequency has changed from 106932 to 88924 ticks per millisecond. The new frequency will be used.
    2008-04-09 20:51:56.11 Server      CPU time stamp frequency has changed from 88924 to 102106 ticks per millisecond. The new frequency will be used.
    2008-04-09 20:59:56.84 Server      CPU time stamp frequency has changed from 102106 to 118592 ticks per millisecond. The new frequency will be used.

  • SQL Server 2005 Error Message - when Right Clicking a DB Properties

    Hi
    We are running SQL Server 2005 SP03, we have x15 databases (excluding SBO-COMMON, RSP, Coresuite), all x15 databases have Maintenance Plans setup, tasks ticked:
    - Shrink Database
    - Clean Up History
    - Back up Database (Full)
    - Maintenance Clean-up task
    These Maintenance Plans have been running for over 5 months now, we have recently changed our VMware Virtual Server over to a Hosted VMware Virtual Server, now when I right click on a certain database and select "Properties" I get the following error message with SQL Server:
    Property Owner is not available for Database '[Turquoise_Moon_Live]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights.  (Microsoft.SqlServer.Smo)
    Could the Maintenance Plan be preventing me to run the Properties against a relevant DB (I have tested this by restoring a DB that doe not have a Maintenance Plan and the Properties works, tested this on SBO-COMMON and it works as well)
    Can anyone agree with me or let me know what else might be the issue as I have checked the Server Roles & the Users Credentials for SQL and all seems well.
    Regards
    Kurt Walters

    Hi Gordon
    This solution did not work, but I needed to delete the Maintenance Plans anyway to set it for 1 month instead of 2 Months. I am thinking as we have changed Domains, were the last one was IS Domain and the new one is Hosted Domain, the security issues are probably coming from this (as I am able to access the Properties of the IS Domain SQL Server even with the Maintenance Plans running).
    Any thoughts on correcting this as we have changed Domains? (I have created a user as HOSTED\example, the old one was IS\example)
    Regards
    Kurt Walters

  • OraOledb for 64-bit, Linked Servers and SQL Server 2005 issues

    Our environment is : SQL Server 2005, Windows Server 2003, 64-bit and 32-bit operating systems.
    Problem on 64-bit operating system box: (32-bit works fine).
    I am trying to access Oracle 10g database using linked server from our SQL Server 2005. In case of number fileds i got the following error:
    Invalid data for type "numeric".
    After going through one of the posting in this forumn i was able to resolve the problem by converting those column values to char while querying and then converting them back to numeric type on SQL server side.
    But today i ran into another problem. There is a VARCHAR2 column. I was able to retrieve the data yesterday for that column but today i am getting a blank recordset. If i exclude the colum from the query then i am getting all the rows.
    I am querying against a view and it has got a number of columns whose data type is VARCHAR2.
    Again the problem is on 64-bit operating system only. We have a 32-bit operating system on which i am able to retrieve the data including this column. I looked at the data and everything looks OK. No funny characters etc.
    I tried workarounds like using cast, to_char, checking for nulls etc., Nothing works.
    Any help is greately appreciated. Thanks.

    Did you find a resolution for this? We have similar problem. Set up a linked server in SQL 2006 to Oracle (running on Windows 64-bit) Linked server works and views I had set up were working but they added some new data in the Oracle test database I am using and now I get errors on one of the views.
    Error I am getting on the view is "Cannot initialize the data source object of OLE DB Provider "OraOLDEDB.ORacle" for the linked server"
    If I fine tune my queries to find the specific table or view that is at issue, then I get the error "inconsistent metadata for a column"

  • MSCS cluster installation on win + sql server 2005

    Dear Guru,
    I want to  installing MSCS cluster installation on win 2003 ENT.with sql server 2005 .
    Choosing High availability (ABAP)
    Please Guide me prerequisit & partation on local & shared disk.
    Its Urgent.
    Personal mail ID is [email protected]
    Regards
    Amol kulkarni
    Message was edited by:
            amol kulkarni

    Hi,
    You know what ?
    Step by step installation is different in every company because each company has a different usage of SAP software.
    It is precisly your job as a SAP sys admin, to study the problem, to solve it and to write the step by step documentation.
    In my company, it took me one month and my documentation is 250 pages long.
    You will not get someone else doing YOUR job instead of you.
    The standard SAP documenation is perfectly enough to study your particular case...
    Good luck !
    Olivier

  • ODI 10.1.3.5 with SQL Server 2005

    Good afternoon,
    We recently installed 10.1.3.5, in a Windows environment with SQL Server 2005 and Hyperion Essbase/Planning/HFM 11.1.1. We were following John Goodwin's infamous blog (thanks, John!), but ran into a number of snags.
    For instance, when we set-up interfaces with flat files as the source, loading metadata either to Planning or Essbase, ODI errors out when:
    1) our header name in the flat file has spaces (using double quotes didn't work)
    2) our header name in the flat file is different than the reverse property name from Essbase/Planning.
    Also, we're now seeing an issue in our Flat file to Essbase metadata interface where the SQL used in the IKM seems to be incorrect. Below is the error message we're receiving:
    "org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 20, in ?
    com.microsoft.sqlserver.jdbc.SQLServerException: An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements,
    look for empty alias names. Aliases defined as "" or [] are not allowed. Add a name or single space as the alias name."
    We are thinking that the culprit may be either the wrong .jar or .jre we're using with SQL Server 2005, as there seem to be inherent issues with the SQL generated in the LKM and IKM. Our questions to you:
    1. What sqljdbc.jar driver version are you using?
    2. What .jre version are you using?
    3. What environment does the above work correctly in? (perhaps an earlier version of ODI against an earlier version of Hyperion?)
    FYI - We have tried sqljdbc 1.0 and 2.0, with .jre 1.6.0_10.
    Thanks in advance!
    -O
    Edited by: Alapat on Jan 22, 2009 8:04 AM

    Thank you very much for responding!
    After a 2 week battle, we are now finally coming to a close on our issues (although we cannot say for sure what all of the causes were).
    Here is what we discovered about our questions, through other threads:
    1. John Goodwin was using JRE 1.6.x, so we ruled that out as a culprit.
    2. Others are using SQL Server 2005 just fine with ODI, so we ruled this out too. We chose to keep the sqljdbc 2.0 driver.
    Here are some issues we did uncover during our investigation:
    1. We were having issues with our agent, specifically regarding the HFM technology. We created a new one, added a few extra parameters, compiled the agent, and are now back up and running. We realized the problem when we switched to "Local (No Agent)" and saw that we were not having as many issues.
    2. We went into the physical agent and pressed "Update Scheduling". We do not know if this had any effect, but we suddenly noticed that our flat file header issues were resolved.
    3. The Essbase issue was due to a configuration error with our Hyperion Essbase physical technology. We went into that technology and changed a setting on the "Languages" tab, called "Object Delimiter". It had double-quotes in it - we removed that parameter and instantly saw a change in the SQL being executed.
    4. Some of the mappings in our interfaces needed to be executed on different environments. i.e. - We needed to switch to "staging" when the flat file header was different than the target column name. Newbie mistake - we thought ODI had built-in intelligence to choose correctly for us.
    5. When doing a reverse on Essbase models, we noticed that the Essbase columns would populate with an "Undefined" datatype, instead of the expected CHAR. We have to manually define all column datatypes after every Essbase reverse now. Must be a bug.
    6. We also noticed when doing a flat file reverse that all columns auto-populate with datatype STRING, length 50. We have to manually personalize that option for different Hyperion applications, based on need. i.e. - some require numeric datatypes, or smaller/larger lengths. This was obviously a newbie error. :)
    Thank you for your tip on the MS SS2005 JDBC drivers - we will look into your other options - IMHO, JTDS, etc.
    -O

  • Sql server 2005, R/3 4.6c and compability mode

    Hi
    I doing upgrade from 4.6c --> ECC 6.0 on sql server 2005. And i get followin error
    SCRIPT MSSINCHK
    =================
    Msg 468, Level 16, State 9, Server MEDIASP10, Line 55
    Cannot resolve the collation conflict between "SQL_Latin1_General_CP850_BIN" and
    "SQL_Latin1_General_CP850_BIN2" in the equal to operation.
    Msg 468, Level 16, State 9, Server MEDIASP10, Line 66
    Cannot resolve the collation conflict between "SQL_Latin1_General_CP850_BIN" and
    "SQL_Latin1_General_CP850_BIN2" in the equal to operation.
    Execution completed successfully
    I have checked that collation order is correct.
    I think that problem that somehow sql server's compability mode is recognized wrong (sql server 2000 insted sql server 2005).
    Any colution on this ?
    Br, Juha Niemi

    Hi there,
    I'm running into this same issue when trying to run PREPARE for the 4.6c to ERP/ECC 6.0 upgrade in phase INITPUT_PRE.  I ran several of the queries mentioned in this thread and discovered that the database and instance are both BIN2, and 116230 columns are BIN2, but another 319398 columns are still BIN.  Without reverting the database (eek, somehow) back to MSSQL2000 and rerunning instcoll.exe (again, I already did once) or building an alter table query for each one that is out of spec (which according to MSDN won't work on certain cols anyway), how can this be resolved?
    for my SID database I have the following column types in count:
    SQL_Latin1_General_CP850_BIN2     116230
    Latin1_General_BIN     29
    NULL     58467
    Latin1_General_CI_AS_KS_WS     11
    SQL_Latin1_General_CP850_BIN     319398
    But the databases are all running BIN2 as such:
    Server     SQL_Latin1_General_CP850_BIN2
    Master     SQL_Latin1_General_CP850_BIN2
    Model     SQL_Latin1_General_CP850_BIN2
    TempDB     SQL_Latin1_General_CP850_BIN2
    SID     SQL_Latin1_General_CP850_BIN2
    The checkdb procedure came back with no errors:
    CHECKDB found 0 allocation errors and 0 consistency errors in database 'PD1'.
    DBCC execution completed. If DBCC printed error messages, contact your system administrator.
    And the system appears to be functioning correctly, except that the Upgrade Assistant won't let me continue with the mismatched column collation types.
    Suggestions?  I noticed there was never a resolution posted.
    Thanks,
    --ben

  • SQL Server 2005 and ColdFusion 7

    Hi all,
    I am using SQL Server 2005 and ColdFusion 7 (standalone) on
    XP 64 Bit. I was using the exact setup a couple of weeks ago, but
    had to reinstall my O/S due to hardware problems so am back to the
    beginning. I remember having a nightmare setting datasources up in
    the past, but did manage to find a solution.
    I have tried the following:
    SQL has TCP/IP Enabled
    SQL is set to Mixed Authentication
    SQL has a login set to the same as my Windows Username and
    password
    My database has a user (dbo) by the same name as the login
    set in SQL
    When I add a datasource in the administrator I enter the
    windows username and password (I have tried without either as
    well), the server name as localhost and the port as the default
    1433.
    I always get the following error:
    Connection verification failed for data source: DATABASENAME
    java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver]Error establishing socket. Connection refused: connect
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver]Error establishing socket.
    Connection refused: connect
    Can someone offer any advice? This is driving me proper nuts.
    TIA,
    Paul

    when i did it, i had to update my jdbc driver
    http://msdn.microsoft.com/data/ref/jdbc/

  • SQL Server 2005 (64 bit) returns truncated text from Oracle 10g (64 bit)

    Hi all,
    I'm no expert in Oracle so I desperately need your advice.
    I'm using SQL Server 2005 (64 bit) and trying to pull data from a Oracle 10g (64 bit) server. I am able to connect to the Oracle server with no problems.
    The problem came when I was trying to pull a text column (I think it's BLOB in Oracle) from the Oracle server. The results came back BUT truncated to only 100 characters. (This is a column containing event logs so the text is really really long...)
    As you may already know, Microsoft is not providing the driver for this case (which is insanely ridiculous!!!). There is no standard “Microsoft OLE DB Provider for Oracle” which we would normally use to establish a linked server connection to Oracle. Instead, we had to install the provider given by Oracle (Oracle Provider for OLE DB).
    I have tried to Google for solutions but didn't find much. Please help! :(
    Thanks in advance,
    Eleni

    If this is a one time activity, you need to find a migration utility which will do the job for you. SQL Developer is available had your case been the other way round (migrate from SQL Server to Oracle).
    Check out tools from SwisSQL
    http://www.swissql.com/products/oracle-to-sqlserver/oracle-to-sql-server.html
    Microsoft's own SSMA (I think this is what you are using already)
    http://www.microsoft.com/sqlserver/2005/en/us/migration-oracle.aspx
    Apart from this, if there are any issues with the tools themselves, you need to get in touch with the respective vendors.

Maybe you are looking for

  • IPod nano installation problems with Windows Vista

    I purchased an iPod nano today and have not been able to install iTunes. There are instructions for Windows XP but not much help for Vista. As of right now I am very unhappy with my purchase and if I can't get help soon I am going to return it. I hav

  • When I click on any of the bookmarks in my toolbar they no longer automatically load that page.

    '''My bookmarks all show up in my toolbar fine (along with their icons) but when I click on one of them the website does not load. ''' I have tried to click on a bookmark in my toolbar while on another website and nothing happens... same thing when I

  • How to see the result

    hi every body... i want to get the result of any table.. for ex: select * from dept; the o/p should be like(10~Accounts~new york) for this i wrote this code.... it run sucessfully; my prob is how to see the Result.. declare tn varchar2(35); sqlstmt v

  • How to send photos embedded in email?  It worked well on version 7.

    I was able to imbed photos in an email easily on version 7.  Version 11 does not allow me to do that without cutting and pasting each individual photo individually, one after another.  What am I doing wrong? Thanks, Tom

  • Imported image sequence in PP CC 2014 causes animated layers to flicker

    I have a project which has a primary layer formed of imported JPGs that are in sequence. These are shots from a time lapse and are sequentially named and imported without issue into Premier Pro. I then have a secondary layer with a simple After Effec