Unix Technical Forum

Where do Sybase & MS SQLServer Differ?

This is a discussion on Where do Sybase & MS SQLServer Differ? within the Sybase forums, part of the Database Server Software category; --> I would like to use sybase on linux at home to learn more TSQL for SQLServer at work. I ...


Go Back   Unix Technical Forum > Database Server Software > Sybase

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 03:05 PM
Steve
 
Posts: n/a
Default Where do Sybase & MS SQLServer Differ?

I would like to use sybase on linux at home to learn more TSQL for
SQLServer at work.

I was wondering where the differences were between sybase and
sqlserver.

Thanks in advance for any info

Steve
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 03:05 PM
Petarian
 
Posts: n/a
Default Re: Where do Sybase & MS SQLServer Differ?

>
>
>
>

There is no difference as far as syntax goes. However, both Sybase and
Microsoft have added some new system procedures and functions since
their divorce.

Pete.





You don't pay to get spam, why pay to clean it?
Visit http://www.spammarshall.com to create an account for free
<http://www.spammarshall.com>

Steve wrote:

I would like to use sybase on linux at home to learn more TSQL for
SQLServer at work.

I was wondering where the differences were between sybase and
sqlserver.

Thanks in advance for any info

Steve



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 03:05 PM
Brian Ceccarelli
 
Posts: n/a
Default Re: Where do Sybase & MS SQLServer Differ?

There are minor differences between the syntax of MS SQL and Sybase SQL.
Here are a couple:

1. Sybase can take parameters in print statements:

print 'Hello !1%", 'World'

Microsoft cannot take parameters in a print statement.. MS uses the print
statement from v4.x of Sybase.

2. There are minor differences in using cursors. You must declare a
cursor in its own batch in Sybase. In MS, the declare cursor can be one
of many statements in a batch. There are also small cursor syntax
differences @@sqlstatus vs @@fetch_status, close cursor X vx close X.


MS and Sybase do diverge on the stored procedures, but there are still many
common ones: sp_who, sp_help, sp_addlogin, etc. The system tables share
a lot in common, but they do vary.

..
Brian
http://www.dbpowersuite.com









"Steve" <stevesusenet@yahoo.com> wrote in message
news:6f8cb8c9.0311140309.3b064c16@posting.google.c om...
> I would like to use sybase on linux at home to learn more TSQL for
> SQLServer at work.
>
> I was wondering where the differences were between sybase and
> sqlserver.
>
> Thanks in advance for any info
>
> Steve



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:26 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com