KM for Teradata To SQL Server

Hi All,
I need to transfer bulk data from terdata to Mssql Pls suggest some KM
can i use
• LKM SQL to MSSQL (BULK)
• KM MSSQL Incremental Update
Any suggestion

kreddy wrote:
Hi All,
I need to transfer bulk data from terdata to Mssql Pls suggest some KM
can i use
• LKM SQL to MSSQL (BULK)
• KM MSSQL Incremental Update
Yes you can as the above mentioned KM are for generic SQL source to MSSQL db

Similar Messages

  • Alternative for Cursor in SQL Server 2012

    Hi all,
      I keen to know Alternative for Cursor in SQL Server 2012. Why everyone telling Cursor have performance impact. Any other alternative for row by row comparison like Array in SQL 2012 ?
    Thanks

    It is not the cursor that kills you - it is the loop as such. I've seen more than one example of a poor man's cursor, where they have selected TOP 1 from a #temp ORDER BY, and several operations on the temp table - which is completely void of indexes,
    making the operations for the loop control the slowest in the batch. So you use cursor when you need to iterate.
    But in many cases, you should work and think set-based instead.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Equivalent datatype in Oracle for datetime of SQL Server

    Hello Everyone,
    I'm very much new to Oracle. I have been working with SQL Server since 3yrs. Currently I'm working with Oracle 11g.
    What is the equivalent datatype in oracle for datetime in sql server with which has the format YYYY-MM-DD HH:MM:SS?
    I tried with timestamp and date which didnt solve my prob.... Please help me in using the equivalent datatype for the format provided above...
    Regards,
    Bhanu Yalamanchi.

    Oracle date format can be anything you want, either by default at the session level or preferably explicitly using to_char and a format mask.
    Format masks are documented here.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/sql_elements004.htm#CDEHIFJA
    SQL> create table t (d date);
    Table created.
    SQL> insert into t values (sysdate);
    1 row created.
    SQL> select * from t;
    D
    19-JUL-11
    SQL> alter session set nls_date_format = 'YYYY-MM-DD HH:MI:SS';
    Session altered.
    SQL> select * from t;
    D
    2011-07-19 08:27:59
    SQL> select d, to_char(d, 'YYYY-MM-DD'), to_char(d,'Day') from t;
    D                   TO_CHAR(D, TO_CHAR(D
    2011-07-19 08:27:59 2011-07-19 Tuesday
    SQL> alter session set nls_date_format = 'DD-MON-YY';
    Session altered.
    SQL> select d, to_char(d, 'YYYY-MM-DD HH24:MI:SS') from t;
    D         TO_CHAR(D,'YYYY-MM-
    19-JUL-11 2011-07-19 08:27:59

  • Best option for website plus SQL Server?

    Best option for website plus SQL Server?
    OPTION 1: Azure website + SQL VM
    OPTION 2: Azure website + SQL VM within Virtual Network
    OPTION 3: Website VM + SQL VM both within Virtual Network
    Pros/cons of each?  I’m looking there SIMPLEST solution so long as also SECURE.
    Thanks.

    Hi,
    With Azure web sites, you don't have to manage Virtual Machines, network load balancers, or deployment infrastructure yourself. All of these capabilities are built in and provided by the Azure Websites service.
    It depends on you. Personally, the easiest way would be creating an Azure Web site and using a SQL Azure database associated with the site.
    If you want to use a SQL VM as a database server, I recommend you to create it in a virtual network as it is supported for integration between your Azure virtual network and the Azure Websites:
    Azure Websites Virtual Network Integration
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Hibernate mapping XML files for the two SQL Server tables below.

    Hello all..,
    Question 1:
    I am working on a project that needs to support a database with an inherited legacy schema that you cannot change. The schema is provided below.Hibernate mapping XML files for the two SQL Server tables below. Please provide those two XML files. Assume some hypothetical package and class names. Assume that no "fancy" stuff such as lazy initialization, optimistic locking etc is needed at this time.
    CREATE TABLE [SURVEY_ANSWERS] (
    [ANSWER_ID] [int] IDENTITY (1,1) NOT NULL,
    [QUESTION_ID] [int] NOT NULL,
    [POSITION] [int] NULL,
    [TEXT] [varchar](350) NULL
    CREATE TABLE [dbo].[SURVEY_QUESTIONS] (
          [QUESTION_ID] [int] IDENTITY (1, 1) NOT NULL ,
          [TEXT] [varchar] (350) NULL
    GO
    ALTER TABLE SURVEY_ANSWERS
    ADD CONSTRAINT pk_SURVEY_ANSWERS PRIMARY KEY(ANSWER_ID,QUESTION_ID);
    ALTER TABLE [dbo].[SURVEY_QUESTIONS] ADD
           PRIMARY KEY  CLUSTERED
                [QUESTION_ID]
    GO
    ALTER TABLE [dbo].[SURVEY_ANSWERS] ADD
           FOREIGN KEY
                [QUESTION_ID]
          ) REFERENCES [dbo].[SURVEY_QUESTIONS] (
                [QUESTION_ID]
          )Question 2:
    Assume that you are working on a project developing, say, a banking application. You are the Architect and thinking that Hibernate ORM should be used for the entire access to the relational database. As usual, you have created (or auto-generated) a set of HBM XML files as well as POJOs for which you define the mappings. Assume now that a new requirement has just popped up. The system needs to be able to import new bank accounts and user information in bulk from a very large XML file at once and store it in the database. Assume the XML file contains all necessary information to populate fields in database tables. As performance is very important for this operation. Given this description, how would you approach the problem?
    Please describe briefly.
    -Thanks and regards
    Praveen Soni

    You're not fooling anyone Dennis_Mox. But nice try.Jeez, man. Mail me at denismox[at]yandex.ru, I will show you that exact test, dammit.

  • Teradata Source SQL Server where clause In SSIS

    Hi All,,
    I want pull the data from Teradata to SQLServer .But Teradata source query in where clause around 200 productcodes manually. Instead of that one I want pass sqlserver table dynamically . creating  one temp table in ssis for sqlserver data and  
    Teradata source query joining the temp table (with out where clause) Is it possible to implement this task in SSIS or
    Best method to implement this task in ssis
    Thanks
    CMK...

    Hi CMK,
    You can create a staging table to store the productcodes used in the WHERE clause in the Teradata source query. Then, you can use Lookup Transformation in SSIS to achieve your goal.
    If you use Enterprise or Developer Edition of SSIS 2008 or higher, you can install the Microsoft Connector Version for Teradata by Attunity to obtain the OLE DB provider for Teradata. You can use an OLE DB Source adapter to extract data from the Teradata
    database without WHERE clause, then add a Lookup Transformation which lookups records from the staging table, and output the lookup match records to the destination SQL Server table.
    Reference:
    https://www.simple-talk.com/sql/ssis/implementing-lookup-logic-in-sql-server-integration-services/
    Regards,
    Mike Yin
    TechNet Community Support

  • Renaming the Physical Filename for Datafiles in SQL Server 2008

    Can anyone tell me how to change the physical filename of the datafiles? There doesn't seem to be any documentation on this, yet its quite easy to change the logical filename.

     There are several ways to make this change, however to rename the physical database files at operating system level you will have to take the database offline
    1. Use SSMS to take the database Offline (right-click on Database, select Tasks, Take Offline), change the name of the files at the OS level and then Bring it Online.
    2. You could Detach the database, rename the files and then Attach the database pointing to the renamed files to do so.
    3. You could Backup the database and then restore, changing the file location during the restore process.
    4. using T SQL
    ALTER DATABASE databaseName SET OFFLINE
    GO
    ALTER DATABASE databaseNAme MODIFY FILE (NAME =db, FILENAME = 'C:\Program
    Files\Microsoft SQL Server\MSSQL.2\MSSQL\Data\db.mdf')
    GO
    --if changing log file name
    ALTER DATABASE  databaseNAme MODIFY FILE (NAME = db_log, FILENAME =
    'C:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Data\db.ldf')
    GO
    ALTER DATABASE databaseName SET ONLINE
    GO
    for more info http://technet.microsoft.com/en-us/library/ms174269.aspx

  • Reporting Services 2012 for SharePoint and SQL Server Agent "Subscriptions and Alerts"

    After installing Reporting Services for SharePoint (Denali) in my test farm, I'm trying to configure the "SQL Server Agent" access for Reporting Services.  From Central Admin I'm going to the Reporting Service applicaiton configuration screen and selecting
    "Provision Subscriptions and Alerts".  I've tried both options on this screen.  I've manually executed the "download sql script" in SQL Server, as well as entering a user with SQL sys admin rights on the SQL server into the login fields on the screen. 
    The role and permissions have been created for the application pool service account, but Reporting Services is still trying to connect with the annonymous login because I'm getting the following alert each time I open the "Provision Subscriptions and Alerts"
    screen:
    Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
    The "status" on the screen still shows "SQL Server Agent State cannot be determined".  Has anyone else seen this? 
    Thanks!!

    Thanks for your reply!
    1) Looks like the new Reporting Services does not run as a Windows Service so it's not listed in the "Configure Service Accounts" pulldown.  As a result, I don't see how to set the service account.  It's only assigned to an application pool. 
    I installed it into an existing application pool and that application pool "is" in the list and has a domain service account already assigned.
    2) Which users need to be in here in order to configure the "Provision Subscriptions and Alerts" screen?  I already have the farm admin account which is the account I use when running Central Admin.
    3) As mentioned in #1, I've installed Reporting Services into an existing application pool with other service apps.
    4) This link is for Reporting Services 2008 R2 which is very different install process.  But I did follow the SQL Server Reporting Services 2012 RC0 installation instructions and the Reporting Services is functioning correctly with no errors. 
    I'm just not able to configure the sceduling the alerting with interfaces with the SQL Server Agent.
    Thanks!

  • Urgent : Domain creating for BPM in sql server 2008

    Hi,
    I have created the repository for SOA & BPM and installed the soa 11.1.1.7 in windows 64 bit.
    while am creating the domain for soa in weblogic server 10.3.6. Am getting error like
    [FMWGEN][SQLServer JDBC Driver][SQLServer]Could not find stored procedure 'master..xp_jdbc_open2'.
    CFGFWK-60850: Test Failed!
    For this issue i have found the solution from MOS
    SOA 11g: Data Source Error Using SQL Server in Domain Configuration Wizard, 'CFGFWK-60850' [ID 1483823.1]
    we have tried above solution but still we are facing the same issue.
    please suggest me to solve this issue.
    Regards
    Kumar V

    Hi,
    Now the issue has been fixed.
    we have followed the below mentioned document. it gives solution for this issue.
    SOA 11g: Data Source Error Using SQL Server in Domain Configuration Wizard, 'CFGFWK-60850' [ID 1483823.1]
    Thanks
    Kumar V

  • Test Connection failed in Crystal Reports for Eclipse using SQL Server 2008

    I installed an SQL Server Express 2008 on my local PC (Window XP SP3). I downloaded sqljdbc4.jar to Crystal Reports for Eclipse
    IDE library path and tried to Test Connection, but got the Ping failed message : The TCP/IP connection to the host localhost, port 1433 has failed. It said that check that an instance of SQL Server is running on the host (I saw SQL Server SQLEXPRESS is Running on my PC) and accepting TCP/IP connection at the port (I enabled TCP/IPin my PC's SQL Server Network Configuration),
    and that no firewall is blocking TCP connection to the port(I turned OFF Window Firewall on my OC). Can anyone tell me how can I fix this problem ?

    Hi,
    Check the below thread also:
    http://scn.sap.com/thread/1634856
    Thanks,
    DJ

  • Set SPN for a local SQL Server 2008 R2 Express database used for local "Offline Mode" application

    Hi - I have tried searching the web for tips on this situation. Basically, I am trying to recreate a previous employee's client Image. This image is used for one of our companies client application that features and "Offline Mode" where it connects
    (Using Kerberos) to the local DB instead of the central DB server.
    The custom image connects without issue. I cannot seem to recreate his configuration. I am sure of these things:
    - Both images are using the same SQL Server 2008 R2 Express version.
    - Both images have the same user accounts setup.
    - Both images have "Remote Connections" setup with TCP/IP enabled in the Configuration Manager.
    - Both images are joined to the same Domain server currently.
    - Both images has the SQLServer service set to use "NETWORK SERVICE" account.
    This is the error message I get when SQL starts up for the non-working image:
    The SQL Network Interface library could not register the Service Principal Name (SPN) for the SQL Server service. Error: 0x54b, state: 3. Failure to register an SPN may
    cause integrated authentication to fall back to NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies.
    Thank you for any assistance given.

    Hi Gribbled,
    Could you please change the SQL Server Service to run under 'LocalSystem' account and restart SQL Server? Then check if the error still occurs. When the SQL Server service account is configured to use the LocalSystem account, the server will automatically
    publish the SPN.
    Alternatively, to work around this issue, you can manually create the SPN for the SQL Server Service account  using the SETSPN tool. For more details, please review this
    blog.
    Thanks,
    Lydia Zhang

  • How to study for the MCSA: SQL Server Exams?

    Hi guys, 
    Forgive me if this question has already been answered but I'm simply trying to find out the best way to tackle the three exams required for the MCSA in SQL Server. I read a blog post on the Pluralsight website which, in discussing the MCSA in Windows
    Server, it was advised that the best approach is to study for all three exams rather than one at a time as there's a certain amount of overlap.
    My question is does this apply to SQL Server 2012 too? Or would it be bets to study for, and take, the three exams separately and one at a time? I'm just completing the Trainsignal (now Pluralsight) SQL Server 2012 Administration Essentials 28-video course
    and was just about to begin going through the equivalent book when I read the blog post.
    My background is mainly in desktop/server support (10years following an IT degree) and before now, have had no real exposure to SQL Server. I was asked about a year ago by my current manager to "keep an eye" on the SQL instances we have and began
    by replicating the our fail-over cluster in a virtual environment for testing purposes and to gain an understanding of the set-up. I've since developed a keen interest in SQL Server and plan to get certified...  
    Many thanks in advance.
    Marcus.
    Exams are:
    1
    Querying Microsoft SQL Server 2012
    2
    Administering Microsoft SQL Server 2012 Databases
    3
    Implementing a Data Warehouse with Microsoft SQL Server 2012
     

    Hello,
    My humble recommendation is to study for each exam one at a time. I found 70-461 most difficult exam of SQL Server I have
    taken to this date for its XML content and the extent of the exam. Go for 70-461 first.
    You will find tips and recommendations on the following Channel 9 resources:
    http://channel9.msdn.com/Events/TechEd/Europe/2013/EXM15
     (70-461)
    http://channel9.msdn.com/Events/TechEd/Europe/2013/EXM16
     (70-462)
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Using WMI alert for mirroring in Sql server 2012

    We are using mirroring in Sql Server 2012  and we are using WMI alerts for some of events such as Connection lost,Manual failover,...
    In alert definition we have set the followings:
    Type: WMI event alert
    NameSpace:
    \\.\root\Microsoft\SqlServer\ServerEvents\MSSQLSERVER
    Query: select * from DATABASE_MIRRORING_STATE_CHANGE where State = 6
    The alert is bing triggered correctly,but on email description instead of having meaningful explaination like 'Connection lost',We have the same query:
    Query: select * from DATABASE_MIRRORING_STATE_CHANGE where State = 6
    We have used the same implementation in our Sql Server 2008 servers and it is working fine.This mashine (Sql Server 2012) is a new mashine.
    I would appreciate if someone help me on this.AlsoI checked and 'Include body of e-mail in notification message' was already set.
    Thanks
    Aspet
    A.G

    Are you looking for alerting related to mirroring like below ?
    http://www.mssqltips.com/sqlservertip/1859/monitoring-sql-server-database-mirroring-with-email-alerts/
    http://technet.microsoft.com/en-us/library/cc966392.aspx
    Raju Rasagounder Sr MSSQL DBA

  • Ho to Write Query for dynamic in sql server for IN operation.

    hi ,
    we was write store procedure dynamically for IN operation,when i select 4 values it was update only 3 item last selected values are not update .if select more then 5 it will showing the below error
    ALTER PROCEDURE [dbo].[UpdateEMPdetails]
    @NID varchar(50),
    @EID nvarchar(max),
    @RT bit,
    @Ackd bit,
    @VerifiedBy varchar(80),
    @TableName varchar(100)
    as
    declare @SqlQueary nvarchar(max)
    set @SqlQueary = 'update '+ @TableName +' set RT='+CAST(@Rt AS CHAR(1))+',Ackd='+CAST(@Ackd AS CHAR(1)) +',Verified_By='''+@VerifiedBy+''' where NID='''+@NID+''' and ' +
    ' EID in('''+ @EID+''''+')'
    print @SqlQueary
    exec UpdateEMPdetails 'EMP14-302',"000008922','00000010242','000008923','00000010242','0000008922','00000010242','0000008922','00000010242",1,1,'xyz','EMPTB'
    when i run this one we will getting the below error
    Msg 103, Level 15, State 4, Line 1
    The identifier that starts with '0000008922','00000010242','00000008922','00000010242','0000008922','000000010242','00' is too long. Maximum length is 128.

    Hi PS_L,
    This is the forum for SharePoint .For your question please use the related Forum, following link is SQL
    Server Forum:
    http://social.technet.microsoft.com/Forums/sqlserver/en-us/home?category=sqlserver 
    This question, I think if you change "000008922','00000010242','000008923','00000010242','0000008922','00000010242','0000008922','00000010242"
    to  N'''000008922'',''00000010242'',''000008923'',''00000010242'',''0000008922'',''00000010242'',''0000008922'',''00000010242''' will solve it. 
    Qiao Wei
    TechNet Community Support

  • Replication for High Write SQL Server Environment

    Hello everybody,
    Long-time reader, first time writer ;-).
    We have been analyzing our SQL environment with our vendor and wanted to reach out to the community to ask for advice.  Our main solution takes in large files daily and performs a series of logic that requires heavy writes to the disk upon import --
    BCP or SSIS is not an option.  We have a bare metal SQL server that is configured which handles the import of the largest files in three hours.  We are looking to possibly use virtualization and  SQL 2014 to provide a better disaster recovery
    option. 
    We are working through a proof of concept with our hosting provider that has SQL running in a VMWare virtual environment using SAN disk as the main disk.  During our tests, the file that takes three hours to import takes around six hours in the virtual
    environment.  Their engineers are looking at speeding up the SAN, but I would like to have an alternative.
    Could I do something similar to the following:  have a bare metal server act as the main import server, and then replicate the data to servers that are virtualized?  I believe there is an always on feature with SQL 2014 which would provide automatic
    switch over in case of failure.  How would you suggest I configure my environment to handle this?  Would it be make sense to have the bare metal server kick off a Tlog transfer after the file is imported to the virtualized environment?  If so,
    how would that look?
    Thank you very much, in advance, for you advice!!!!!

    >have a bare metal server act as the main import server, and then replicate the data to servers that are virtualized?  I believe there is an always on feature with SQL 2014 which would provide automatic switch over in case of failure.
    Yes.  That would be
    AlwaysOn Availibility Groups. In an AG all the transaction log records written to the primary database's log file are copied to the secondary replicas as well.  The AG can't fail over automatically unless the secondary replica is synchronized. 
    In your scenario it will probably take additional time to replicate the log records and apply them on the secondary, so you would not have automatic failover during that window. 
    You could switch the replica from Sync to Async mode during the load window, and then back to Sync mode after.
    >Would it be make sense to have the bare metal server kick off a Tlog transfer after the file is imported to the virtualized environment?
    You could do this too, with Log Shipping.  The VM would be even farther behind the primary.
    David
    David http://blogs.msdn.com/b/dbrowne/

Maybe you are looking for

  • Error: Source system already exists. Message no. RSAR201. Points rewarded.

    Error: Source system already exists. Message no. RSAR201 We have installed a BI 7.0 system recently and I am setting up the server to connect to SAP ERP. In TA SM59 a connection to the SAP ERP has been established. The “Remote Logon” is OK, (meaning

  • Error while transforming XML in mediator

    I have a mediator on my composite that routes from a webservice to an ADF-BC Service. I mapped the input from my webservice to the input of my ADF BC SDO. That works. When i look in the enterprise manager, the parameters are routed correctly. The ser

  • BPM step Receiver Determination

    Hello Friends, the operator "Receiver Determination" - how can be used in BPM? Is there any weblog or example for that? Best Regards, F.K.

  • How do I get my 5520 series printer to print larger print, from pdf file. I'm using windows 7

    I am trying to print a pdf file.  I want the print Larger and fill more of each page.  How do I set my printer for this? Thank you

  • SAP HR certification

    Hi Experts, I am in SAP HR module for the past 2 years.I am preparing for the certification for the same.If anyone has the idea regarding the same please send me the thorough details.I have the hardcopy of THR10 and THR12.Apart from these materials h