SlideShare ist ein Scribd-Unternehmen logo
1 von 5
Downloaden Sie, um offline zu lesen
1.Difference between SQL Server and PostgreSQL

      S.No   SQL Server                          PostgreSQL

      1      INSERT t VALUES (…)                 This syntax is not allowed. Allows:
                                                 INSERT INTO t VALUES (…)

      2      BULK INSERT and BCP                 uses COPY instead
                                                 (which has the functionality of both
                                                 BCP and BULK INSERT)

      3      Management Studio                   pgAdmin

      4      Bit type                            Boolean type (accepts values true and
                                                 false)

      5      IDENITTY                            Has sequencers (like Oracle)

      6      default schema is dbo               default schema is PostgreSQL

      7      Default Listening on 1433           Default listening on 5432

      8      datatype: varchar(max)              datatype: text

      9      Key is clustered by default         key is not clustered by default (and it
                                                 is enforced by a constraint and not an
                                                 an index!)

      10     User Defined Data Types             Domains

      11     user: sa                            user: postgres

      12     No such thing                       NATURAL and USING joins

      13     SELECT TOP 10 * FROM t              SELECT * FROM t LIMIT 10

      14     Query plans read from right to left Query plan read from left to right

      15     Estimate Query Plan: CTRL+L         Estimate Query Plan: F7


2.Difference between Cross Join and Full Outer Join

      S.No   Cross Join                          Full Outer Join

      1      No join conditions are specified.   A combination of both left and right
                                                 outer joins.

      2      Results in pairs of rows.           Results in every row from both of the
                                                 tables , at least once.

      3      Results in Cartesian product of     Assigns NULL for unmatched fields.
             two tables.
3.Difference between SQL Server and Oracle


      S.No   SQL Server                             Oracle

      1      SQL History:                           Oracle History:

             IBM introduced structured Query        Oracle Corp is the leading supplier for
             Language (SQL) as the language         S/w products, headquartered in
             to interface with its prototype        Redwood shores, California, USA. It
             relational database management         was founded by Larry Ellison, Bob
             system; System R. Oracle               Miner and Ed Oates in 1977. Now they
             Corporation introduced the first       have 43,000 Employees in 150
             commercially available SQL             countries. Oracle first commercial
             relational database management         RDBMS was built in 1979, and it is
             system in 1979. Today, SQL has         the first to support the SQL. Oracle is
             become an industry standard, and       the first S/w company to develop and
             Oracle Corporation clearly leads       deploy 100 % Internet-enabled
             the world in RDBMS technology.         enterprise Software.
             SQL is used for all types of DB
             activities by all type of users. The
             basic SQL commands can be
             learned in a few hours and even
             the most advanced commands can
             be mastered in a few days.


      2      SQL (Structure Query                   Oracle (RDBMS):
             Language):
                                                    Oracle is fastest and easiest way to
             When a user wants to get some          create applications in MS windows. It
             information from any DB file, he       provides the ability to store and access
             can issue a query. Structured          data. Whether you are experienced or
             query language (SQL),                  new to windows in programming,
             pronounced “Sequel”, is the set of     Oracle provides you with the complete
             commands that all programs and         set of tools to simplify rapid
             users must use to access data          application development. The Oracle
             within the Oracle. SQL is a high       refers to the method used to create the
             performance fault tolerant data        graphical user inter face. There is no
             base management system. The            need to write numerous lines of code
             database is mostly maintained by       to describe the appearance and location
             SQL language, which is conceded        of inter face elements.
             as the heart of the RDBMS.


      3      SQL Technology:                        Oracle Technology:

             SQL is divided into four parts:        Oracle DB structure is divided into
                                                    two parts, one is called Physical
             DDL (Data Definition Language):        structure (these files define the
             Create, Alter, Drop, Rename,           operating system that make up the DB,
             Truncate.                              each Oracle DB is made by three types
DML (Data Manipulate                of files, data-files, redo logs file-
    Language): Select, Update and       controls file) and the other is called
    Delete, Insert, Into.               Logical structure (these files define the
                                        logical areas of storage like schema,
    DCL (Data Control Language):        table spaces, segments and extents).
    Grant, Revoke

    TCL (Transaction Control
    Language): Commit, Rollback.


