|
-
Jan 23rd, 2006, 11:56 AM
#1
Thread Starter
Frenzied Member
Sybase and SQL Server
I have a client who has an inhouse system running on a Sybase database. We are going to develop a new website for them that will be running off a SQL Server database.
The client does not want the website running straight off their internal database hence the SQL Server one but it is anticipated that there will be syncronisation of the two at certain times of the day (possibly only once a day).
Has any one here had any experience of connecting (possibly replicating) SQL Server and Sybase databases?
Any advice regarding this would be greatly appreciated.
DJ
If I have been helpful please rate my post. If I haven't tell me!
-
Jan 23rd, 2006, 12:59 PM
#2
Re: Sybase and SQL Server
It is possible - Sybase XI and ASE can do replication to a range of target DBs..we have a Sybase-DB2 rep thang going on here.
To set the tables in Sybase to replicate use the sp_setreptable stored proc.
-
Jan 24th, 2006, 04:18 AM
#3
Thread Starter
Frenzied Member
Re: Sybase and SQL Server
Is there any way of taking the structure of the Sybase database and creating it within the SQL Server database. Basically an initial import.
DJ
If I have been helpful please rate my post. If I haven't tell me!
-
Jan 24th, 2006, 07:20 AM
#4
Re: Sybase and SQL Server
Yup - they use the same T-SQL syntax to create tables (pretty much - I think SQL server has some extra options in indexes and constraints)
Export your db schema (with whatever db tool you use on sybase) to .sql files then run them in to SQL Server.
-
Jan 24th, 2006, 07:55 AM
#5
Thread Starter
Frenzied Member
Re: Sybase and SQL Server
I've tried exporting the database schema and then running the sql files within SQL Server but there do seem to be differences in syntax between the two as I get errors.
DJ
If I have been helpful please rate my post. If I haven't tell me!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|