database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
Oracle
Informix
Sybase
ㆍMS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
MS-SQL Q&A 3636 게시물 읽기
No. 3636
SQL2005 vs Oracle
작성자
허창식(ryancs)
작성일
2007-07-15 13:42ⓒ
2009-09-20 21:14ⓜ
조회수
4,249

T-SQL vs PL/SQL

The dialect of SQL supported by Microsoft SQL Server 2000 is called Transact-SQL (T-SQL). The dialect of SQL supported by Oracle 9i Database is called PL/SQL. PL/SQL is more powerful language than T-SQL. This is the brief comparison of PL/SQL and T-SQL:

Feature PL/SQL T-SQL
Indexes B-Tree indexes,
Bitmap indexes,
Partitioned indexes,
Function-based indexes,
Domain indexes
B-Tree indexes
Tables Relational tables,
Object tables,
Temporary tables,
Partitioned tables,
External tables,
Index organized tables
Relational tables,
Temporary tables
Triggers BEFORE triggers,
AFTER triggers,
INSTEAD OF triggers,
Database Event triggers
AFTER triggers,
INSTEAD OF triggers
Procedures PL/SQL statements,
Java methods,
third-generation language
(3GL) routines
T-SQL statements
Arrays Supported Not Supported

SQL Server 2000 and Oracle 9i limits

Here you can find some SQL Server 2000 and Oracle 9i Database limits:

Feature SQL Server 2000 Oracle 9i Database
database name length 128 8
column name length 128 30
index name length 128 30
table name length 128 30
view name length 128 30
stored procedure name length 128 30
max columns per index 16 32
max char() size 8000 2000
max varchar() size 8000 4000
max columns per table 1024 1000
max table row length 8036 255000
max query size 16777216 16777216
recursive subqueries 40 64
constant string size in SELECT 16777207 4000
constant string size in WHERE 8000 4000

Conclusion

It is not true that SQL Server 2000 is better than Oracle 9i or vice versa. Both products can be used to build stable and efficient system and the stability and effectiveness of your applications and databases depend rather from the experience of the database developers and database administrator than from the database's provider. But SQL Server 2000 has some advantages in comparison with Oracle 9i and vice versa.

The SQL Server 2000 advantages:

  • SQL Server 2000 is cheaper to buy than Oracle 9i Database.
  • SQL Server 2000 holds the top TPC-C performance and price/performance results.
  • SQL Server 2000 is generally accepted as easier to install, use and manage.

The Oracle 9i Database advantages:

  • Oracle 9i Database supports all known platforms, not only the Windows-based platforms.
  • PL/SQL is more powerful language than T-SQL.
  • More fine-tuning to the configuration can be done via start-up parameters
이 글에 대한 댓글이 총 1건 있습니다.

음 그정도 문제가 있으면 디비 돈주고 못 팔아 먹죠.....코드 에러일 확률이 99.99999퍼센트 일것 같은데요.

석이님이 2007-07-19 02:06에 작성한 댓글입니다. Edit
[Top]
No.
제목
작성자
작성일
조회
3639mssql 페이지 부분좀 도와주세요.. [1]
조일현
2007-07-16
2629
3638도대체 이 로그는 무슨 이야기인지요... [2]
청년재벌
2007-07-16
2806
3637MSSQL2000 시작이 안되네요?? [1]
초봉
2007-07-15
2398
3636SQL2005 vs Oracle [1]
허창식
2007-07-15
4249
3635쿼리 때문에 죽겠심다 [1]
찐빵아저씨
2007-07-13
3136
3634ms-sql에서 boolean 타입을 쓸수 있나요? [3]
굼벵이
2007-07-13
11480
3633오라클의 rowtype 이 ms-sql (8) 없나요??? [1]
co
2007-07-13
3074
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.016초, 이곳 서비스는
	PostgreSQL v16.4로 자료를 관리합니다