Results 1 to 5 of 5

Thread: Query in SQL v/s Query in Oracle

  1. #1
    Join Date
    Dec 2010
    Posts
    59

    Query in SQL v/s Query in Oracle

    I am learning to execute query on SQL on my SQL server, right now I am using the SQL , I do not know whether but there are a lot of people who are using some other syntax, whenever we execute some queries occasionally we face some sort of dissimilarity in the query being produced in the end, so why does it happen , how are the queries in the SQL different from the SQL query , can anyone please explain to this question. I am waiting for your response.

  2. #2
    Join Date
    Apr 2009
    Posts
    569

    Re: Query in SQL v/s Query in Oracle

    I will ask you a few question on this topic Have you ever written any code that comprises of any sort of query while you use one database only to have it break when you toggled to some other database ? How frequently have you made your mind to restrict the functionality of your database by typing only essential SQL since you just were not certain whether your queries would function on a different database ? I think you should get back with answers to these questions

  3. #3
    Join Date
    May 2009
    Posts
    511

    Re: Query in SQL v/s Query in Oracle

    Do not worry I will give answer to those questions . I think you have typed ColdFusion code to control query results without acknowledging that the database can do the same operation quicker and more professionally. In all-uses , the database tends to be badly utilized in the majority of applications. Oracle9i and SQL Server 2000 – the difference is always the key to help. It is always important for the CF developer that will help them to write more transferable and database-smart applications.

  4. #4
    Join Date
    May 2009
    Posts
    527

    Re: Query in SQL v/s Query in Oracle

    One of the main differences between Oracle and SQL Server is in the action of chronological primary keys. To get an automatically generated chronological primary key for a table in SQL Server, you will have to make the column of the table as an IDENTITY column. On the other side Oracle, on the other hand, needs that you first make a sequence and then you will have to insert the values .

  5. #5
    Join Date
    May 2009
    Posts
    543

    Re: Query in SQL v/s Query in Oracle

    Although , these benefits of the SQL Server approach to chronological primary keys come with a cost - you will not be able to insert a value into an IDENTITY column. Thus, if you attempt to bulk import rows from a remote table into an insider one using an IDENTITY column, you will have to leave out the original column matching to the IDENTITY column. This results in discrepancies especially frustrating to handle correctly.

Similar Threads

  1. Query for columns in oracle database
    By Gerri in forum Windows Software
    Replies: 4
    Last Post: 10-02-2010, 08:27 PM
  2. Want to make query dependent on another query.
    By MACE in forum Software Development
    Replies: 4
    Last Post: 01-02-2010, 05:22 PM
  3. How to deal with oracle character query in Wildcard
    By Shanbaag in forum Software Development
    Replies: 3
    Last Post: 11-08-2009, 10:23 AM
  4. MySQL query in a query
    By Rail racer in forum Software Development
    Replies: 3
    Last Post: 21-07-2009, 07:06 PM
  5. Turn on MySQL query cache to speed up query performance
    By DMA2Superman in forum Software Development
    Replies: 3
    Last Post: 07-07-2009, 10:26 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,901,515.45989 seconds with 17 queries