Results 1 to 5 of 5

Thread: Sybase and SQL Server

  1. #1

    Thread Starter
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131

    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!

  2. #2
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    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.

  3. #3

    Thread Starter
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131

    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!

  4. #4
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    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.

  5. #5

    Thread Starter
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131

    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
  •  



Click Here to Expand Forum to Full Width