473,396 Members | 1,805 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

beginner student PL/SQL to T-SQL

JAK
Hi,

I'm finishing up a beginning SQL class where we learned on an Oracle
database and the transition to working on SQL Server is easy. The next more
advanced course will be in PL/SQL, but I know I will be working on SQL
Server in the workplace, so my question is if I should take this course.
Will I benefit from the basic philosophies that will be covered, or will it
just make a transition for me more difficult? Will it be partly a waste of
time and money and I'd be better served getting a book and self teaching
myself? I know that in a greater sense learning something isn't necessarily
a waste, but I mean from the perspective of my goal of being able to use Sql
Server, will this course be useful?

thanks.
Jul 23 '05 #1
10 2331
JAK (NO****@hotmale.com) writes:
I'm finishing up a beginning SQL class where we learned on an Oracle
database and the transition to working on SQL Server is easy. The next
more advanced course will be in PL/SQL, but I know I will be working on
SQL Server in the workplace, so my question is if I should take this
course. Will I benefit from the basic philosophies that will be covered,
or will it just make a transition for me more difficult? Will it be
partly a waste of time and money and I'd be better served getting a book
and self teaching myself? I know that in a greater sense learning
something isn't necessarily a waste, but I mean from the perspective of
my goal of being able to use Sql Server, will this course be useful?


I have no experience of Oracle, but judging from the questions I have
seen from Oracle users who have started using SQL Server, there appears
to be considerable differences. Oracle supports syntax that SQL Server
does not support and vice versa. And what may be good for performance in
Oracle may not be good in SQL Server and again vice versa.

Those who have experience of both engines might have more to add, but
my gut reaction is that if SQL Server is what you want to learn, then
try to find a course about SQL Server instead.
--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 23 '05 #2
I agree with Erland that you should probably find a Transact-SQL course or
book since that is what you'll be using. Much of your SQL knowledge is
applicable to both products but the differences are significant once to get
into the declarative and procedural elements of PL/SQL vs. Transact-SQL. My
observation is that PL/SQL is a much more procedural language than
Transact-SQL.

My Oracle experience is limited (mostly DBA) and I learned Transact-SQL
first. Perhaps someone who has had to make to transition from PL/SQL to
Transact-SQL can provide more insight.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"JAK" <NO****@hotmale.com> wrote in message
news:By********************@twister.rdc-kc.rr.com...
Hi,

I'm finishing up a beginning SQL class where we learned on an Oracle
database and the transition to working on SQL Server is easy. The next
more advanced course will be in PL/SQL, but I know I will be working on
SQL Server in the workplace, so my question is if I should take this
course. Will I benefit from the basic philosophies that will be covered,
or will it just make a transition for me more difficult? Will it be partly
a waste of time and money and I'd be better served getting a book and self
teaching myself? I know that in a greater sense learning something isn't
necessarily a waste, but I mean from the perspective of my goal of being
able to use Sql Server, will this course be useful?

thanks.

Jul 23 '05 #3
Dan Guzman wrote:
I agree with Erland that you should probably find a Transact-SQL course or
book since that is what you'll be using. Much of your SQL knowledge is
applicable to both products but the differences are significant once to get
into the declarative and procedural elements of PL/SQL vs. Transact-SQL. My
observation is that PL/SQL is a much more procedural language than
Transact-SQL.

My Oracle experience is limited (mostly DBA) and I learned Transact-SQL
first. Perhaps someone who has had to make to transition from PL/SQL to
Transact-SQL can provide more insight.


Good advice. But the architecture differences are an even larger climb.
With SQL Server you can not expect Oracle's multiversioning
With SQL Server you will likely find a different behavior of NULL
and many many other significant differences between the products.
--
Daniel A. Morgan
University of Washington
da******@x.washington.edu
(replace 'x' with 'u' to respond)
Jul 23 '05 #4
There is an O'Reilly SQL in a nutshell book that gives some side by side
comparions of TransactSQL, Oracle, and MySQL syntax. I have also found the
SQL Tuning book to be helpful, as it also goes over DB2, TransactSQL and
Oracle side by side.
"DA Morgan" <da******@x.washington.edu> wrote in message
news:1102127907.949800@yasure...
Dan Guzman wrote:
I agree with Erland that you should probably find a Transact-SQL course
or book since that is what you'll be using. Much of your SQL knowledge
is applicable to both products but the differences are significant once
to get into the declarative and procedural elements of PL/SQL vs.
Transact-SQL. My observation is that PL/SQL is a much more procedural
language than Transact-SQL.

My Oracle experience is limited (mostly DBA) and I learned Transact-SQL
first. Perhaps someone who has had to make to transition from PL/SQL to
Transact-SQL can provide more insight.


Good advice. But the architecture differences are an even larger climb.
With SQL Server you can not expect Oracle's multiversioning
With SQL Server you will likely find a different behavior of NULL
and many many other significant differences between the products.
--
Daniel A. Morgan
University of Washington
da******@x.washington.edu
(replace 'x' with 'u' to respond)

Jul 23 '05 #5
DA Morgan (da******@x.washington.edu) writes:
With SQL Server you will likely find a different behavior of NULL
and many many other significant differences between the products.


