how ms-access and sql server interact each other? - sql-server

I have an ms-access database and I need when ever I add a record to my table automatically add a similar record to sql database how it is possible ?
Edit: How I can create an SSIS package(s) and set SQL Server Agent run to periodically load the data?

If you are using SQL Server 2000 you can use replication. But this feature is deprecated from SQL Server 2005 onwards. See http://msdn.microsoft.com/en-us/library/ms143470.aspx.
Assuming that you are on a later version, there are a couple of options I can see:
1) Migrate from Access to SQL Server Express and use replication.
2) Create an SSIS package(s) to import the data. The package(s) can be scheduled in SQL Server Agent run to periodically load the data.

Related

Connecting Firebird db and SQL Server

I would like to connect Firebird db to my SQL Server database. Purpose of this is that I want the SQL Server database refreshed with Firebird data every night, so obviously make a job.
I looked around and saw a lot of tools and drivers that you need to get in order for this to work, and when I looked at them, they are ether a work in progress or a scam.
Does anyone have any ideas how to do this reliably?
Use SQL Server Integration Services (SSIS) that runs a job in SQL Agent. SSIS supports any OLE-DB or ODBC data source, just set your SQL Server instance as the destination.
Here's an example using Firebird, SSIS and InterBase - but you can skip the parts for InterBase: https://www.ibprovider.com/eng/documentation/ssis_firebird_interbase.html

Update Database on 2 Server

I want to make a Clone server Like Server A and Server B
Ex :
After I'm making update in Server A data then on Server B is Sync Automatically or Programatically with Server A. When update Stored Procedure on Server A the server B is Sync.
is it possible ?
I don't want an answer like Backup then Restore.
You can use SQL server replication.
More information you can refer
SQL Server Replication
An other option could be using Mirroring on SQL Server although it will not be continued on feature versions of SQL Server.
Please note that the secondary database is readonly copy of the principal database in mirroring.
If you have plans for versions after SQL Server 2016, you can think of using Always On Availability Groups

Want to have a SQL Server run query against a SQL Anywhere DB on another server

I have a SQL Server 2012 database on one server, and a SQL Anywhere 12 database on another server. I want to schedule a nightly select query that pulls data from the SQL Anywhere DB to the SQL Server DB.
This is all easily done between two SQL Server databases, even on different servers, but I have no option for "Microsoft OLE DB Provider for SQL Anywhere" and everything I find on the subject seems to assume that both the SQL Server and the SQL Anywhere DBMS are on the same server. That is not an option for me.
Is there some way I can get and install just what is needed on the SQL Server system to let me get the SQL Anywhere provider option? Legally and without involving additional licensing?
Microsoft OLE DB Provider for SQL Anywhere is exactly the right one.
This creates the necessary installer:
Start Menu\Programs\SQL Anywhere 16\Administration Tools\Deploy to Windows
Then just install it on the SQL server and you're ready to go.

Sql Server 2000 create scheduled job to run stored procedure

Have a client that is using sql server 2000. I know tsql. I need to create a scheduled job that runs a script to create a report from and/or insert data into a seperate table. How do i setup a job to run a sql script? Can anyone point me to a guide on creating reports from these jobs. Thanks. Do i need to create dts packages?
Open SQL Server Enterprise Manager. Expand the Management node.
Right Click Job from the Sub Nodes and Select New Job from the context
Menu.
You can use THIS to create the jobs.
check out for Sql Server 2000 for creating the scheduled jobs
Just wanted to add the full tree path in SQL Server Enterprise manager. Jobs are nested under the SQL Server Agent node in SQL Server Enterprise manager.
Open SQL Server Enterprise Manager
Expand Microsoft Sql Servers
Expand SQL Server Group
Expand Local
Expand Management
Expand Sql Server Agent

Automatic update of the Database Engine (SQL Server) in a web-application context

I'm working on a web application using Spring 3.0 and hibernate 3 with SQL Server 2008.
A specific work flow requires to check some data in the database periodically (each 1st of a month for example) and do some process (update some tables).
My question is, do I need to put a script on the server that will check continually the database? Or can I do this with SQL Server?
See:
How to: Create a Job (SQL Server Management Studio), specifically,
How to: Create a Transact-SQL Job Step (SQL Server Management Studio)
and
How to: Schedule a Job (SQL Server Management Studio)
The easiest and most flexible way will be to have an external script that runs at the desired times and does the updates.

Resources