4   Advantages:                         Advantages:

        • Provides easy access to all       • Data consistency
          data.                             • Integration of data
        • Flexibility in data               • Easy file generation
          molding.                          • Increased security
        • Reduced data storage and          • Easy updating of records
          redundancy.                       • No wastage of time
        • Provides a high-level             • Enforcement of standards
          manipulation language.            • Controlled data redundancy
        • SQL can save data in              • Reduce the total expenditures
          common PC file formats            • Searching of particular data is
          that can be imported into           easy
          other application (like Ms-
                                            • Dispose of heavy files and
          Excel).
                                              register work
        • SQL is not case sensitive.
                                            • The work of three persons is
        • It can enter one or more            reduced to one
          lines.
                                            • Instant intimation of
        • Tabs and indents can be             modification of information
          used to make code more
          readable.
        • Can be used by a range of
          users.
        • It is a nonprocedural
          language (English-like
          language).


5   Differences:                        Differences:

        • SQL is a tool for all DB          • Oracle Corp is the world’s
          like DBMS, RDBMS, T-                leading supplier of S/w
          SQL, and SQL Plus.                  products.
        • SQL maintains different           • Oracle is the platform, where
          RDBMS.                              we develop and implement
        • SQL is combination of               different DB designs and
          different commands and              software.
          functions that why, SQL is        • Oracle is the combination of
          worked for Oracle DB as a           different S/w products, where
command prompt                      they work together for
                    shell (SQL is the command           designing DB.
                    prompt shell, where we            • Oracle works with different
                    can communicate with any            front and back end
                    DB).                                products/tools (like SQL).



4.Difference between View and Stored Procedure


      S.No   View                                 Stored Procedure

      1      Does not accepts parameters          Accept parameters

      2      Can be used as a building block in   Cannot be used as a building block in
             large query.                         large query.

      3      Can contain only one single Select Can contain several statement like if,
             query.                             else, loop etc.

      4      Cannot perform modification to       Can perform modification to one or
             any table.                           several tables.

      5      Can be used (sometimes) as the       Cannot be used as the target for Insert,
             target for Insert, update, delete    update, delete queries.
             queries.

5.Difference between IN and EXISTS


      S.No   IN                                   EXISTS

      1      Returns true if specified value      Return true if sub query contain any
             matches any value in the sub         rows.
             query or a list.

      2      The sub query will run first and     The Outer query will ran first and then
             then only outer query.               only sub query.

      3      IN is slower than EXISTS. The IN     Exists is faster than IN.The Outer
             is used in the widely For Static     query will run first and then only inner
             variables for eg: select name from   query.So it will reduce the over head.
             table where ID in (Select ID from    The Exists is useful mostly in IF
             table2).                             conditional statements.

      4      Example:                             Example:

             SELECT id,                           SELECT id,
             [Name]                               [Name]
             FROM dbo.tablea                      FROM dbo.tablea AS a
             WHERE id IN (SELECT id               WHERE EXISTS (SELECT id2
FROM dbo.tableb)                   FROM dbo.tableb
                                                WHERE id2 = a.id)


Please visit my blog @ http://onlydifferencefaqs.blogspot.in/

Weitere ähnliche Inhalte

Was ist angesagt?

Jdbc slide for beginers
Jdbc slide for beginersJdbc slide for beginers
Jdbc slide for beginersAmbarish Rai
 
Database Management Lab -SQL Queries
Database Management Lab -SQL Queries Database Management Lab -SQL Queries
Database Management Lab -SQL Queries shamim hossain
 
SQL and NoSQL in SQL Server
SQL and NoSQL in SQL ServerSQL and NoSQL in SQL Server
SQL and NoSQL in SQL ServerMichael Rys
 
Oracle 11g developer on linux training in bangalore
Oracle 11g developer on linux training in bangaloreOracle 11g developer on linux training in bangalore
Oracle 11g developer on linux training in bangaloreSuvash Chowdary
 
Easy Data Object Relational Mapping Tool
Easy Data Object Relational Mapping ToolEasy Data Object Relational Mapping Tool
Easy Data Object Relational Mapping ToolHasitha Guruge
 
