Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


good book or webite to learn the basic on TSQL and/or SQL server


good book or webite to learn the basic on TSQL and/or SQL server

Author
Message
Fushan
Fushan
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 3
Hi : I have been oracle developer for some years. Recently, I start to support SQL server using TSQL. I need a book or not too expensive online course to learn the TSQL 101. I found some material online to learn the SQL Server as database enginer or SQL server managment stuido as a tool. But I need to go back to TSQL to learn how to write a function, package... how to declare variable....etc

Any suggestion?

Fushan
GilaMonster
GilaMonster
SSC-Forever
SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)

Group: General Forum Members
Points: 47429 Visits: 44405
Itzik Ben-Gan's T-SQL Fundamentals. Available from Amazon, there's a 2008 version and a 2012 version


Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


craig.dixon
craig.dixon
SSC Rookie
SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)

Group: General Forum Members
Points: 34 Visits: 177
Hi Ora,

Gail always has great advice so if the book isn't to expensive I'd order it. If your looking for somewhere with a very basic step by step approach with some tools to test the outputs of simple queries etc. you could check out w3schools until the book arrives in the post :-)

http://www.w3schools.com/sql/

Hope it helps,
Craig
Koen Verbeeck
Koen Verbeeck
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16558 Visits: 13210
GilaMonster (8/6/2013)
Itzik Ben-Gan's T-SQL Fundamentals. Available from Amazon, there's a 2008 version and a 2012 version


+1 Any book by Itzik is well worth the read.



How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
Sean Lange
Sean Lange
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16680 Visits: 17038
You might also click on the Stairways over on the left side. There are a number of series that start out basic and get more advanced as they go.

Also, make sure you check out the question of the day (QotD) on the left side. It is a great learning tool about a variety of topics. Make sure you follow the discussions. Often times the discussion is more informative than the question itself.

_______________________________________________________________

Need help? Help us help you.

Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

Need to split a string? Try Jeff Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Understanding and Using APPLY (Part 1)
Understanding and Using APPLY (Part 2)
Fushan
Fushan
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 3
thanks guys. nice response!

Fushan
Jeff Moden
Jeff Moden
SSC-Forever
SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)

Group: General Forum Members
Points: 45494 Visits: 39948
Sean Lange (8/7/2013)
You might also click on the Stairways over on the left side. There are a number of series that start out basic and get more advanced as they go.

Also, make sure you check out the question of the day (QotD) on the left side. It is a great learning tool about a variety of topics. Make sure you follow the discussions. Often times the discussion is more informative than the question itself.


Be advised that at least one author over on the "stairway" has an extremely annular fixation on the use of ANSI-only code. Of course, that's great for the basics but it won't cover things like how to use the proprietary UPDATE of SQL Server, which can be a whole lot faster than an ANSI standard update when trying to update many columns. The UPDATE statement in SQL Server doesn't actually meet ANSI standards since you can't list multiple columns around a single "=".

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
Although they tell us that they want it real bad, our primary goal is to ensure that we dont actually give it to them that way.
Although change is inevitable, change for the better is not.
Just because you can do something in PowerShell, doesnt mean you should. Wink

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Koen Verbeeck
Koen Verbeeck
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16558 Visits: 13210
Jeff Moden (8/7/2013)
Sean Lange (8/7/2013)
You might also click on the Stairways over on the left side. There are a number of series that start out basic and get more advanced as they go.

Also, make sure you check out the question of the day (QotD) on the left side. It is a great learning tool about a variety of topics. Make sure you follow the discussions. Often times the discussion is more informative than the question itself.


Be advised that at least one author over on the "stairway" has an extremely annular fixation on the use of ANSI-only code.


I wonder who that might be. Hehe



How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
RichardIfUwill
RichardIfUwill
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
Points: 4 Visits: 56
For the basics ....



http://www.w3schools.com/sql/

"To be 'The Man,' you gotta beat the man!" ~The Nature Boy
Sean Lange
Sean Lange
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16680 Visits: 17038
Jeff Moden (8/7/2013)
Sean Lange (8/7/2013)
You might also click on the Stairways over on the left side. There are a number of series that start out basic and get more advanced as they go.

Also, make sure you check out the question of the day (QotD) on the left side. It is a great learning tool about a variety of topics. Make sure you follow the discussions. Often times the discussion is more informative than the question itself.


Be advised that at least one author over on the "stairway" has an extremely annular fixation on the use of ANSI-only code. Of course, that's great for the basics but it won't cover things like how to use the proprietary UPDATE of SQL Server, which can be a whole lot faster than an ANSI standard update when trying to update many columns. The UPDATE statement in SQL Server doesn't actually meet ANSI standards since you can't list multiple columns around a single "=".


This is specifically why I mentioned to read the discussions. ;-)

_______________________________________________________________

Need help? Help us help you.

Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

Need to split a string? Try Jeff Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Understanding and Using APPLY (Part 1)
Understanding and Using APPLY (Part 2)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search