473,398 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

A few questions about creating using asp

First, how can I get asp to create a table in en existing DB that is an
atuonumber. Meaning.. If say table 56 exists alrady, I want it to create 58
as the name. Along with this, I need to copy the fields from table temp,
into the above DB. Can this be done?

Thanks
Jeff
Jul 19 '05 #1
7 1233
Yes, But why?

--
dlbjr
Pleading sagacious indoctrination!
Jul 19 '05 #2
I am writing a tournement script, for bracket style tourney's. There will be
different hosts that will create and admin their own tourneys. SO each
tourney, I want to create it's own table, and the number I am refering to,
will be that tourney id. all hyperlinks in the folder that gets created,
will pass a variable of the toutney id. This way, there can be more than 1
tourney running at the same time.
does this make sense??
I have the tourney scripts written, and i run my own tourneys. The next
phase is to make it where others can run tourneys.
Jeff
"dlbjr" <oo**@iforgot.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Yes, But why?

--
dlbjr
Pleading sagacious indoctrination!

Jul 19 '05 #3
It would be far more efficient with a tournament table assigning ID's to each tournament.
Can I see the table and field layout?

dlbjr
Pleading sagacious indoctrination!
Jul 19 '05 #4
On Sat, 24 Jul 2004 14:46:56 -0400, "Jeff"
<gi****************@verizon.net> wrote:
First, how can I get asp to create a table in en existing DB that is an
atuonumber. Meaning.. If say table 56 exists alrady, I want it to create 58
as the name. Along with this, I need to copy the fields from table temp,
into the above DB. Can this be done?


Man, you're *still* going at this database format?

If you insist, why not keep a table that is the next number to be
used? Each time you create a table, run a query to increment the
number.

Jeff
Jul 19 '05 #5
Yes Jeff... that is want I am trying to do. I want to create the next table
in succesion. The same for the folder, so the folder and table number would
be the same. I have made some changes in the DB, but am doing it this way,
because there could be up to 30 or 40 tourneys running at the same time.
That is why I want each to have their own table in the DB.
Jeff
"Jeff Cochran" <je*********@zina.com> wrote in message
news:41****************@msnews.microsoft.com...
On Sat, 24 Jul 2004 14:46:56 -0400, "Jeff"
<gi****************@verizon.net> wrote:
First, how can I get asp to create a table in en existing DB that is an
atuonumber. Meaning.. If say table 56 exists alrady, I want it to create 58as the name. Along with this, I need to copy the fields from table temp,
into the above DB. Can this be done?


Man, you're *still* going at this database format?

If you insist, why not keep a table that is the next number to be
used? Each time you create a table, run a query to increment the
number.

Jeff

Jul 19 '05 #6
On Sun, 25 Jul 2004 08:35:26 -0400, "Jeff"
<gi****************@verizon.net> wrote:
Yes Jeff... that is want I am trying to do. I want to create the next table
in succesion. The same for the folder, so the folder and table number would
be the same. I have made some changes in the DB, but am doing it this way,
because there could be up to 30 or 40 tourneys running at the same time.
That is why I want each to have their own table in the DB.
The most controllable way is to keep track of the number you're using.
Creat a table with a single column and a single row. Call it
tblNextTorneyNumber or the like. Increment it each time you create a
tournament table/folder/whatever.

Jeff
Jeff
"Jeff Cochran" <je*********@zina.com> wrote in message
news:41****************@msnews.microsoft.com...
On Sat, 24 Jul 2004 14:46:56 -0400, "Jeff"
<gi****************@verizon.net> wrote:
>First, how can I get asp to create a table in en existing DB that is an
>atuonumber. Meaning.. If say table 56 exists alrady, I want it to create58 >as the name. Along with this, I need to copy the fields from table temp,
>into the above DB. Can this be done?


Man, you're *still* going at this database format?

If you insist, why not keep a table that is the next number to be
used? Each time you create a table, run a query to increment the
number.

Jeff


Jul 19 '05 #7
> The most controllable way is to keep track of the number you're using.
Creat a table with a single column and a single row. Call it
tblNextTorneyNumber or the like. Increment it each time you create a
tournament table/folder/whatever.

Jeff

ok. i sortof have something like that. I have a table that all the tourney
info goes into, and it had an auto ID. it holds the info like, time date
course... that stuff.
So my question is this then, since I already have the tourney ID there, how
do I pull that number with asp, and make the folder.
I have decided to do what you all said before, and keep all the tourneys in
one table, so when someone signes up, the tourney ID they signed up for goes
into a field. by doing it wrong before, i realized you all were right.

the DB has 2 tables. one is called admin(the tourney info itself) and the
other is called rounds(contestants info and their bracket info)

the reason i want the new folder to be created, is so folks can see where
they are, and sign up for the correct tourney. this is hard to explain, i
hope i am making myself clear, and haven't confused you more.
Jeff
..



Jeff
"Jeff Cochran" <je*********@zina.com> wrote in message
news:41****************@msnews.microsoft.com...
On Sat, 24 Jul 2004 14:46:56 -0400, "Jeff"
<gi****************@verizon.net> wrote:

>First, how can I get asp to create a table in en existing DB that is an >atuonumber. Meaning.. If say table 56 exists alrady, I want it to create
58
>as the name. Along with this, I need to copy the fields from table

temp, >into the above DB. Can this be done?

Man, you're *still* going at this database format?

If you insist, why not keep a table that is the next number to be
used? Each time you create a table, run a query to increment the
number.

Jeff

Jul 19 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: jordi | last post by:
Hi, I'm starting to use Python embedded in a C program. I'm using Python to execute several scripts using as a variables information retrieved for several multithread "agents" written in C. ...
7
by: Steven O. | last post by:
I am basically a hobbyist programmer, at the moment doing a little work experimenting with some AI stuff. I learned C++, and then tried to teach myself MFC using MS Visual C++ 6.0. I swore off of...
0
by: Rob Cheshire | last post by:
Hi to all, I need some help deciding on the best database system for our specific application. OPTIONAL INFO: We currently have 2 separate projects that need to be updated from dos-based dBase. ...
1
by: Mike | last post by:
1. I am creating a project that will have many c# files (100+). I want to split this project up into modules but I am not sure what the best way would be. I was thinking of creating a blank...
4
by: Ramesh | last post by:
hi, Let me ask some basic questions. Can anybody explain me about the following questions: 1. When we have to create sn key? Whenever we compiled Component we have to create or it is a one time...
2
by: Matthew Hood | last post by:
My company has expressed a desire to convert an existing MS Access application to a full VB.NET application. My experience is with VB6 so I want to ask a few questions and get some input on the...
6
by: Együd Csaba | last post by:
Hi All, I'd like to dump out my database using plain text format. Everything is ok, but the bytea filds. Restoring the dump file (using <<psql -f LO_TRY_INSERT_BYTEA.sql tmp7>>) it sends an...
6
by: Tex | last post by:
I am writting a survey system web application. I am using ASP.Net 2, C# and MS SQL 2005. I am able to store surveys and questions associated to the surveys just fine. The problem I am having is...
1
by: kixter1108 | last post by:
Hi guys! I'm seeking help in creating a quiz that would allow the user to change the questions/answers as an option on the interface itself. Is it possible? What database interconnection would be...
13
by: =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= | last post by:
I am not accustomed to creating xml files programmatically. The big picture is this: This will be in VB/VS 2005/ winforms. I have a DTD, a sample XML, and an outside data source I will use to...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.