Advanced SQL - Database Access from Programming Languages
Advanced SQL - Database Access  from Programming LanguagesAdvanced SQL - Database Access  from Programming Languages
Advanced SQL - Database Access from Programming LanguagesS.Shayan Daneshvar
 
Rdbms Practical file diploma
Rdbms Practical file diploma Rdbms Practical file diploma
Rdbms Practical file diploma mustkeem khan
 
Understanding Dom
Understanding DomUnderstanding Dom
Understanding DomLiquidHub
 
A comparison between several no sql databases with comments and notes
A comparison between several no sql databases with comments and notesA comparison between several no sql databases with comments and notes
A comparison between several no sql databases with comments and notesJoão Gabriel Lima
 
SQLPASS AD501-M XQuery MRys
SQLPASS AD501-M XQuery MRysSQLPASS AD501-M XQuery MRys
SQLPASS AD501-M XQuery MRysMichael Rys
 
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...Beat Signer
 
Homework help on oracle
Homework help on oracleHomework help on oracle
Homework help on oracleSteve Nash
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQLRam Kedem
 

Was ist angesagt? (20)

Jdbc slide for beginers
Jdbc slide for beginersJdbc slide for beginers
Jdbc slide for beginers
 
Oracle
OracleOracle
Oracle
 
Database Management Lab -SQL Queries
Database Management Lab -SQL Queries Database Management Lab -SQL Queries
Database Management Lab -SQL Queries
 
SQL and NoSQL in SQL Server
SQL and NoSQL in SQL ServerSQL and NoSQL in SQL Server
SQL and NoSQL in SQL Server
 
The Smartpath Information Systems | BASIC RDBMS CONCEPTS
The Smartpath Information Systems | BASIC RDBMS CONCEPTSThe Smartpath Information Systems | BASIC RDBMS CONCEPTS
The Smartpath Information Systems | BASIC RDBMS CONCEPTS
 
Oracle 11g developer on linux training in bangalore
Oracle 11g developer on linux training in bangaloreOracle 11g developer on linux training in bangalore
Oracle 11g developer on linux training in bangalore
 
Easy Data Object Relational Mapping Tool
Easy Data Object Relational Mapping ToolEasy Data Object Relational Mapping Tool
Easy Data Object Relational Mapping Tool
 
Advanced SQL - Database Access from Programming Languages
Advanced SQL - Database Access  from Programming LanguagesAdvanced SQL - Database Access  from Programming Languages
Advanced SQL - Database Access from Programming Languages
 
Db2
Db2Db2
Db2
 
Glossary
GlossaryGlossary
Glossary
 
Rdbms Practical file diploma
Rdbms Practical file diploma Rdbms Practical file diploma
Rdbms Practical file diploma
 
Understanding Dom
Understanding DomUnderstanding Dom
Understanding Dom
 
A comparison between several no sql databases with comments and notes
A comparison between several no sql databases with comments and notesA comparison between several no sql databases with comments and notes
A comparison between several no sql databases with comments and notes
 
SQLPASS AD501-M XQuery MRys
SQLPASS AD501-M XQuery MRysSQLPASS AD501-M XQuery MRys
SQLPASS AD501-M XQuery MRys
 
Jdbcdriver
JdbcdriverJdbcdriver
Jdbcdriver
 
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
 
Introduction to sql
Introduction to sqlIntroduction to sql
Introduction to sql
 
10g sql e book
10g sql e book10g sql e book
10g sql e book
 
Homework help on oracle
Homework help on oracleHomework help on oracle
Homework help on oracle
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
 

Ähnlich wie Sql server difference faqs- 6

Database Systems - Introduction to SQL (Chapter 3/1)
Database Systems - Introduction to SQL (Chapter 3/1)Database Systems - Introduction to SQL (Chapter 3/1)
Database Systems - Introduction to SQL (Chapter 3/1)Vidyasagar Mundroy
 
SQL EXCLUSIVE NOTES .pdf
SQL EXCLUSIVE NOTES .pdfSQL EXCLUSIVE NOTES .pdf
SQL EXCLUSIVE NOTES .pdfNiravPanchal50
 
SQL Training courses.pptx
SQL Training courses.pptxSQL Training courses.pptx
SQL Training courses.pptxirfanakram32
 
