Importing Automatically From Another DBMS

Jun 7, 2008

Hello,

I want to ask if there is any option in SQL Server 2000 that can be used to import automatically every day....I have an FoxPro database which is updated every day and I want my main table in SQL Sever to be updated by importing every thing again from the FOXPRO ever day at night.....is there any option for that?

Thanks,


Diana

View 1 Replies


ADVERTISEMENT

Bulk Inserts Between Two Different DBMS

Sep 21, 2004

Hi folks,
I have a table located in DB2 nd I need to have a mirror image of this table on a SQL2000 database to avoid some server downtime problems.
Right now I have a solution using ADO.NET with Windows Services.

This windows service invokes itself everyday morning and pulls all the records from this table in DB2 to a dataset. Then I loop through the dataset and insert every record into SQL 2000 Table. This method is working fine ( It take approximately 2 minutes to insert 5000 records). I am just wondering whether there is any way to acheive bulk insertion in this case. Considering future growth of table I am not thinking the existing solution is neither elegant nor efficient.

Please let me know if I can achive the same either using XML, BULK INSERTS or any other mechanism in ADO.NET and please remeber that we are talking about data migration between different DBMS ( DB2 to SQL 2000)

Thanks,
Sai

View 1 Replies View Related

Microsoft SQL Server And Other DBMS

Sep 3, 2007

Hello:

Many companies use DBMS that are not Microsoft SQL Server. Those companies use Oracle, PostgreSQL, MySQL and Ingres, for example. I'm looking for a paper o website which exponses the advantages (strengths) and disadvantages (weakness) of those DBMS. Why? Our customers would like a comparison between different systems, and we must show them the Microsoft SQL Server possibilities.

Can you help me with this? In terms of performance, speed, security, maintenance, etc.

Thanks.

View 1 Replies View Related

How Is One To One Relationship Is Established In Sql Express Dbms ?

Apr 28, 2008

Table 1
vEmail_Id
vFirst_Name
vLast_ Name
Table 2
vEmail_Id
iCell No
How to relate Table1 with Table2 by 1 to 1 relation in sql express ?
 

View 4 Replies View Related

Choosing DBMS And Architecture For Ecommerce Website

Jul 20, 2005

Hi to allI have to choose a DBMS and a database architecture for an Ebay likewebsite about to be launched.The company wants to use a web hosting service and not host thedatabase on dedicated servers at the office.The database will contain web-only information and lots of back endinformation that is not really needed to be stored on the web host.I'm wondering how to design that part, should I store all informationon the web host only ? miror that DB every evening on some local DBserver to be able to use the data without eating up lots of bandwith ?separate the database in 2 parts ? how to sync and assure integritythen ? having a local DB will also mean the company will have to pay alicence for the DBMS ...What DBMS should I pick considering that the database will have tohold at least 1 million products to sale (eBay like) and all theinformation that goes with it. I thought any DBMS weaker than SQLServer or Sybase or Oracle will not be enough. What do you think ?Thanks a lot, hope I have made myself clear enoughP.S. I would really like to get lots of different points of view. Ithink I'll use Sybase after all, so I wonder if that'sa good choiceand I still want to know your thoughts about the 2 or 1 DB design(separate Web & Billing information for example, or leave all the infoin the hosted database, what techniques to use to keep the integrityand to have the latest information in-house)... Thanks a lot

View 2 Replies View Related

Pulling Data From MySQL DBMS In France To Sql Server 2005 Here In US

Jan 22, 2008



HI All,
I want to pull data from mysql dbms to sql servr 2005, i have wrote the following codes but it takes more than an hour and half which is not visible. Thus is there any consideration to consider and reduced time it takes. For your information i am going to use SSIS packags, there is no any tranformation, it is direct dump.
Here is the code i am using,