Not that I know how Oracle handles NULL, but I would not expect that
many differences in that particular area. Not as long as you run with
SET ANSI_NULLS ON and SET CONCAT_NULL_YIELDS_NULL ON, and they are default
unless you are using DB-Library.

If you turn these options off, you do indeed get another behaviour, and
this behaviour was indeed the only option in SQL Server up version 6.0/6.5.
(ANSI_NULLS came with 6.5. CONCAT_NULL_YIELDS_NULL in SQL7.)

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 23 '05 #6
Perhaps Daniel is referring to the non-ANSI compliant treatment of NULLs in
a unique constraint/index in SQL Server. This feature is indeed different to
Oracle and other RDBMSs. Those familiar with other systems might well find
SQL Server's implementation of unique constraints strange and inconvenient
although I think other architectural and language differences would be more
significant challenges to anyone moving between the two products.

--
David Portas
SQL Server MVP
--
Jul 23 '05 #7
Erland Sommarskog wrote:
DA Morgan (da******@x.washington.edu) writes:
With SQL Server you will likely find a different behavior of NULL
and many many other significant differences between the products.


Not that I know how Oracle handles NULL, but I would not expect that
many differences in that particular area. Not as long as you run with
SET ANSI_NULLS ON and SET CONCAT_NULL_YIELDS_NULL ON, and they are default
unless you are using DB-Library.


I wonder what percentage of SQL Server shops do that these days? It used
to be a remarkably small number because of trying to simplify the
upgrade from previous versions.

But it is nice to see ANSI compliance as the default rather than the
exception.

--
Daniel A. Morgan
University of Washington
da******@x.washington.edu
(replace 'x' with 'u' to respond)
Jul 23 '05 #8
David Portas wrote:
Perhaps Daniel is referring to the non-ANSI compliant treatment of NULLs in
a unique constraint/index in SQL Server. This feature is indeed different to
Oracle and other RDBMSs. Those familiar with other systems might well find
SQL Server's implementation of unique constraints strange and inconvenient
although I think other architectural and language differences would be more
significant challenges to anyone moving between the two products.


You are correct. And while it isn't a big thing ... it is a thing that
someone moving between the products must be aware of. By far the
biggest things are multiversioning and locking.
--
Daniel A. Morgan
University of Washington
da******@x.washington.edu
(replace 'x' with 'u' to respond)
Jul 23 '05 #9
DA Morgan (da******@x.washington.edu) writes:
Erland Sommarskog wrote:
Not that I know how Oracle handles NULL, but I would not expect that
many differences in that particular area. Not as long as you run with
SET ANSI_NULLS ON and SET CONCAT_NULL_YIELDS_NULL ON, and they are
default unless you are using DB-Library.


I wonder what percentage of SQL Server shops do that these days?


I hope they are few, but it's very embarrassing to admit, that ours is one
of them.

Our system has a history back to 1992, which could serve as some excuse. But
a major reason a shift is not easy is poor design decision that I made
about a central concept in 1996. A change there would hit at least 50
tables.

David is right that I forgot about the difference about UNIQUE constraints
a NULL. Both the Oracle way and SQL Server way has its use, but I would
really like to see a UNIQUE_WHEN_NOT_NULL_ONLY in SQL Server.

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 23 '05 #10
JAK
Thank you to everyone who threw in their opinions. Greatly appreciated!
Jul 23 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: ·sÂA¤H | last post by:
Hi All, I am a beginner of XML, my final year project is using a XML and JAVA to develop a Workflow Management System. It make me very confuse. I don't even know how to use the XML to exchange...
4
by: Pekka Karjalainen | last post by:
Hi, this is my first posting here. I also have a question about etiquette. There's a html file associated with my question. I cannot host it indefinitely at the current location. I don't, however,...
4
by: Mark Hanley | last post by:
I have found similar problems to mine on this and other newsgroups but I still haven't been able to solve my problem... I have two tables 'Pupil' and 'SEN' which are related on a field called...
4
by: Terry | last post by:
I need some help refining an MS 2000 relational databse. I have created a simple relational database using two tables, 'Student Details', 'Exam Details' and two forms, 'Input/Edit Exam Details',...
2
by: Bodger | last post by:
Hi, Bearing in mind that I am new to this game, understand very little about SQL and don't work in IT, I was wondering if someone could give me some friendly advice on how to design...
18
by: mitchellpal | last post by:
Hi guys, am learning c as a beginner language and am finding it rough especially with pointers and data files. What do you think, am i being too pessimistic or thats how it happens for a beginner?...
3
by: h.silent57 | last post by:
hi.. I m new to kernel programming..for my in-house project, I chose to create a device driver for mouse for which I am required to understand Kernel module programming..I tried to execute this...
1
by: Blue_hatter | last post by:
Hey Guys, I'm a newbie to the whole C++ Programming thing as I think I said before in a post. The thing is, I have this idea that might help me to learn at a better pace than I am doing currently....
1
by: pauldepstein | last post by:
I am coding for a large company and I have a block of code in front of me that looks like the below, but with names changed for confidentiality reasons. SomeFunction(StudentClass Mary,...
25
by: doznot | last post by:
Let's say you want to use Moodle to teach an introductory class in PHP programming. Some of the students have little or no computer experience. In addition to background reading and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.