Sql server difference faqs- 5
Sql server difference faqs-  5Sql server difference faqs-  5
Sql server difference faqs- 5Umar Ali
 
Sql vs NoSQL-Presentation
 Sql vs NoSQL-Presentation Sql vs NoSQL-Presentation
Sql vs NoSQL-PresentationShubham Tomar
 
System i - DDL vs DDS Presentation
System i - DDL vs DDS PresentationSystem i - DDL vs DDS Presentation
System i - DDL vs DDS PresentationChuck Walker
 
Introduction to Oracle Database
Introduction to Oracle DatabaseIntroduction to Oracle Database
Introduction to Oracle Databasepuja_dhar
 
DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3YOGESH SINGH
 
INTRO TO SQL.pptx
INTRO TO SQL.pptxINTRO TO SQL.pptx
INTRO TO SQL.pptxsujithangam
 
Oracle DBA Tutorial for Beginners -Oracle training institute in bangalore
Oracle DBA Tutorial for Beginners -Oracle training institute in bangaloreOracle DBA Tutorial for Beginners -Oracle training institute in bangalore
Oracle DBA Tutorial for Beginners -Oracle training institute in bangaloreTIB Academy
 
1. introduction to no sql
1. introduction to no sql1. introduction to no sql
1. introduction to no sqlAnuja Gunale
 
Summary python coding
Summary python codingSummary python coding
Summary python codingNovita Sari
 
U-SQL Intro (SQLBits 2016)
U-SQL Intro (SQLBits 2016)U-SQL Intro (SQLBits 2016)
U-SQL Intro (SQLBits 2016)Michael Rys
 

Ähnlich wie Sql server difference faqs- 6 (20)

SQL 3.pptx
SQL 3.pptxSQL 3.pptx
SQL 3.pptx
 
Database Systems - Introduction to SQL (Chapter 3/1)
Database Systems - Introduction to SQL (Chapter 3/1)Database Systems - Introduction to SQL (Chapter 3/1)
Database Systems - Introduction to SQL (Chapter 3/1)
 
SQL EXCLUSIVE NOTES .pdf
SQL EXCLUSIVE NOTES .pdfSQL EXCLUSIVE NOTES .pdf
SQL EXCLUSIVE NOTES .pdf
 
SQL Training courses.pptx
SQL Training courses.pptxSQL Training courses.pptx
SQL Training courses.pptx
 
Sql server difference faqs- 5
Sql server difference faqs-  5Sql server difference faqs-  5
Sql server difference faqs- 5
 
Sqlite
SqliteSqlite
Sqlite
 
Sql
SqlSql
Sql
 
Oracle Intro.ppt
Oracle Intro.pptOracle Intro.ppt
Oracle Intro.ppt
 
Sql vs NoSQL-Presentation
 Sql vs NoSQL-Presentation Sql vs NoSQL-Presentation
Sql vs NoSQL-Presentation
 
PHP Oracle
PHP OraclePHP Oracle
PHP Oracle
 
System i - DDL vs DDS Presentation
System i - DDL vs DDS PresentationSystem i - DDL vs DDS Presentation
System i - DDL vs DDS Presentation
 
Introduction to Oracle Database
Introduction to Oracle DatabaseIntroduction to Oracle Database
Introduction to Oracle Database
 
Database part2-
Database part2-Database part2-
Database part2-
 
Oracle's history
Oracle's historyOracle's history
Oracle's history
 
DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3
 
INTRO TO SQL.pptx
INTRO TO SQL.pptxINTRO TO SQL.pptx
INTRO TO SQL.pptx
 
Oracle DBA Tutorial for Beginners -Oracle training institute in bangalore
Oracle DBA Tutorial for Beginners -Oracle training institute in bangaloreOracle DBA Tutorial for Beginners -Oracle training institute in bangalore
Oracle DBA Tutorial for Beginners -Oracle training institute in bangalore
 
1. introduction to no sql
1. introduction to no sql1. introduction to no sql
1. introduction to no sql
 
Summary python coding
Summary python codingSummary python coding
Summary python coding
 
U-SQL Intro (SQLBits 2016)
U-SQL Intro (SQLBits 2016)U-SQL Intro (SQLBits 2016)
U-SQL Intro (SQLBits 2016)
 