SELECT *
FROM
OPENQUERY (Server_1,'


SELECT
t3.Column11 as Column1,
Column12 as Column2,
Column13 as Column3,
Column14 as Column4,
Column15 as Column5,
Column16 as Column6,
Column17 as Column7,
Column18/1000 as Column8
FROM
table1 t1
INNER JOIN
table2 t2
ON t1.ColumnId = t2.columnID
INNER JOIN
Table3 t3
ON t2.columnId = t3.columnID
WHERE t1.Column4 > Sometime ')


View 11 Replies View Related

Double Space Replaced With Single Space By Dbms ??!

Jul 20, 2005

This is driving me bananas. Can't find any info on this anywhere....SQL 2000 seems to replace double space with a single space when I seta varchar field to " " (2spaces), it only stores " " (1space). Whyon earth would microsoft do this? If I save 2 spaces - I WANT TO SEE2 SPACES!!!!Can anyone help? Is this a database setting? Is this due to usingvarchar?Any help appreciated.Colin Hale

View 2 Replies View Related

How To Add Automatically Value

Mar 15, 2007

In my table have two field

Ex
TableName===> Details
-----------
No ===========>int primary key

Name =========>Char(50)
---------

i need automatically add value in first field(No)..

Once execute insert command using only second field

after automatically generated first field value

Result
--------
No Name
1 dfgd
2 dgdg
.......
--------

View 2 Replies View Related

SIGN OUT AUTOMATICALLY

Mar 28, 2006

Hi Guys,
I have a website with multiple pages and when a user signs in it puts a 1 in the database and their online status is shown to the rest of the members, if they use my signout button which I have on each page, it signs them out and updates the database with a 0 in the process, so shows them as then offline, my problem is some people forget to sign out and just close the browser window or begin surfing elsewhere.
Is there a way to have sql server 2000 automatically change the field in the database after 30 minutes of inactivity.
Or is there a way to automatically sign users out as they either click on the X in the browser window, or as they leave my site.
Any help would be appreciated.
Cheers

View 4 Replies View Related

How To Know Automatically If The Job Hangs?

Sep 28, 2001

Some of my jobs hang at FTP step for several hours until some one kills the FTP (it's a perl process) on the box. Is there a way to find how much time a particular step of the job is executing? and know it by somehow if it's hanging at that step?? If we know this,I want to kill the perl process(FTP) on the box in an automated way whenever the job hangs! Any ideas welcome!! Thanks. :-)

Di

View 3 Replies View Related

Run SSIS In Automatically

May 7, 2007

hi

This is Elangovan. How to automatically run the SSIS (SQl SERVER2005 )



plz help me



bye

elangovan

View 4 Replies View Related

Rendering To PDF Automatically

Mar 17, 2008



Hi All,

Is there a way to modify the configuration file to allow the Report manager to rendering the report to PDF file automatically?

Thanks

Micror

View 2 Replies View Related

Delete Tables Automatically

Nov 12, 2006

How can I delete tables in a SQLServer Database automatically (at the moment I just do it using Micorosft SQl Management Studio Express manually) But its important that I can do that automatically, the best thing would be if I can do that from a .NET programm.  thanks in advance,mulata 

View 6 Replies View Related

Set Update Field Automatically

Feb 11, 2007

in sql server I want to update the "UpdatedDate" field automatically when I change ANY other field in that specific record.it has to be set to the current server time.

View 2 Replies View Related

INSERTING Or UPDATING Automatically

Mar 8, 2007

i am using visual web developer 2005 and SQL Express 2005 with VB as the code behindi have a button and in the button click event i have written codes to INSERT to a database table - it has one primary keyso when i click the button, if there is already a row with primary key fields value as 10 and if i try to INSERT with the same value in the primary key field there will occur primary key constraintso , if i try to INSERT with the already existing primary key fields value, instead of  INSERTing it should be UPDATEd without generating any errorplease help me 

View 1 Replies View Related

How Can I Generate Variables Automatically?

Dec 20, 2007

Hi there
I need to generate some variables , like var1, var2, var3 ....
It's determined by how many records in my database.
I want to write a for() to do this. But how?
For example
for(int i=0; i<datatable.rows.count; i++){    String vari = new String;}
This is not a right way in C#, does anyone know how to?
Thanks!!!

View 1 Replies View Related

Automatically Generate SQL Script

Feb 21, 2008

I generate SQL scripts on a regular basis for my database and it's objects.
Is it possible to run a job in SQL or make windows do this automatically on a periodic basis?
Anyone done this before?

View 3 Replies View Related

Delete Files Automatically? Help!!

Jul 31, 2002

I need to setup an automated process to delete all the files older than a month in a particular directory on a network drive, how is that possible? Any help is greatly appreciated.
thanks.
Sheila.

View 1 Replies View Related

SQL Agent Does Start Automatically

Aug 23, 2001

I have a problem with a server where for some reason when it is rebooted the SQLAgent service does not start automatically. You have to go into control panel, services and start it, even the it is set to Automatic.

Thanking in advance for any ideas??

View 1 Replies View Related

Database Shutsdown Automatically

Aug 30, 2001

Hai,

My database shutsdown automatically after 2 hours , when i start to run a jobs from a queue.

Can someone suggest me a way for monitoring it, so that i can find the possible causes.

Thanks
Balaji

View 1 Replies View Related

Automatically Add Records In Sql Server 7.0

Sep 13, 2001

I have table A and table B. i want if table A add records, automatically table b add records too.

thanks,
andi

View 1 Replies View Related

How To Kill All Connections Automatically

Jul 21, 2000

I have an sql 7.0 database with an Access 97 front end. We need to run a
process every night to update the database. However, not all users disconnect
from the front end and we get lock conflicts. It is not acceptable to have a
person stay till the evening to manually kill all the spid's and i can't find
any way to force all users off the database as you can in DB2. Also,
we can't change the front end. Any idea how to force all users off of
an sql server database (kill all spid's?) in an automated way. Thanks

View 4 Replies View Related

Automatically Deleting Tables

Aug 2, 2000

Is there a way to automatically delete tables in a database? I want to delete tables with a specific prefix in their names (that I assign to them) based on their age. Is there a way to do this automatically while keeping the tables that I don't want to touch?

joe

View 3 Replies View Related

Automatically Growing The Database

Apr 10, 2000

Does anyone know at what point SQL Server 7.0 decides to grow the database when the autogrow option is set? Our site just went down for 45 minutes because the growing process was taking too long as compared to the data coming in, so the device filled up.

Ray? Craig? You guys seem to know all, so jobs.com appreciates your input...

View 7 Replies View Related

Get Server Name Automatically In DTS ActiveX

Nov 2, 2000

I'm looking for a way to get the name of the server on which the DTS package lives.

I copy packages between servers. The problem is that everytime a package is copied
to different server, I have to change the reference in the connection strings to point
to the new server name. I'd like to find an automatic way to interrogate the server
name where the package currently lives and dynamically change connection strings
from within an ActiveX task. That would cut maintenance way down.

View 1 Replies View Related

Automatically Grow File

Jan 8, 2004

Hello everyone,
I have 45 GB db with
-Automatically grow file by 10 %
- full recovery
-log shipping every 5 minutes.
-full backup every 24 hrs

database grown from 33GB to 45 GB for 1 year period
4-5 times a year massive insert
done to database(no specific dates)

if I change autogrow to by 300MB or 4%

1.how would it affect insert process ?
2.how it affect daily performance ?

Thank you
Alex

View 3 Replies View Related

SQL Server Will Not Start Automatically

May 7, 2002

I installed SQL Sp2 and at the same time took Carbon Copy off. No when the machine comes up neither SQL Server or the Agent will not come up. If I go to Service manager I can start both just fine. Nothing in either log to show why. Anyplace or any thoughts

View 2 Replies View Related

Database Shutsdown Automatically.....

Aug 30, 2001

when i start to run a jobs from a queue to the database, after 2 hours the database shutsdown automatically.

This problem is reproducable, Running a trace on it from profiler is what comes to my mind. Is there any other suggestion.....

Thanks
Balaji

View 1 Replies View Related

Automatically Add Missing Records With SQL

Dec 27, 2004

Hi,

I have a table that contains 2 columns. The first column has the datetime, and the second has a value (see the "Before" table). In my SELECT query I want to select all records like 0:00:00 <= Date <= 0:40:00. However the missing 10-minutes value 0:30:00 should be automatically inserted with value = NULL.

Before:

Code:

Date Value
------------------- -------------------
13/12/2004 0:00:00 15
13/12/2004 0:10:00 17
13/12/2004 0:20:00 21
13/12/2004 0:40:00 12
13/12/2004 0:50:00 13



After:

Code:

Date Value
------------------- -------------------
13/12/2004 0:00:00 15
13/12/2004 0:10:00 17
13/12/2004 0:20:00 21
13/12/2004 0:30:00 NULL
13/12/2004 0:40:00 12



Can anyone help me? Thanks.

View 6 Replies View Related

Automatically Truncate Data To Fit

Jul 5, 2005

When writing an INSERT statement, what code do I pass to the SQL database to automatically truncate a value to fit in to the database if it contains more characters than the field the data is being entered into?

View 7 Replies View Related

Sa Password Keep Changing Automatically

Aug 17, 2004

I am working with MSDE, but some how the password for sa keep changing by itself. I can reset it by logging in windows authentication mode using osql, but the next day the password does not work again.
Please give me some suggestions

Mik

View 6 Replies View Related

Copy File Automatically

Sep 22, 2004

I need to copy files from one machine to another machine. It should be done automatically. Could you please give me a suggestion. I have no idea about this. It should write a script or program. But I have no idea yet,

Thanks

View 8 Replies View Related

Automatically Import Csv To MsSQL

Oct 3, 2005

Hi is there a way to emulate the MSSQL import wizard with a command prompt so I can shedule an automatic import form a csv file?

Thansk!

View 4 Replies View Related







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