SQL documentation wiki [closed] - sql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Inspired by how much of an improvement the MDC Javascript/DOM docs are over W3Schools, I was looking for a similar wiki comparable to the W3Schools SQL documentation today. I haven't had much luck.
Is there a wiki documenting all the SQL commands with common-use examples, caveats, and vendor-dependent implementations?

The best documentation usually comes from the source itself. Which documentation you want depends on your RDBMS:
MS SQL Server Transact-SQL Reference or Index
PostgreSQL SQL Syntax
SQLite SQL Syntax with pretty railroad diagrams
MySQL SQL Syntax
Oracle SQL Reference
Edit: Based on your updated question, the answer is "What you want does not exist."

Based on your SQL Server tag, you might want to check out MSDN. Vendors usually maintain decent doc themselves (see MySQL and Oracle 10g)

Related

Need to understand everything in pl/sql [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
My company uses Oracle 11g. I am new to Pl/sql and I know only basic SQL. I am not aware of the below things in Oracle pl/sql:
1.creating procedures
2.creating jobs
3.api calling
4.batch running
5.metalized view
6.DB links
7.configuring mail alerts from Database.
8.all pl/sql concepts
Where can I learn all this simple and easily?
Kindly suggest some best YouTube channels, websites, best courses, eBooks or any platforms.
This is Oracle 10g documentation homepage. Yes, I know, you said you're on 11g, but never mind that. Page I suggested is nicely divided into several sections - have a look at Most Popular.
as you're new to Oracle, read Concepts first
as you know a little bit of SQL, read SQL Reference next; you must know SQL before you move on to
PL/SQL User's Guide and Reference book, which will teach you what you asked for
don't miss Application Developer's Guide - Fundamentals as the last book I'm going to suggest in this answer
Feel free to find similar books related to your Oracle database version; there will be some differences, but - as fundamentals - previously mentioned literature will be just fine.
I guess you can start from this one
https://www.amazon.com/Oracle-PL-SQL-Programming-Versions/dp/1449324452/ref=sr_1_1?crid=3OTIP644USUIY&keywords=oracle+pl%2Fsql&qid=1636468646&qsid=136-1702536-3186447&sprefix=oracle+pl%2Caps%2C373&sr=8-1&sres=1449324452%2CB00TFOGOSE%2C097615739X%2C1890774804%2C0071812431%2C1491920009%2C1946383112%2C0596514107%2C0071835148%2C1133947360%2CB004PYDRMK%2C0596514468%2CB014V7G3UI%2C1785284800%2C0072261943%2CB08YQCNT4C&srpt=ABIS_BOOK
if link does not work then
Oracle PL/SQL Programming: Covers Versions Through Oracle Database 12c Sixth Edition
by Steven Feuerstein (Author), Bill Pribyl (Author)

Where can I find SQL language specification [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
Is there an official SQL standard? I.e. I want to understand what type of expression is supported by SQL language and how this expression evaluated by server? What documents are using for implementation SQL based databases?
There is an official SQL standard from the ISO/ANSI committee.
Some information can be found here: http://en.wikipedia.org/wiki/Sql
However the specification itself is not freely available. You might find some drafts of older specs in the internet if you search for it.
A nice explanation of the (yet a bit old) ANSI 99 standard is here: https://mariadb.com/kb/en/sql-99-complete-really/
Here is a compilation of at least the BNF syntax for various versions of the standard

Which Oracle SQL query optimization tool to use? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Yesterday I read an article in PowerTimes ( dec. 2002 :) ) about a great SQL Optimization tool called SQL Expert created by Leccotech. This company is probably taken over by Quest Software and I faced a lot of bugs in the trial version of Quest SQL Optimizer 8.0.0.
Which software do you prefer to optimize your Oracle ( 10 or 11 ) SQL queries?
Regards,
Marinus
I too use explain plan (and a decent grasp on Oracle Concepts and the optimizer), but I'll also mention that Oracle develops a SQL Developer IDE that is getting more advanced than when I first used it.
SQL Developer now has a SQL tuning advisor that is worth checking out. I have not yet used the latest version, but will be doing so soon.
Hope it helps.
I use EXPLAIN PLAN with the SQL client of my choice
I also use the explain plan.
The best method to tune a query is to know as much about what it's purpose is and what it is doing.
Learn about the tables, indexes, constraints, data most importantly, and how the CBO (or RBO) is going to retrieve the data.
You can use software to point and click your way through, but if you don't know yourself what the query and oracle is doing, you won't get very far.

How to generate Entity-Relation diagram from SQL DDL? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
For example DbVisualizer can be used to connect to a DB and create nice diagram out of existing tables and their relations. But in this specific case I do not have a live database but I have bunch of create table and alter statements.
Is there any tool to generate similar diagrams out of SQL DDL?
I found the MySQL tool MySQL Workbench to do a great job. There is a Mac OS X version. More information can be found at http://dev.mysql.com/doc/index-gui.html.
SQLFairy will generate graphics from plain SQL DDL files:
http://sqlfairy.sourceforge.net/
Visual Paradigm for UML can do this.
I believe that Embarcadero's ERStudio can import a SQL script into a diagram, but it's a pricey tool to use just for something like this. You could always just create an empty database and run the scripts then point to that.

Need in SQL parser on Delphi [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Does anybody know about good SQL parser with sources, written in Delphi? I need in parsing SQL commands (with all new features of Firebird 2.5) into object structure.
Read this article for Delphi SQL Parser, it uses IB as database but should not be very different between it and FB.
And there's an open source project called SQL Parser for Delphi but hasn't updated since 2005, but it may give you start up point.
2 other native Delphi SQL parsers:
Zeoslib seems to have an sql parser to parse Interbase, MySQL, Oracle, Postgres, SqLite and Sybase.
General SQL Parser (commercial)