Mehr von Umar Ali

Difference between wcf and asp.net web api
Difference between wcf and asp.net web apiDifference between wcf and asp.net web api
Difference between wcf and asp.net web apiUmar Ali
 
Difference between ActionResult() and ViewResult()
Difference between ActionResult() and ViewResult()Difference between ActionResult() and ViewResult()
Difference between ActionResult() and ViewResult()Umar Ali
 
Difference between asp.net mvc 3 and asp.net mvc 4
Difference between asp.net mvc 3 and asp.net mvc 4Difference between asp.net mvc 3 and asp.net mvc 4
Difference between asp.net mvc 3 and asp.net mvc 4Umar Ali
 
Difference between asp.net web api and asp.net mvc
Difference between asp.net web api and asp.net mvcDifference between asp.net web api and asp.net mvc
Difference between asp.net web api and asp.net mvcUmar Ali
 
Difference between asp.net web forms and asp.net mvc
Difference between asp.net web forms and asp.net mvcDifference between asp.net web forms and asp.net mvc
Difference between asp.net web forms and asp.net mvcUmar Ali
 
ASP.NET MVC difference between questions list 1
ASP.NET MVC difference between questions list 1ASP.NET MVC difference between questions list 1
ASP.NET MVC difference between questions list 1Umar Ali
 
Link checkers 1
Link checkers 1Link checkers 1
Link checkers 1Umar Ali
 
Affiliate Networks Sites-1
Affiliate Networks Sites-1Affiliate Networks Sites-1
Affiliate Networks Sites-1Umar Ali
 
Technical Video Training Sites- 1
Technical Video Training Sites- 1Technical Video Training Sites- 1
Technical Video Training Sites- 1Umar Ali
 
US News Sites- 1
US News Sites- 1 US News Sites- 1
US News Sites- 1 Umar Ali
 
How to create user friendly file hosting link sites
How to create user friendly file hosting link sitesHow to create user friendly file hosting link sites
How to create user friendly file hosting link sitesUmar Ali
 
Weak hadiths in tamil
Weak hadiths in tamilWeak hadiths in tamil
Weak hadiths in tamilUmar Ali
 
Bulughul Maram in tamil
Bulughul Maram in tamilBulughul Maram in tamil
Bulughul Maram in tamilUmar Ali
 
Asp.net website usage and job trends
Asp.net website usage and job trendsAsp.net website usage and job trends
Asp.net website usage and job trendsUmar Ali
 
Indian news sites- 1
Indian news sites- 1 Indian news sites- 1
Indian news sites- 1 Umar Ali
 
Photo sharing sites- 1
Photo sharing sites- 1 Photo sharing sites- 1
Photo sharing sites- 1 Umar Ali
 
File hosting search engines
File hosting search enginesFile hosting search engines
File hosting search enginesUmar Ali
 
Ajax difference faqs compiled- 1
Ajax difference  faqs compiled- 1Ajax difference  faqs compiled- 1
Ajax difference faqs compiled- 1Umar Ali
 
ADO.NET difference faqs compiled- 1
ADO.NET difference  faqs compiled- 1ADO.NET difference  faqs compiled- 1
ADO.NET difference faqs compiled- 1Umar Ali
 
Dotnet differences compiled -1
Dotnet differences compiled -1Dotnet differences compiled -1
Dotnet differences compiled -1Umar Ali
 

Mehr von Umar Ali (20)

Difference between wcf and asp.net web api
Difference between wcf and asp.net web apiDifference between wcf and asp.net web api
Difference between wcf and asp.net web api
 
Difference between ActionResult() and ViewResult()
Difference between ActionResult() and ViewResult()Difference between ActionResult() and ViewResult()
Difference between ActionResult() and ViewResult()
 
Difference between asp.net mvc 3 and asp.net mvc 4
Difference between asp.net mvc 3 and asp.net mvc 4Difference between asp.net mvc 3 and asp.net mvc 4
Difference between asp.net mvc 3 and asp.net mvc 4
 
Difference between asp.net web api and asp.net mvc
Difference between asp.net web api and asp.net mvcDifference between asp.net web api and asp.net mvc
Difference between asp.net web api and asp.net mvc
 
