Sign Up |  Live StatsLive Stats    Articles 35,345| Comments 159,790| Members 17,820, Newest waheguruhelpme| Online 226
Home Contact
 (Forgotten?): 
    Sikhism

   
                                                                     Your Banner Here!    

Breaking out large table

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 400 USD, Received: 35 USD (9%)
Please Donate...
Related Topics...
Thread Thread Starter Forum Replies Last Post
Breaking the Silence -Special Seminars Sikh_Awareness_Society General Discussion 0 09-Sep-2006 00:51 AM
Table size getting large... Access Sortof Newb Information Technology 1 28-Jul-2006 08:38 AM
Can one prevent Access 2000 table links breaking during a crash? David Okuni Information Technology 3 28-Jul-2006 08:20 AM
splitting a large access table to export to excel Jma000@gmail.com Information Technology 2 28-Jul-2006 08:14 AM
Breaking and reestablishing relationships tcb Information Technology 4 09-Nov-2005 17:50 PM


Tags
breaking, large, table
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:42 AM
KCFanatic's Avatar KCFanatic
Guest
 
Posts: n/a
   
   
Breaking out large table

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I have a large table in Access (900K rows) that I would like to seperate into
several tables or queries. Is there a way to write a query that selects rows
1-100,000?

*








 
Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:42 AM
Jeff Boyce's Avatar Jeff Boyce
Guest
 
Posts: n/a
   
   
Re: Breaking out large table

Why? As in "why do you care how many rows the table has?" With proper
indexing and data/table design, there should be few performance issues.

If you open a new query, select the table, add the fields you are interested
in, and add the field you are using to determine row number (NOTE: Access
doesn't "number" rows ... you have to add a field that imposes some sort of
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/14004-breaking-out-large-table.html
sort order).

Now change the properties of the query -- right click in the open gray space
and select the TOP 100000 rows. Again, note that this will be based on
whatever you've told Access to sort by. If you haven't, there's no
guarantee you'll get the same 100000 rows the second time you run the query.

Regards

Jeff Boyce
Microsoft Office/Access MVP
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14004

"KCFanatic" wrote in message
news:F966A926-DB47-461E-B9A6-02C654F066BD@microsoft.com...
>I have a large table in Access (900K rows) that I would like to seperate
>into
> several tables or queries. Is there a way to write a query that selects
> rows
> 1-100,000?



Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:42 AM
Joseph Meehan's Avatar Joseph Meehan
Guest
 
Posts: n/a
   
   
Re: Breaking out large table

KCFanatic wrote:
> I have a large table in Access (900K rows) that I would like to
> seperate into several tables or queries. Is there a way to write a
> query that selects rows 1-100,000?


Why. It would be difficult to suggest how without knowing why. If it
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14004
is just because you think it is too large, you may want to re-think. Are
you having problmes?


--
Joseph Meehan

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14004
Dia duit


Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:42 AM
KCFanatic's Avatar KCFanatic
Guest
 
Posts: n/a
   
   
Re: Breaking out large table

This isnt an Access performance issue. I want to break this out because I
need to import this table into another application that seems to have trouble
with large uploads. I tried to add a auto number field but I get an access
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14004
error that tells me I need to edit the registry and this is not something I
want to do. Im just wondering if I could create a query that says take
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14004
records 1-100K and so on

Thanks

"Jeff Boyce" wrote:

> Why? As in "why do you care how many rows the table has?" With proper
> indexing and data/table design, there should be few performance issues.
>
> If you open a new query, select the table, add the fields you are interested
> in, and add the field you are using to determine row number (NOTE: Access
> doesn't "number" rows ... you have to add a field that imposes some sort of
> sort order).
>
> Now change the properties of the query -- right click in the open gray space
> and select the TOP 100000 rows. Again, note that this will be based on
> whatever you've told Access to sort by. If you haven't, there's no
> guarantee you'll get the same 100000 rows the second time you run the query.
>
> Regards
>
> Jeff Boyce
> Microsoft Office/Access MVP
>
> "KCFanatic" wrote in message
> news:F966A926-DB47-461E-B9A6-02C654F066BD@microsoft.com...
> >I have a large table in Access (900K rows) that I would like to seperate
> >into
> > several tables or queries. Is there a way to write a query that selects
> > rows
> > 1-100,000?

>
>
>

Reply With Quote
  #5 (permalink)  
Old 28-Jul-2006, 08:42 AM
Joseph Meehan's Avatar Joseph Meehan
Guest
 
Posts: n/a
   
   
Re: Breaking out large table

KCFanatic wrote:
> This isnt an Access performance issue. I want to break this out
> because I need to import this table into another application that
> seems to have trouble with large uploads. I tried to add a auto
> number field but I get an access error that tells me I need to edit
> the registry and this is not something I want to do. Im just
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14004
> wondering if I could create a query that says take records 1-100K and
> so on
>
> Thanks
>
> "Jeff Boyce" wrote:
>


That's different. Do you have an existing filed that you could use?
Even an alpha filed could by used by selecting the first letter in a query.
eg. Like A* will return all those starting with A You could use several
letters as well eg Like X* or Like Y* or Like z* Don't forget to consider
nulls and blanks.

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14004


--
Joseph Meehan

Dia duit


Reply With Quote
  #6 (permalink)  
Old 28-Jul-2006, 08:42 AM
KCFanatic's Avatar KCFanatic
Guest
 
Posts: n/a
   
   
Re: Breaking out large table

I thought about that but their are just to many combinations. I was hoping
there was a way to select records 1-100K and so on to make sure I got all the
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14004
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14004
records.

