Monitor a specific table in a ms-sql-server

Hi... is - that someone has already tried to control a table of ms sql server with a custom script? or is there already a model availlable or the module script?
would be the "cream" on top of monitoring :-)
Cheers, patrik

There are SQL for Foglight cartridges. You should check your license to see if you qualify for these cartridges. You can monitor the different databases, including Oracle, MS SQL, DB2 and others. Check with your vendor.
-dave

Tags: Dell Tech

Similar Questions

  • Ongoing replication of the selected tables from Oracle to SQL Server

    Hi all

    How can we replicate selected tables to Oracle 11 g for SQL Server 2008/2012?

    Is GoldenGate the only option

    No matter who did it before or have the steps to do it?

    Thank you

    Define "replicate".

    If you have no budget, you can open a connection directly from SQL Server to Oracle, or vice versa. In Oracle, they are called links DB; in SQL Server, they are called "linked servers".

    Datanamic also have tools that claim to do the cross-DB replication. I have no experience with them and is not an endorsement - I know they exist.

  • How to install the driver jdbc for sql server 2005 in sql developer 4.0?


    Hallo all

    I need to access the tables in a MS SQL Server 2005 database.

    The JDBC driver is possible.

    How to install this driver?

    Thanks a lot for your messages.

    Hello

    It's the documentation-

    Database: third-party JDBC Drivers

    The component drivers JDBC third party specifies drivers to use for connections to the third-party databases (non-Oracle), such as IBM DB2, MySQL, Microsoft SQL Server or Sybase Adaptive Server. (You don't need to add a driver for connections to Microsoft Access databases.) To add a driver, click Add an entry and select the path for the driver:

    For Microsoft SQL Server or Sybase Adaptive Server: jtds - 1.2.jar, which is included in the download of jtds - 1.2 - dist.zip

    To find a specific third-party driver, visit the appropriate site (for example, http://www.mysql.com for MySQL Connector/J JDBC driver for MySQL, http://jtds.sourceforge.net/ for the for Microsoft SQL Server and Sybase Adaptive Server jTDS driver, or search for Teradata JDBC driver to http://www.teradata.com/ ). For MySQL, use the driver in MySQL 5.0 not 5.1 or a later version with the version of SQL Developer 1.5.

    You must specify a third-party driver or install a driver using the check for updates feature before you can create a connection to a database to third parties of the associated type. (See the tabs to create connections to the databases of third parties in the Create/Edit/Select database connection dialog box).

    Alternative:

    As an alternative to the use of this preference, you can click Help, and then search for the updates install the for Microsoft SQL Server JTDS JDBC driver and the driver of JDBE of MySQL as extensions.

    Kind regards

    Mike

  • DB Link from Oracle to SQL Server error

    Dear friends,

    I need met some select on tables that are in SQL Server 2005 from Oracle 10 g.

    I followed the steps:
    http://www.DBA-Oracle.com/t_heterogeneous_database_connections_sql_server.htm

    I could ping TNS who is successful, but only when I run a select I get this error.

    ERROR on line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Cannot retrieve the text of the message NETWORK/NCR 65535
    ORA-02063: preceding 2 lines of SQLS

    I checked my dsn name is in small caps completely everywhere where it is used (since its proposed in many sites).

    Please guide me.

    I'm looking for really come to a solution.

    Kind regards

    Nith

    similar use to Setup ODBC and datasource
    http://www.databasejournal.com/features/Oracle/article.php/3442661/making-a-connection-from-Oracle-to-SQL-Server.htm
    and then create server link in sql server after testing WLAN with oracle

  • Migration from SQL Server 2005 to Oracle 10g

    Dear friends,

    I need to move my tables with data from SQL Server 2005 to Oracle 10 g. How can we make the best possible?

    Please guide me.

    Nith

    Here are the 4 options (it is perhaps more)

    * 1.* export to text file in SQL2005 and load text files using external table in Oracle

    * 2 in the Oracle ODBC for SQL Server connection configuration and simply pull the data using create table abc to select * mytable@sqlserver - if the oracle is on windows, this should be quick, free and painless, it works under unix as well. Examples

    http://www.databasejournal.com/features/Oracle/article.php/3442661/making-a-connection-from-Oracle-to-SQL-Server.htm
    http://www.easysoft.com/applications/Oracle/database-gateway-dg4odbc.html

    * 3.*, I think that you can configure the connection between SQL SERVER and Oracle

    http://support.Microsoft.com/kb/280106

    or and I hate this solution in general, but it works in the content is low

    * 4 in MS Access link to ORACLE and MS SQL Tables (two linked tables) and then create the insert query to move the data from the server sql for oracle - this solution works, but it is quite slow.

  • ORA-28500 and ORA-02063 when querying sql server tables.

    Hello

    I am getting below error when querying (also with oracle reports) talbes of MS SQL 2008 database who have more lines. There is no problem with tables with less number of lines.
    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
    ORA-02063: preceding line from SQLSERVER

    When I asked "select *"Areas"@sqlserver;", it is retriving 195 lines and then the display above error.» This table contains 10716 lines.

    Here are the details of our environment:

    Database Oracle 11 G RAC (2 knots) on RHEL 5 64 Bit, MS SQL 2008

    ODBC. INI
    [oracle@proddb1 ~] $ cat /etc/odbc.ini
    [ODBC data sources]
    MSSQL = MS SQL Server

    [mssql]
    Driver=/opt/Microsoft/SQLNCLI/lib64/libsqlncli-11.0.so.1790.0
    Database = Ksa_Fakieh_SFA
    LogonID = OracleUser
    Password=0r@cle999
    Server = SJSQLV01.fakiehgroup.com
    QuotedId = YES
    AnsiNPW = YES
    [ODBC]
    IANAAppCodePage = 4
    Trace = 0
    UseCursorLib = 0
    UseCursorLib = 0


    INIT FILE:

    [oracle@proddb1 ~] $ cat $ORACLE_HOME/hs/admin/initDG4ODBC.ora
    # This is an example of initialization file of the agent that contains the HS settings
    # necessary for the database to ODBC gateway

    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = mssql
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    HS_FDS_SUPPORT_STATISTICS = FALSE
    HS_LANGUAGE = AMERICAN_AMERICA. AR8MSWIN1256
    HS_NLS_NCHAR = UCS2
    #
    # ODBC specific environment variables
    #
    Set ODBCINI=/etc/odbc.ini
    #


    Listener.ora:

    # ###############################################################

    #

    TRACE_FILE_LISTENER_PRODDB1 = fakieh1

    LISTEN_DG4ODBC =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1511))(HOST = proddb1.fakiehgroup.com))
    )
    )
    SID_LIST_LISTEN_DG4ODBC =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = u01/oracle/fakieh/db/tech_st/11.1.0) (SID_NAME = DG4ODBC)
    (ENV="LD_LIBRARY_PATH=/usr/lib64:/u01/oracle/fakieh/db/tech_st/11.1.0/lib')
    (PROGRAM = dg4odbc)
    )
    )

    #
    # Definition of RAC database listener
    #

    LISTENER_PRODDB1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADRESSE = (PROTOCOL = TCP) (HOST = proddb1 - vip.fakiehgroup.com) (PORT = 1521)(IP = FIRST)))
    (ADDRESS_LIST =
    (ADRESSE = (PROTOCOL = TCP) (HOST = proddb1) (PORT = 1521)(IP = FIRST)))
    )
    )

    SID_LIST_LISTENER_PRODDB1 =
    (SID_LIST =
    (SID_DESC = (ORACLE_HOME = /u01/oracle/fakieh/db/tech_st/11.1.0)(SID_NAME = fakieh1))
    )

    STARTUP_WAIT_TIME_LISTENER_PRODDB1 = 0
    CONNECT_TIMEOUT_LISTENER_PRODDB1 = 10
    TRACE_LEVEL_LISTENER_PRODDB1 = OFF

    LOG_DIRECTORY_LISTENER_PRODDB1 = /u01/oracle/fakieh/db/tech_st/11.1.0/network/admin
    LOG_FILE_LISTENER_PRODDB1 = fakieh1
    TRACE_DIRECTORY_LISTENER_PRODDB1 = /u01/oracle/fakieh/db/tech_st/11.1.0/network/admin
    TRACE_FILE_LISTENER_PRODDB1 = fakieh1
    ADMIN_RESTRICTIONS_LISTENER_PRODDB1 = WE
    SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER_PRODDB1 = OFF


    IFile=/U01/Oracle/Fakieh/DB/tech_st/11.1.0/Network/admin/fakieh1_proddb1/listener_ifile.ora


    Thank you
    Mohammed.

    Mohammed,
    Without seeing the tracing information, it is difficult to say why this problem occurs.
    However, could you add the following to the file initDG4ODBC.ora gateway -.

    HS_RPC_FETCH_REBLOCKING = OFF
    HS_FDS_FETCH_ROWS = 1

    and try to select it again again SLQPLUS session and see if the same problem occurs?

    Kind regards
    Mike

  • Loading a SQL Server table

    Hi all
    I develop a right source - target interface table of sql server in a sql server table. When executing the interface, I get an error - message
    "Cannot insert an explicit value for identity in the 'xxx' table column when IDENTITY_INSERT is set to OFF."

    After investigation, it appears that I need to run-

    SET IDENTITY_INSERT ON of xxx
    GO

    This performance is specific session, that is to say, I have to run this statement every time ODI inserts into the target table. Is it possible that I can have the tool run this statement?

    TIA


    MN


    Version of the ODI - 11 g
    Source - SQL Server 2008 R2
    Target - SQL Server 2008 R2

    Not exactly the IKM XML, but change in the designer required used IKM.

    for security reason provide a duplication of your IKM (right-click - duplicate) and to make the necessary changes to this copy, so that, even if something goes wrong. you will not alter the original.

    hope that I have answered your question.

  • display query containing a specific table or a synonym

    Hi all

    I need to analyse all the views in a database using a specific table or a synonym in the query used to retrieve the data. Of course, I can't go to each view and check the script that he would take more time. Please suggest a solution here.

    Thank you.
    SQL> desc dba_dependencies
     Name                            Null?    Type
     ----------------------------------------- -------- ----------------------------
     OWNER                            NOT NULL VARCHAR2(30)
     NAME                            NOT NULL VARCHAR2(30)
     TYPE                                  VARCHAR2(17)
     REFERENCED_OWNER                        VARCHAR2(30)
     REFERENCED_NAME                        VARCHAR2(64)
     REFERENCED_TYPE                        VARCHAR2(17)
     REFERENCED_LINK_NAME                        VARCHAR2(128)
     DEPENDENCY_TYPE                        VARCHAR2(4)
    
  • How to combine the 2 tables in sql server 2008?

    Tell me how to combine 2 tables in sql server. and give me an example, I am a beginner again.

    You can get a faster or better response if you ask one of the instances of SQL Server dedicated from Microsoft here:

    http://social.technet.microsoft.com/Forums/en-us/category/sqlserver .

    (I'm sorry, but I can't move this thread for you because the two forums are working on separate platforms)

  • Why odi creates datetime2 (27) type of data and because of create table in sql server 2012 is a failure

    Hey

    I had a situation in the present case, I flat file and I want to load it into sql server 2012.

    In the flatfile I have 2 data types of columns date and I chose LKM FILE TO SQL, when I try to run it fails to create the work table.

    When I c the code in this step it shows

    create the table dev.dbo.C$ _0TES

    (

    ASN_BOL_NBR NUMERIC (7,0) NULL,

    ASN_CARTON NUMERIC (20.0) NULL,

    ASN_SHORT_SKU NUMERIC (7,0) NULL,

    ASN_SKU_CHECK_DIGIT NUMERIC (1.0) NULL,

    ASN_DESC VARCHAR (25) NULL,

    ASN_QUANTITY NUMERIC (7,0) NULL,

    ASN_LEAVE_DATE DATETIME2 (27) NULL,

    ASN_ARRIVAL_DATE DATETIME2 (27) NULL,

    ASN_MULT_PACK VARCHAR (1) NULL,

    ASN_MULT_SKU VARCHAR (1) NULL

    )

    MSG 1002, level 15, State 1, line 9

    Line 9: Specified scale 27 is not valid.

    DATETIME2 (27) the table of creative work is a failure because of the type of data

    ASN_LEAVE_DATE DATETIME2 (27)

    ASN_ARRIVAL_DATE DATETIME2 (27)

    Is there a way to avoid a DATETIME2 (27)?

    Thank you!

    Yes, I would certainly put the data on the source of the string type.

    Then in your mapping/interface, you can use the CONVERT function.

    For example, CONVERT (DATETIME, YOUR.) ASN_LEAVE_DATE, 101)

    In this example, 101 as a style means that your file contains a date in the format dd/mm/yyyy.

    See CAST and CONVERT (Transact-SQL) to find out what style you apply.

    Kind regards

    JeromeFr

  • Cannot see the table in the p/sql procedure but can in normal sql

    Hello

    using 11.2.0.3

    that sql format

    Select schema_owner. < table > - it works in good sql and pl/sql get message table or view does not exist.

    Other fine tables.

    Y at - it a permission to have reference to the table in the pl/sql procedure rather than sql?

    Thank you

    Hello

    I'm glad you solved the problem!

    Don't forget to mark it as "answered".  It will help others with a similar problem, and it will save time for people answering questions on this forum.

  • Question: insertion of several lines in the MS Sql Server table using the DB adapter

    Hi all

    I managed to insert a single row in a table of MS SQL Server via the adapter DB to my process BPEL, but when I tried to insert in mutiple lines in the same table of MS SQL server, I encounter the error below.

    I use a DB SQL XA connection to connect to the server.

    Kindly help me to solve the problem. Thanks in advance.

    Error:

    " < bpelFault > < faultType > 0 < / faultType > < remoteFault xmlns =" http://schemas.Oracle.com/BPEL/extension "> < a name ="summary"part > < summary > exemption is is produced when the binding was used." Exception occurred during invocation of the JCA binding: "JCA binding run 'merge' reference operations have to: DBWriteInteractionSpec Execute Failed Exception." the merger failed. The descriptor name: [LoadCmpAggSpendStage.SapTable]. Caused by com.microsoft.sqlserver.jdbc.SQLServerException: incorrect syntax near ')'... Check the logs for the record output full DBAdapter before this exception. This exception is considered as reproducible, probably due to a communication failure. To be classified as not reproducible rather add property nonRetriableErrorCodes with the '102' value in the deployment descriptor (i.e. weblogic - RA.Xml). Auto retry a reproducible fault set composite.xml for this invoke these properties: jca.retry.interval, jca.retry.count and jca.retry.backoff. All properties are integers. ". The called JCA adapter threw an exception of resource. Please examine the error message above carefully to determine a resolution. < /Summary. (> < / piece > < part name = "detail" > < detail syntax > incorrect near ')'. < / details > < / piece > < part name = "code" > < code > 102 < / code > < / piece > < / remoteFault > < / bpelFault >

    Kind regards

    Balaji Rahmani

    It seems that in this case is called merge operation. If existing records (check primary key) are not there then it will be inserted on the other update. Check the syntax of the query that is created. It looks like she may have a supplement "). If you want to only insert then call insert operation and not merge.

  • E$ Table in SQL Server - creating questions

    Hi all

    After a successful of an ETL SCD Type2, run the table of $ E is made in SQL Server but it is not removed after the race even when it is successful, the second time I run it, it causes a failure because of this, how automatically delete after a successful run, I understand the being there after a failure error table , so we investigate on the cause and then manually remove it. IS tehre a way to remove automatically after a successful run.

    Thanks for your time and your help.

    E$ table is created by CKM? for example: DROP_ERROR_TABLE option in CKM. Oracle, the default value is false, change it to true.

    even the E$ come from LKM, IKM or, you can write a step yourself in your KM to remove E$ at the beginning of a journey

  • Problem loading table in SQL server

    Hello

    I'm trying to load a table in SQL server from another instance of SQL server.

    I defined the physical and and stores of data, logical and reverse engineered models to retrieve tables.

    The target table has been created manually...

    If I try to launch the interface I get the fololowing error


    ODI-1227: SrcSet0 (load) task fails on the source of connection MICROSOFT_SQL_SERVER data WAREHOUSE.
    Caused by: java.sql.SQLException: incorrect syntax [FMWGEN] [SQLServer JDBC Driver] [SQL Server] about ' < '.
    at weblogic.jdbc.sqlserverbase.ddb_.b (unknown Source)
    at weblogic.jdbc.sqlserverbase.ddb_.a (unknown Source)
    at weblogic.jdbc.sqlserverbase.ddb9.b (unknown Source)
    at weblogic.jdbc.sqlserverbase.ddb9.a (unknown Source)
    at weblogic.jdbc.sqlserver.tds.ddr.v (unknown Source)
    at weblogic.jdbc.sqlserver.tds.ddr.a (unknown Source)
    at weblogic.jdbc.sqlserver.tds.ddq.a (unknown Source)
    at weblogic.jdbc.sqlserver.tds.ddr.a (unknown Source)
    at weblogic.jdbc.sqlserver.ddj.m (unknown Source)
    at weblogic.jdbc.sqlserverbase.ddel.e (unknown Source)
    at weblogic.jdbc.sqlserverbase.ddel.a (unknown Source)
    at weblogic.jdbc.sqlserverbase.ddde.a (unknown Source)
    at weblogic.jdbc.sqlserverbase.ddel.v (unknown Source)
    at weblogic.jdbc.sqlserverbase.ddel.r (unknown Source)
    at weblogic.jdbc.sqlserverbase.ddde.execute (unknown Source)
    at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
    at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)

    He tries to run the following SQl and I don't know why she strives to drop and create a view in the source system? The interface that I do turn above has only one source of target mapping...

    Delete the < Undefined > view. SQLDATAWH_DATAWAREHOUSEAccountDim

    Indications will be useful...

    Thanks in advance...

    Whirlpool says:
    Can you please let me know the name of the lkm and ikm which must be selected for SQL SERVER to SQL SERVER.

    You can see this
    http://docs.Oracle.com/CD/E23943_01/integrate.1111/e12644/ms_sqlserver.htm#BGBJBGCC

  • With the help of Oracle heterogeneous access table to sql server database services

    I created a dblink "POC_HS" of oracle to sql (heterogeneous services implemented) and I can't go out data from the default database to which the DSN (for sql server) is connected successfully.

    So, this ' select * from ' Test@POC_HS is works perfectly well on the Oracle database as 'Test' table resides in the default database (that the system DSN is connected to).

    But when I do ' select * Abc.Test@POC_HS' where the Test table resides in the 'ABC' database which is not the default survey database an error as follows:

    ORA-00942: table or view does not exist the name of incorrect [generic object using ODBC Connectivity] [Microsoft] [ODBC SQL Server driver] [SQL Server] 'Abc.Test '. [Microsoft] [ODBC SQL Server driver] [SQL Server] Instructions could not be prepared. (SQL State: S0002;) SQL code: 208)

    I also tried "select * from Abc.dbo.Test@POC_HS' but oracle throws this exception" ORA-00933: not correctly completed SQL command "."

    The dblink and system DSN user account has access to database 'Abc '.

    Thoughts?

    No, this is not possible.

Maybe you are looking for

  • Yosemite running.  I want Mac Mail to issue a dump when I send a message.  How?

    El Capitan running...  I want to Mail to a discharge sound when I send a message.  How?

  • Download HP Total Care Advisor for Win Vista

    I searched Hp Total Advisor for Win Vista, because when I recover my system software passed. Pls Help

  • Order of execution with waveform of reading

    I'm trying to find a way to control the order in which the sound files are played when Set up like that. It does not run them up and down as I thought it might. How can I control this order? Im sure that there is a better way to connect as well, I'm

  • Want to 700-216: CorsAir CX750

    I recently bought a privateer of CX750, and although a little more it perfectly fits the width of the case. It was however not the plug 4-pole white. More power will it are 2 Brown and 2 black. Don't see any on the 750. Someone at - it experience to

  • Cannot write error 1310 config.msi...

    Windows Vista Edition Home Premium 32 bit SP2 I think I have a problem with Windows Installer.  I get error 1310: impossible to write in c:\config.msi\... It happens with Quickbooks first 2009 and a couple of other facilities.  I tried unsubscribing