Difference between asp.net web forms and asp.net mvc
Difference between asp.net web forms and asp.net mvcDifference between asp.net web forms and asp.net mvc
Difference between asp.net web forms and asp.net mvc
 
ASP.NET MVC difference between questions list 1
ASP.NET MVC difference between questions list 1ASP.NET MVC difference between questions list 1
ASP.NET MVC difference between questions list 1
 
Link checkers 1
Link checkers 1Link checkers 1
Link checkers 1
 
Affiliate Networks Sites-1
Affiliate Networks Sites-1Affiliate Networks Sites-1
Affiliate Networks Sites-1
 
Technical Video Training Sites- 1
Technical Video Training Sites- 1Technical Video Training Sites- 1
Technical Video Training Sites- 1
 
US News Sites- 1
US News Sites- 1 US News Sites- 1
US News Sites- 1
 
How to create user friendly file hosting link sites
How to create user friendly file hosting link sitesHow to create user friendly file hosting link sites
How to create user friendly file hosting link sites
 
Weak hadiths in tamil
Weak hadiths in tamilWeak hadiths in tamil
Weak hadiths in tamil
 
Bulughul Maram in tamil
Bulughul Maram in tamilBulughul Maram in tamil
Bulughul Maram in tamil
 
Asp.net website usage and job trends
Asp.net website usage and job trendsAsp.net website usage and job trends
Asp.net website usage and job trends
 
Indian news sites- 1
Indian news sites- 1 Indian news sites- 1
Indian news sites- 1
 
Photo sharing sites- 1
Photo sharing sites- 1 Photo sharing sites- 1
Photo sharing sites- 1
 
File hosting search engines
File hosting search enginesFile hosting search engines
File hosting search engines
 
Ajax difference faqs compiled- 1
Ajax difference  faqs compiled- 1Ajax difference  faqs compiled- 1
Ajax difference faqs compiled- 1
 
ADO.NET difference faqs compiled- 1
ADO.NET difference  faqs compiled- 1ADO.NET difference  faqs compiled- 1
ADO.NET difference faqs compiled- 1
 
Dotnet differences compiled -1
Dotnet differences compiled -1Dotnet differences compiled -1
Dotnet differences compiled -1
 

Kürzlich hochgeladen

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 

Kürzlich hochgeladen (20)

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 

