Recommended SQL Practice and Books [closed] - sql

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Please recommend me some books and practices for me.
I am quite weak in SQL though not that bad in C# and VB.NET.
Thanks.

Itzik Ben-Gan has written three excellent books on SQL Server 2008 and T-SQL. The best place to start is with 'SQL Server 2008: T-SQL Fundamentals', and then from there to move onto 'Inside SQL Server 2008: T-SQL Querying' and then finally 'Inside SQL Server 2008: T-SQL Programming'.
If I could get all of the developers here to read these three books then I wouldn't need to spend half as much time as I do addressing quality concerns in our databases.

Kalen Delaney's SQL Server 2008 Internals will change the way you use SQL Server, by giving you such a thorough understanding of it all.

SQL: The Complete Reference has been with me since day 1. While the content in this book is excellent (easy-to-read, understand, great examples), I think its greatest strength is the strong appendix -- there isn't a language concept/keyword that isn't listed; its never let me down.
Oh, and its a few years old, so its dirt cheap now, too. :)

Check out this book.It is great for the whole DBMS concepts including SQL
Database Management Systems: A Practical Approach to Design, Implementation, and
Management (Fourth Edition)
by Thomas Connolly and Carolyn Begg
Addison-Wesley, 2005

Related

learning how to write complex stored procedures [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
i'm looking for good books and tutorials
about writing complex stored procedures along with common tricks and best practices
commonly used by DBAs.
all i usually find is the basic SQL Statement tutorials ,
what i need are some good examples of Complex Data Selection
along with common tricks of how to correctly and efficiently filter data
for selection between multiple tables .
i release this is hard to find , because Complex DB's are usually built
only in large projects and not for tutorials , but for the least i would like to find commonly used method applied by DBAs
thanks in advance.
You can use below site for download Ebook about SQL server complex stored procedure :
1- COMPLEX STORED PROCEDURE IN SQL
2- STORED PROCEDURES
3- Google Ebook
There are lots of site but I find This site is very helpful for my SQL Server learning. It is very informative site for database developers. If you want to read books then probably you can pick on from Microsoft press.
You should look at The Guru's Guide To Transact SQL by Ken Henderson, a bit old, but probably still the best book about T-SQL :)

Where should rookie go for best SQL tutorial resources? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I´m interested in both web resources and books. It´s a jungle out there, please give me a hand.
My goal is to learn the SQL language so I can query Sql Server databases within a couple of weeks.
I´ve got a programming background, and I know some basic stuff about relational databases, but almost nothing on how to use the SQL language.
Thanks to you ALL for all good tips! I will save this page as a starting point in my mission to learn SQL. Sadly enough it´s not possible to set more than one answer as "accepted"...
I don't normally go for the ' ... in 21 days' books but this online one seems reasonable: Teach Yourself SQL in 21 Days, Second Edition.
See Where can I find training/tutorials for SQL and T-SQL?
one of my favorite websites to get started with SQL is : SQLCourse
Good luck for your starting
This (w3schools) is always a nice place to start.
Try SQL Exercises
Perhaps You need to begin your own project, It is always recommended when learning something new that you fight with real problems.
http://www.databasejournal.com/ is one of good recurses,

some microsoft products and XML on an interview [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
here's the job description:
Experience with data mapping/extracts tools such as Monarch and VorteXML.
Familiarity with XML documents and schemas.
Minimum 1-3 years of data analysis in SQL Server environment.
Working knowledge of TSQL and SQL Server 2000 tools such as Enterprise Manager, SQL Query Analyzer, Profiler, DTS and BCP.
Working knowledge of SQL Server Reporting Services design and administration.
BSCS or other technical degree.
Healthcare background strongly preferred.
Strong organizational and communication skills.
Strong analytical thinking, troubleshooting and ability to manage multiple, concurrent projects.
Ability to meet deadlines while working in a fast-paced environment.
what is an XML schema? ive extracted data programmatically from XML files, but i dont understand what they mean by schema?
data analysis in SQL server environment - does this just mean knowing how to do joins and select statements?
SSRS (design and administration) - can someone please get me started on some basic tutorials where i can learn this?
what is Monarch and VorteXML and where can i learn the applications?
If you don't know those technologies and what they're talking about, you probably shouldn't be applying. The same goes for any job, whether or not it's in the IT field.
Are you just planning to answer the questions and then spend about two weeks stressing your nut off once you get the job. W3Schools will give you a start with schema (.xsd files). Sql server documentation will help you with the rest (patterns and practices on microsoft site is a good read).
You've got to understand that the interviewer probably has some ideas about the answers they want to hear too.
Good luck :)

Free SQL comparison tool [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have been using SQL Compare by Redgate at my company and was very satisfied with it. Are there any free comparison tools that are similar? Or what would be my best shot for synchronizing two SQL db's without a paid application
I had the same problem and wanted a free GUI base Schema comparer tool, what I found was
Star Inix (http://www.starinix.com/sqlcompare02.htm). Obviously not as good as Redgates offering, but it does the job.
Also, with Redgate Sql Compare, once the trial period is over, if you enter the key as "i need more time" (without the quotes) you can extend the trial by a further 14 days.
Visual Studio (Premium & above I guess) has this feature built-in under the SQL menu.
I’ve gone through this and couldn’t find anything comparable, free or otherwise. $395 is a very small price to pay for the value the tool brings and it will almost certainly pay for itself very quickly in productivity gains and risk minimisation.
xSQL Free Bundle
Very similar to RedGate's SQL Compare and free.
You can try using TableDiff , that came with SQL Server 2005.
Tablediff Utility
SQL Server 2005 TableDiff Utility
Bye.
Have a look at Mighty Comparer. It's currently free. A professional version is under development.
I normally go for the hackish but surprisingly effective technique of downloading the sys_information tables to text files and diffing them with your favorite diff program (this way will even let you compare 3 schemas!).
You can use Database Comparer
Database Comparer is free for non-commercial use.

What the best resource to learn ANSI SQL? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I don't mean "Basic SQL", but strongly the specs and the difference between the specs and the implementations between great databases (like SQL Server, Oracle, etc).
(source: amazon.com)
SQL In a Nutshell by O'Reilly and Associates. It covers all 5 major SQL Dialects, the differences between them, and does that for each function/feature listed. (ANSI SQL99, Oracle, MySql, Postgres, and SQL Server).
The number one way of learning the differences is to work in the various databases.
SQL Server, Oracle, and MySql all offer free (express) editions. Also, if you want to step up a bit you can get the developer version of SQL Server for about $50.
Oracle:
http://www.oracle.com/technology/products/database/xe/index.html
SQL Server
http://www.microsoft.com/express/sql/default.aspx
MySQL
http://dev.mysql.com/downloads/
Simple things to do:
create a database
create a table
do simple insert/update/delete (CRUD) operations
do inner / outer joins.
http://sqlzoo.net/
PostgreSQL the world's more advanced opensource and more ANSI SQL-compliant database
Various RDBMS ANSI SQL-conformance: http://troels.arvin.dk/db/rdbms/