Fragmenting Table (Informix/Oracle Way)

Jul 22, 2006

What is it called or how can I fragment data for a table based on date or a column using SQLSvr2000? :confused:

View 4 Replies


ADVERTISEMENT

Integration Of SQL Server With Cache DB, Informix And Oracle

Mar 12, 2008

SUB: pushing data to SQL server from Informix, Oracle and Cache DB


we r doing some application and SQL server as backend DB Server. this sql server has to be updated continiously 24*7 with data from 3 external sources Cache DB, Iformix and Oracle DB servers. How to handle this in such away that all changes at 3 external sources to be updated to SQL server and this data will use by our application at frondend.
we though of ODBC., but ODBC is very very slow. It should lke Shadowing.
How to handle this?. any help will greatly appreciated.

Thanks in advance.

Prasad
vsrprasad16@gmail.com

View 1 Replies View Related

Integration Of SQL Server With Cache DB, Informix And Oracle

Mar 12, 2008



we r doing some application and SQL server as backend DB Server. this sql server has to be updated continiously 24*7 with data from 3 external sources Cache DB, Iformix and Oracle DB servers. How to handle this in such away that all changes at 3 external sources to be updated to SQL server and this data will use by our application at frondend.
we though of ODBC., but ODBC is very very slow. It should lke Shadowing.
How to handle this?. any help will greatly appreciated.

Thanks in advance.

Prasad
vsrprasad16@gmail.com

View 1 Replies View Related

Indexes Fragmenting Overnight

Jun 9, 2006

Over the past few days we noticed severe performance issues on some of our more complicated queries. I ran a DBCC ShowContig on the problematic tables, and noted that the Logical Scan Fragmentation was very high, like over 90%. I ran a DBCC DBREINDEX on the tables, the Logical Scan Fragmentation reduced down to between 0% and 10%, and the queries ran instantly.

However...the next day, the queries were causing problems again. Running ShowContig showed the fragmentation was up to over 90% again. Now, these are very static tables I'm dealing with...absolutely no UPDATE, INSERT or DELETE commands have been run against them (we import the data once a month). I set up a job to monitor the state of the index fragmentation overnight. All is well until 0100, when the LSF hits 90% again. I can't figure out what could be causing this, we have no jobs that run on, or affect, this database overnight, except the backup, which runs at 2100. Has anyone experienced anything like this before, or does SQL Server do something on the fly that could cause it to happen?

TIA!

View 5 Replies View Related

Migrate Informix Table

Dec 19, 2013

Migrate an Informix table (and eventually an entire database) to MS SQL Server 2012. This is my first experience using SSIS. I started off using the SSIS Import/Export Wizard to create a package. I was actually able to successfully copy a table, but it just didn't copy all the data. It skipped all the data that was in string columns. It created the columns with the proper datatype in the destination table, it just didn't copy the data. The other columns all copied properly. I need to do to get the string column data to copy?

View 7 Replies View Related

Need To Link Table In SQL Express 2005 From Informix/Access

Apr 5, 2007

Hi,



Can someone help me and advise steps how to create link through ODBC between SQL Express 2005 & Informix ODBC / Access Database



Thanks

Amir

View 1 Replies View Related

Inserting Into Oracle Table That Has DATE_HIGH As A Partition And Need Oracle Sequence Used

May 11, 2007

Hi Everyone,



I've been searching for a solution for this for a week-ish, so I thought I would post my quesiton directly. Here is my scenario..



Source: MS SQL Server

Destination: Oracle 10g



The destination table has a partition set on a column called "DATE_HIGH". How do I populate this date high column in my package? Currently I just have a source object, and a destination object, but I'm unclear how to populate this field in the destination. I've read one blog that states "use OLE DB Command" - but that isn't enough information for me to implement - Can someone be more specific in these steps? Here is an example of what my newb-ness needs to understand



OLE DB Source (Select * from Table) ---> OLE DB Command (What query goes here?) --> OLE DB Destination.



Second part of my question: There is a second column called "ROW_NUM" and there is an Oracle Sequence provided to me... What objects do I need (Source, Destination, OLE DB Command etc...) and how do I call this sequence to populate on the fly as I'm loading data from my source?



If these are simple questions - my appologies, I am new to the product.



Best Regards,



Steve Collins

View 1 Replies View Related

Oracle Parameterized Queries To Update Oracle Table Do Not Work

Apr 23, 2007

Oracle and MS drivers do not support parameterized queries, so update table set column=? where primarykey=? does not work for Oracle.



Anyone knows how to update an Oracle table through SSIS?



Thanks!

Wenbiao

View 5 Replies View Related

Capturing Record Count For A Table In Oracle And Saving It In A Table In SQL Server

Jun 11, 2007