Sql server difference faqs- 6

  • 1. 1.Difference between SQL Server and PostgreSQL S.No SQL Server PostgreSQL 1 INSERT t VALUES (…) This syntax is not allowed. Allows: INSERT INTO t VALUES (…) 2 BULK INSERT and BCP uses COPY instead (which has the functionality of both BCP and BULK INSERT) 3 Management Studio pgAdmin 4 Bit type Boolean type (accepts values true and false) 5 IDENITTY Has sequencers (like Oracle) 6 default schema is dbo default schema is PostgreSQL 7 Default Listening on 1433 Default listening on 5432 8 datatype: varchar(max) datatype: text 9 Key is clustered by default key is not clustered by default (and it is enforced by a constraint and not an an index!) 10 User Defined Data Types Domains 11 user: sa user: postgres 12 No such thing NATURAL and USING joins 13 SELECT TOP 10 * FROM t SELECT * FROM t LIMIT 10 14 Query plans read from right to left Query plan read from left to right 15 Estimate Query Plan: CTRL+L Estimate Query Plan: F7 2.Difference between Cross Join and Full Outer Join S.No Cross Join Full Outer Join 1 No join conditions are specified. A combination of both left and right outer joins. 2 Results in pairs of rows. Results in every row from both of the tables , at least once. 3 Results in Cartesian product of Assigns NULL for unmatched fields. two tables.
  • 2. 3.Difference between SQL Server and Oracle S.No SQL Server Oracle 1 SQL History: Oracle History: IBM introduced structured Query Oracle Corp is the leading supplier for Language (SQL) as the language S/w products, headquartered in to interface with its prototype Redwood shores, California, USA. It relational database management was founded by Larry Ellison, Bob system; System R. Oracle Miner and Ed Oates in 1977. Now they Corporation introduced the first have 43,000 Employees in 150 commercially available SQL countries. Oracle first commercial relational database management RDBMS was built in 1979, and it is system in 1979. Today, SQL has the first to support the SQL. Oracle is become an industry standard, and the first S/w company to develop and Oracle Corporation clearly leads deploy 100 % Internet-enabled the world in RDBMS technology. enterprise Software. SQL is used for all types of DB activities by all type of users. The basic SQL commands can be learned in a few hours and even the most advanced commands can be mastered in a few days. 2 SQL (Structure Query Oracle (RDBMS): Language): Oracle is fastest and easiest way to When a user wants to get some create applications in MS windows. It information from any DB file, he provides the ability to store and access can issue a query. Structured data. Whether you are experienced or query language (SQL), new to windows in programming, pronounced “Sequel”, is the set of Oracle provides you with the complete commands that all programs and set of tools to simplify rapid users must use to access data application development. The Oracle within the Oracle. SQL is a high refers to the method used to create the performance fault tolerant data graphical user inter face. There is no base management system. The need to write numerous lines of code database is mostly maintained by to describe the appearance and location SQL language, which is conceded of inter face elements. as the heart of the RDBMS. 3 SQL Technology: Oracle Technology: SQL is divided into four parts: Oracle DB structure is divided into two parts, one is called Physical DDL (Data Definition Language): structure (these files define the Create, Alter, Drop, Rename, operating system that make up the DB, Truncate. each Oracle DB is made by three types
  • 3. DML (Data Manipulate of files, data-files, redo logs file- Language): Select, Update and controls file) and the other is called Delete, Insert, Into. Logical structure (these files define the logical areas of storage like schema, DCL (Data Control Language): table spaces, segments and extents). Grant, Revoke TCL (Transaction Control Language): Commit, Rollback. 4 Advantages: Advantages: • Provides easy access to all • Data consistency data. • Integration of data • Flexibility in data • Easy file generation molding. • Increased security • Reduced data storage and • Easy updating of records redundancy. • No wastage of time • Provides a high-level • Enforcement of standards manipulation language. • Controlled data redundancy • SQL can save data in • Reduce the total expenditures common PC file formats • Searching of particular data is that can be imported into easy other application (like Ms- • Dispose of heavy files and Excel). register work • SQL is not case sensitive. • The work of three persons is • It can enter one or more reduced to one lines. • Instant intimation of • Tabs and indents can be modification of information used to make code more readable. • Can be used by a range of users. • It is a nonprocedural language (English-like language). 5 Differences: Differences: • SQL is a tool for all DB • Oracle Corp is the world’s like DBMS, RDBMS, T- leading supplier of S/w SQL, and SQL Plus. products. • SQL maintains different • Oracle is the platform, where RDBMS. we develop and implement • SQL is combination of different DB designs and different commands and software. functions that why, SQL is • Oracle is the combination of worked for Oracle DB as a different S/w products, where
  • 4. command prompt they work together for shell (SQL is the command designing DB. prompt shell, where we • Oracle works with different can communicate with any front and back end DB). products/tools (like SQL). 4.Difference between View and Stored Procedure S.No View Stored Procedure 1 Does not accepts parameters Accept parameters 2 Can be used as a building block in Cannot be used as a building block in large query. large query. 3 Can contain only one single Select Can contain several statement like if, query. else, loop etc. 4 Cannot perform modification to Can perform modification to one or any table. several tables. 5 Can be used (sometimes) as the Cannot be used as the target for Insert, target for Insert, update, delete update, delete queries. queries. 5.Difference between IN and EXISTS S.No IN EXISTS 1 Returns true if specified value Return true if sub query contain any matches any value in the sub rows. query or a list. 2 The sub query will run first and The Outer query will ran first and then then only outer query. only sub query. 3 IN is slower than EXISTS. The IN Exists is faster than IN.The Outer is used in the widely For Static query will run first and then only inner variables for eg: select name from query.So it will reduce the over head. table where ID in (Select ID from The Exists is useful mostly in IF table2). conditional statements. 4 Example: Example: SELECT id, SELECT id, [Name] [Name] FROM dbo.tablea FROM dbo.tablea AS a WHERE id IN (SELECT id WHERE EXISTS (SELECT id2
  • 5. FROM dbo.tableb) FROM dbo.tableb WHERE id2 = a.id) Please visit my blog @ http://onlydifferencefaqs.blogspot.in/