Re: Copy Access Table to SQL

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Narayana Vyas Kondreddi (answer_me_at_hotmail.com)
Date: 12/06/04


Date: Mon, 6 Dec 2004 17:43:05 -0000

In SQL Server you don't have to worry about how the data is stored. All you
have to do is to, specify an ORDER BY clause in your queries, to get the
data out in your desired sort order.

-- 
HTH,
Vyas, MVP (SQL Server)
SQL Server Articles and Code Samples @ http://vyaskn.tripod.com/
"Petra" <Petra@discussions.microsoft.com> wrote in message
news:09506D78-2CFC-4482-AD02-2000131510A2@microsoft.com...
Exporting an Access table and saving it as a DTS package copies the table
but
loses it's column sorting.  In the Access table, the "Main Number" is sorted
as ascending, but dropping and copying the table via DTS distorts the sort
and does not contain a sort sequence, even by ID.  What causes this and how
can I correct this?
Thanks, P


Relevant Pages

  • Re: Performance issue with row size and order by
    ... You are probably observing in-memory sort versus on-disk sort. ... The amount of memory sort uses is dynamically tuned. ... SQL Server Storage Engine Development ...
    (microsoft.public.sqlserver.server)
  • Re: How top actually works
    ... So the next one shows that order by clause has affected the result set ... sort these N rows according to my order by clause. ... Ie. you are telling SQL Server ... This is much the same as with rownum in Oracle, ...
    (comp.databases.ms-sqlserver)
  • Re: Establishing Precedence In ORDERBY Condition Causing Problems.
    ... That query looks very much like the SELECT in the procedure you ... The ORDER BY CASE @sort is supposed to only tell SQL to return data ... far as I can call you have <bigquery> thrice in your procedure: ... I was SQL Server 2000 when I wrote this SPROC but we have since ...
    (comp.databases.ms-sqlserver)
  • Re: index versus order by question
    ... How does sql server then sort the table? ... The table in quesion is still sorted accoring to the clustered index. ... I suggest you check out the "Physical Database Architecture" section in Books Online. ...
    (microsoft.public.sqlserver.setup)
  • Re: Regarding Opening a 1GB File for Processing.
    ... > What about using DTS or BULK INSERT to insert this data into SQL Server, ... > your sorting there, and then BCP out the data? ... > file based in the first field, ... > first two fields and sort the list, ...
    (microsoft.public.dotnet.framework.performance)