I would like to find out how to capture record count for a table in oracle using SSIS and then writing that value in a SQL Server table.



I understand that I can use a variable to accomplish this task. Well first issue I run into is that what import statement do I need to use in the design script section of Script Task. I see that in many examples following statement is used for SQL Server databases:

Imports System.Data.SqlClient



Which Import statement I need to use to for Oracle database. I am using a OLE DB Connection.



any idea?

thanks

View 16 Replies View Related

Compare A SQL Server Table To An Oracle Table

Jul 26, 2007

How do I compare a SQL Server table to an Oracle table? Looking to compare table structure and data. Is there a tool that I can use to perform this?

View 1 Replies View Related

Synch Table In Sql2005 With Table In Oracle

Jun 25, 2007

we have a table in an oracle database containing security information that is updated several times a day. the network connection into that oracle database is not always reliable. we would like to keep a copy of that table in a sql2005 database. the table will need to be refreshed 1/hr. it is a small table so performance won't be an issue.

would ssis be ideal for setting something like this up? i have never created an ssis package before (i'm an oracle dba crossing over). any pointers on how best to set this up?

thanks!
chris

View 6 Replies View Related

Query Oracle Table In SQL && Put In Temp Table

Nov 6, 2006

Hi all,

I am querying a table in oracle, the server connection to the Oracle database is determined by a criteria. Though how can I put the results from the oracle query into a temp table ?

This is the code i'm using for the query:

DECLARE @cmd VARCHAR(500)
declare @Year varchar(25)
set @Year = '2006'

DECLARE @Link VARCHAR(100)
DECLARE @Table VARCHAR(100)

select @Link = Server from tbl_Conn where Area='Floor'
select @Table = Target_Table from tbl_Conn where Area='Floor'

SET @cmd =
'
select * from OPENQUERY
(
' + @Link + ',
''
UPDATE '+ @Table +'
SET TARGET_VALUE = '+@Value+'
WHERE Date = '+@Year'
''
)
'
EXEC (@cmd)

How do I put the executed results into a TEMP table ?

Rgds,

View 2 Replies View Related

DTS Job To Oracle Table.

Apr 21, 2004

I'm having a problem with DTS.
I've got a table on a Microsoft SQL 2000 server that I'm attempting to export to an Oracle Table.

The Oracle Table has a Primary key set, that automatically generates it's own keys.
However, using the DTS export job I continually get:

------------------
Error Source: Microsoft Data Transformation Services (DTS) Data Pump
Error Description:Insert error, column 1 ('INPT_PKT_HDR_ID', DBTYPE_NUMERIC), status 10: Integrity violation; attempt to insert NULL data or data which violates constraints.
Error Help File:sqldts80.hlp
Error Help Context ID:30702
------------------

Now, I'm not attempting to insert anything into this primary key field, so why oh why am I getting this error message?

I'm using a DTS ActiveX Script to do the transformation as follows:
------------------
'************************************************* *****
' Visual Basic Transformation Script
' Copy each source column to the
' destination column
'************************************************* *****
Function Main()
DTSDestination("PKT_CTRL_NBR") = DTSSource("PKT_CTRL_NBR")
DTSDestination("CUST_RTE") = DTSSource("CUST_RTE")
Main = DTSTransformStat_OK
End Function
------------------

So nothing too scarry or difficult there.

I'm using an ODBC Oracle connection to the get to the Oracle table, although I've also tried using the Microsoft OLE DB Provider for Oracle.
Both give me the same error.

Importing data from Oracle to Oracle works.

Can someone please suggest some ideas to fix this problem?

Thanks.

View 4 Replies View Related

Exporting SQL 7.0 Table To Oracle 8i

Jul 23, 2002

Hi All,
I am trying to export SQL 7.0 table to oracle 8i using SQL Server export utility. Table gets created in Oracle but no data is exported. Also the oracle table is inaccessible and even doesn't allow me to drop that table.

Please help me out.

Thanks
Anirudha

View 1 Replies View Related

Informix

Sep 2, 2004

Any SQL Server people out there with Informix experience?

View 7 Replies View Related

INFORMIX TO SQL

May 16, 2008

Please help. I am trying to translate this to SQL 2005. This language is in Informix SQl. I do not know anything about informix. I am especaially confused with the "JOINS". Any help would be appreciated. THANKS.

SELECT ppi.id,
ppi.property_id,
ppi.party_id,
ppi.address_id,
ppi.eff_from_date,
ppi.eff_to_date,
address.line_1,
address.line_2,
address.line_3,
address.city,
state.code_table_cd,
address.zip_postal_code,
country.code_description,
address.line_care_of,
prop_role.code_table_cd

FROM property,
address,
ppi,
outer code_table state,
outer code_table country,
code_table prop_role
WHERE property.id = ppi.property_id
AND ppi.address_id = address.id
{AND (property.eff_to_date IS NULL OR property.eff_to_date >= TODAY)
AND (ppi.eff_to_date IS NULL OR ppi.eff_to_date >= TODAY)
AND ppi.eff_from_date <= TODAY}
AND state.id = address.province_state_cd
AND country.id = address.country_cd
AND prop_role.id = ppi.prop_role_cd
AND prop_role.code_table_cd = "OWNER"
AND property.pact_code <> 'PERS'

ORDER BY ppi.id

View 1 Replies View Related

Sql Server And Oracle Table Sycronization

Jun 4, 2008

Hi All, I am Currently doveloping a Asp.Net application. I Need to Use two databases one is Sql server and another one is Oracle. My Main database is Sqlserver . But I need to get data from two tables from the oracle database also. I would like to create the same table in Sqlserver and move data from oracle . Is there any way to sycronize these table to get the uptodate data. What is the best solution to solve this situation. By sqlserver way or .Net way Please Help me . Thanks you M..S

View 3 Replies View Related

Oracle's Analyze Table Statement ?

Oct 9, 2004

Hi,

Below is an Oracle query used for cost optimization purpose :

analyze table test estimate statistics sample 2500 Rows;

Is there any equivalent for the above in SQL Server ?

Please advice,

Thanks,
Sam

View 5 Replies View Related

Oracle ,Sqlserver Table Sychronization

Jun 3, 2008

Hi All,



I am Currently doveloping a Asp.Net application.

I Need to Use two databases one is Sql server and another one is Oracle.



My Primary database is Sqlserver . But I need to get data from two tables from the oracle database also.



I would like to create the same table in Sqlserver and Update data from oracle (synchronize) automaticaly .



Is there any way to syhcronize these table to get the uptodate data.

What is the best solution to solve this situation.



Please show me example code.



By sqlserver way or .Net way

Please Help me .

Thanks you

M.S

View 2 Replies View Related

How To Transfer Oracle Table To SQL 2005

Feb 6, 2008

Hi all

How to transfer oracle table to SQL 2005.

Thanks

View 1 Replies View Related

Procedure Inside The Oracle Table

Mar 17, 2008

Hi,
we have the senario we want to call oracle table inside the sql stored procedure, it is possible to call oracle table inside the sql stored procedures.

Regards
Kannan.D

Desikankannan

View 3 Replies View Related

Populating FACT Table In ORACLE

Aug 1, 2006

I am having a torrid time trying to populate a FACT table in ORACLE.

I have so far tried two approaches -

1. Identified the change type for records - meaning I mark the record as inserts or updates based on the availability of the key in the FACT table. I used a conditional split and then used two OLE DB destination tasks to load the FACT table. But this failed as I was pretty much inserting on both the conditions (inserts and updates). So this attempt would count as a batch update process attempt.

2. Tried to also write a stored procedure in ORACLE destination database and then use that stored procedure to execute record by record using OLE DB Transformation task. But this did not fly as well due to the fact that SSIS could not understand the oracle SP and could not parse the information out.

Thank you

View 1 Replies View Related

Informix OLE DB Provider

Jul 14, 1999

I have downloaded the datadirect ole db provider for informix 7.x and am need the correct sp_addlinkedserver syntax to get my sql server 7 and informix hooked up. Can anyone help?

Thanks!

Dean

View 1 Replies View Related

Informix To SQL 2000

Apr 8, 2004

Does anyone have any pointers on how i may import an Informix database into my SQL 2000 server?

What ODBC driver would i need?

Can i connect via DTS to import the data?

The application is not going to be moved, i am only interested in getting the data into a SQL2000 environment.

TIA

View 1 Replies View Related

OLE DB / ODBC For Informix

Oct 16, 2001

Hey everyone,

I'm trying to hit an informix box... I've found two software packages (both priced in the THOUSANDS of dollars)... Looking for a cheap...er, a FREE way to hit this informix box via DTS.

Thank you!

View 1 Replies View Related

DTS From Informix Database

Jan 14, 2004

Hi,

I want to transfer data from an Informix database using DTS. What driver do I need to use for that? What are the settings for the Data Source Name? Has anyone of you accomplished DTS from Informix to SQL Server?

Let me know if you have any ideas that you can share.

Thank you.

Vivek

View 7 Replies View Related

INFORMIX SQL To SQL 2005

Mar 18, 2008

My task is to convert this Informix SQl Script to SQL 2005, unfortunately I am not really familiar with Informix SQL. Below is an example script. I can figure out the "Select" statement and the "Where" statement, but the "From" statement is giving me a hard time. Any assistance would be appreciated.Thanks

set explain on;
UNLOAD TO '/export/home/permit/propinact.txt'
SELECT distinct property.parcel_number,
property.id,
property.eff_from_date,
property.eff_to_date,
property.situs_address_id,
legal_lines.legal_desc_line,
tax_code_area.tca_number,
usecd.value,
ct.code_description,
property_char.value,
property.property_status_cd,
legal_description.section,
legal_description.township,
legal_description.range,
property.pact_code

FROM property,
OUTER (legal_description, legal_lines),
outer property_char,
outer (property_char usecd, code_table ct),
tax_code_area,
prop_valuation

WHERE property.id = prop_valuation.property_id
AND property.id = legal_description.property_id
AND property.eff_to_date <= TODAY
AND legal_description.id = legal_lines.legal_id
AND legal_lines.line_nr = 1
AND tax_code_area.id = prop_valuation.tca_id
AND property.id = property_char.property_id
AND property_char.prop_char_typ_code = "SIZE"
AND property.id = usecd.property_id
AND usecd.prop_char_typ_code = "USECD"
AND usecd.value = ct.code_table_cd
AND property.pact_code <> 'PERS'

ORDER BY id

View 2 Replies View Related

IBM Informix Ole Db Provider

Apr 4, 2006

Hello,

I'm getting the below errors when using sql server's data import wizard. Please Note: My test connection was successful and the error occurs when I click the "Next" button after closing the properties window. For Security reasons I've filled the User Id and DataSource with a bogus account, database, and server i.e. xxxx. Notice the password is blank?... Is that normal? I'm in a jam and appreciate your help.

Thanks,

Matt





===================================

Cannot get the supported data types from the database connection "Provider=Ifxoledbc;Password=;Persist Security Info=True;User ID=xxx;Data Source=xxx@xxxx". (SQL Server Import and Export Wizard)

===================================

IErrorInfo.GetDescription failed with E_NOINTERFACE(0x80004002).
IErrorInfo.GetDescription failed with E_NOINTERFACE(0x80004002). (System.Data)

------------------------------
Program Location:

at System.Data.OleDb.OleDbConnectionInternal.GetSchemaRowset(Guid schema, Object[] restrictions)
at System.Data.OleDb.OleDbConnection.GetOleDbSchemaTable(Guid schema, Object[] restrictions)
at Microsoft.SqlServer.Dts.DtsWizard.DataSourceInfo.LoadTypeData(OleDbConnection myDestConnection)
at Microsoft.SqlServer.Dts.DtsWizard.DataSourceInfo.CacheDataSourceInfo(IDbConnection myConnection)

View 10 Replies View Related

SSIS And Informix

Oct 8, 2007

We are using Informx for our transactional DB and want to be using reporting services to provide reports. We have some using ODBC directly to Informix, but need to start extracting data from Infomix
and aggregating it in SS 2005.

Is anybody else doing this?

Where can I find information of how to do this? We are totally new to SSIS.

Thanks

JPS

View 1 Replies View Related

Connect To Informix DB

Oct 12, 2007



I need to create packages that connects to a client's Informix DB server. When I tried to create a new OLEDB datasource from configuration manager, I could not find any Informix driver option. Can someone shed some light as to what I'm missing and the steps I need to take to be able to source data from Informix? Any drivers that needs to be installed and configured on the server and the developer's machine?

Thanks in advance.

PS. I discovered from the link below that IBM's Informix OLEDB driver does not support SSIS. Can someone validate this claim and what alternatives I have?

http://ssis.wik.is/Data_Sources

View 1 Replies View Related

Informix OLE DB Trouble

Nov 2, 2007



I am having trouble using an OLE-DB source in my data flow task. I am using Informix. In the OLE DB source editor I get the following message:

Warning at {4f24a418-f95e-4185-8989-4f960aaabd68} [OLE DB Source [1]]: Cannot retrieve the column code page info from the OLE DB provider. If the component supports the "DefaultCodePage" property, the code page from that property will be used. Change the value of the property if the current string code page values are incorrect. If the component does not support the property, the code page from the component's locale ID will be used.


Using the preview button in the OLE DB source editor, it maps the integers to DT_I4 so most of the numbers in the preview convert as null and that is how they end up in the target. I added a data conversion component and they still end up in the target as null.

View 4 Replies View Related

Viewing A Table In Oracle As A View In Sql Server

Aug 9, 2000

Any idea on how I do this?
Any advice welcome.........

View 1 Replies View Related

Is There An Equivalent Table Copy Command In Ms Sql A La Oracle?

Apr 15, 2004

is there a command in ms sql server 2000 equivalent to this oracle table copy command?

create table myTable_bak as select * from myTable;

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved