A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Add the column using DDL



 
 
Thread Tools Display Modes
  #1  
Old October 21st, 2008, 04:10 PM posted to microsoft.public.access.tablesdbdesign
dz2k7
external usenet poster
 
Posts: 3
Default Add the column using DDL

Hi,

I'm trying to automate some procedure with time series tables.
I add a column using DDL. It always adds it as the last one to the right side
of the table.
I need it to be added as the 3rd column of the table.

Is there any way of entering a new column in particular positioin or moving
the column using DDL or DML?

Thanks.

  #2  
Old October 21st, 2008, 04:53 PM posted to microsoft.public.access.tablesdbdesign
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Add the column using DDL

You should not be working with columns in a table but using a query, form, or
report.
--
KARL DEWEY
Build a little - Test a little


"dz2k7" wrote:

Hi,

I'm trying to automate some procedure with time series tables.
I add a column using DDL. It always adds it as the last one to the right side
of the table.
I need it to be added as the 3rd column of the table.

Is there any way of entering a new column in particular positioin or moving
the column using DDL or DML?

Thanks.


  #3  
Old October 21st, 2008, 05:46 PM posted to microsoft.public.access.tablesdbdesign
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Add the column using DDL

On Tue, 21 Oct 2008 15:10:27 GMT, "dz2k7" u47070@uwe wrote:

Hi,

I'm trying to automate some procedure with time series tables.
I add a column using DDL. It always adds it as the last one to the right side
of the table.
I need it to be added as the 3rd column of the table.

Is there any way of entering a new column in particular positioin or moving
the column using DDL or DML?

Thanks.


WHOA.

Routinely changing the design of a table suggests incorrect design.
Secondly, the order of fields in a table is irrelevant and meaningless. If you
want to see the fields in a particular order, you can create a Query based on
the table with the fields in any order you like.

Are you perchance storing a time series as multiple fields in one record? If
so, you're "committing spreadsheet"; tables should grow vertically, not
across! Perhaps you could describe what you're trying to accomplish.
--

John W. Vinson [MVP]
  #4  
Old October 21st, 2008, 06:15 PM posted to microsoft.public.access.tablesdbdesign
dz2k7
external usenet poster
 
Posts: 3
Default Add the column using DDL

Perhaps you could describe what you're trying to accomplish.

No. I just need an answer, if anybody did what I do.
I understand that you want to help, and appreciate that, but not going to
dicuss the disign.
I already did that job using traditional disign.
The only problem is it works too long time because of huge volume of data.
I'm trying something else.
Thanks.

  #5  
Old October 21st, 2008, 07:01 PM posted to microsoft.public.access.tablesdbdesign
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Add the column using DDL

On Tue, 21 Oct 2008 17:15:33 GMT, "dz2k7" u47070@uwe wrote:

No. I just need an answer, if anybody did what I do.


Other than creating a new table with the fields in your desired order and
running an Append query to populate it, I know of no way to do what you ask.
--

John W. Vinson [MVP]
  #6  
Old October 21st, 2008, 07:13 PM posted to microsoft.public.access.tablesdbdesign
dz2k7
external usenet poster
 
Posts: 3
Default Add the column using DDL

John W. Vinson wrote:
No. I just need an answer, if anybody did what I do.


Other than creating a new table with the fields in your desired order and
running an Append query to populate it, I know of no way to do what you ask.



I know that too.
Then I have to use two databases. I need another DB for the new table because
of the volume of data - I hit 2 GB limit.
I do not want to do that.
The procedure should be automated and i don't want use vbs for this excercise.

I have a feeling that there is an exit in the end of the tonnel.

 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:09 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.