"Joseph Meehan" wrote:

> KCFanatic wrote:
> > This isnt an Access performance issue. I want to break this out
> > because I need to import this table into another application that
> > seems to have trouble with large uploads. I tried to add a auto
> > number field but I get an access error that tells me I need to edit
> > the registry and this is not something I want to do. Im just
> > wondering if I could create a query that says take records 1-100K and
> > so on
> >
> > Thanks
> >
> > "Jeff Boyce" wrote:
> >

>
> That's different. Do you have an existing filed that you could use?
> Even an alpha filed could by used by selecting the first letter in a query.
> eg. Like A* will return all those starting with A You could use several
> letters as well eg Like X* or Like Y* or Like z* Don't forget to consider
> nulls and blanks.
>
>
>
> --
> Joseph Meehan
>
> Dia duit
>
>
>

Reply With Quote
  #7 (permalink)  
Old 28-Jul-2006, 08:42 AM
Joseph Meehan's Avatar Joseph Meehan
Guest
 
Posts: n/a
   
   
Re: Breaking out large table

KCFanatic wrote:
> I thought about that but their are just to many combinations. I was
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14004
> hoping there was a way to select records 1-100K and so on to make
> sure I got all the records.
>


I guess I am out of ideas. Would think that you could be nearly all the
records with 36 queries or 12 using two "or" statements for each one, then
you would only have the odd ball remaining which you should be able to find
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14004
by sorting all the records and looking for any records coming before any
alpha-numerics.

--
Joseph Meehan

Dia duit


Reply With Quote
  #8 (permalink)  
Old 28-Jul-2006, 08:42 AM
Jeff Boyce's Avatar Jeff Boyce
Guest
 
Posts: n/a
   
   
Re: Breaking out large table

  Donate Today!  
Please re-read my response. You can get the "TOP 100000" if you tell Access
how to sort/order the rows. If you don't tell Access, or there isn't a way
to sort the rows, you won't be able to use a query to do this.

If you want to use Autonumbers, you could:
1. create a new empty table with an autonumber primary key field and all
the other fields you need
2. create an append query from your current table to the new table - run
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14004
it.
3. use the new table and the Autonumber values to pick off the range of
records you wish to export.

Regards

Jeff Boyce
Microsoft Office/Access MVP

"KCFanatic" wrote in message
news:6155BA3D-13D8-4AB2-B8AC-F26037F35EB9@microsoft.com...
> This isnt an Access performance issue. I want to break this out because I
> need to import this table into another application that seems to have
> trouble
> with large uploads. I tried to add a auto number field but I get an
> access
> error that tells me I need to edit the registry and this is not something
> I
> want to do. Im just wondering if I could create a query that says take
> records 1-100K and so on
>
> Thanks
>
> "Jeff Boyce" wrote:
>
>> Why? As in "why do you care how many rows the table has?" With proper
>> indexing and data/table design, there should be few performance issues.
>>
>> If you open a new query, select the table, add the fields you are
>> interested
>> in, and add the field you are using to determine row number (NOTE: Access
>> doesn't "number" rows ... you have to add a field that imposes some sort
>> of
>> sort order).
>>
>> Now change the properties of the query -- right click in the open gray
>> space
>> and select the TOP 100000 rows. Again, note that this will be based on
>> whatever you've told Access to sort by. If you haven't, there's no
>> guarantee you'll get the same 100000 rows the second time you run the
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14004
>> query.
>>
>> Regards
>>
>> Jeff Boyce
>> Microsoft Office/Access MVP
>>
>> "KCFanatic" wrote in message
>> news:F966A926-DB47-461E-B9A6-02C654F066BD@microsoft.com...
>> >I have a large table in Access (900K rows) that I would like to seperate
>> >into
>> > several tables or queries. Is there a way to write a query that
>> > selects
>> > rows
>> > 1-100,000?

>>
>>
>>



Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Gurbani Jukebox
Listen to Gurbani while surfing SPN!
» Active Discussions
sikhism Who is "Mohan"?
Today 08:46 AM
22 Replies, 335 Views
sikhism How important is Matha...
Today 08:12 AM
59 Replies, 1,038 Views
sikhism need urgent advice.......
Today 06:46 AM
6 Replies, 81 Views
sikhism ਨਾਮਾ
Today 06:37 AM
2 Replies, 53 Views
sikhism Sikh Diamonds Video...
Today 04:23 AM
6 Replies, 116 Views
sikhism Are Creator and Creation...
Today 01:30 AM
44 Replies, 2,837 Views
sikhism Herman Hesse,...
Today 00:54 AM
13 Replies, 229 Views
sikhism On a Scale of Most...
Yesterday 21:42 PM
30 Replies, 1,277 Views
sikhism I became victim by...
Yesterday 19:50 PM
0 Replies, 44 Views
sikhism Sikh Books downloads
Yesterday 15:39 PM
2 Replies, 66 Views
sikhism Salok Sheikh Farid ji...
Yesterday 09:35 AM
0 Replies, 47 Views
sikhism In Punjab, three farmers...
Yesterday 05:36 AM
0 Replies, 49 Views
sikhism Supernatural Sikhs, what...
Yesterday 03:45 AM
19 Replies, 414 Views
sikhism Sukhmani Sahib Astpadi...
26-May-2012 22:57 PM
0 Replies, 51 Views
Do You Think You Are...
26-May-2012 09:59 AM
94 Replies, 8,258 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.2

All times are GMT +6.5. The time now is 09:52 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.39049 seconds with 30 queries