Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 8th, 2006, 03:13 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

What do you mean by a dynamic query? All queries that you pass values into are Dynamic by design since they can change as different users call the query.

In so far as 3NF that is not something you are going to read 1 article about and then be able to develop a database using that Normal Form. Normal Form takes time to understand (once you have worked with it for awhile its easy, but starting out it can be daunting)

And yes your query is extremely spaghetti-fied, i suggest taking a look at some of these links:

http://www.sommarskog.se/dyn-search.html
http://weblogs.sqlteam.com/jeffs/arc...1/02/2460.aspx
http://www.databasejournal.com/featu...le.php/3441981

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
 
Old December 8th, 2006, 03:36 PM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Third normal form: The table must be in 2nd Normal form, and all columns in the table must be fully dependent on the primary key, and nothing but the primary key.

When a relation table is not in 3rd normal form and you want to bring it into 3NF then you typically move the fields to another table or set of tables that have foreign keys to the table that contains the primary key of the data the field is actaully dependent on. Make sense?

Remember CJ Dates little memory tool for the first 3 normal forms:
Each column must be dependent on the key, the whole key, and nothing but the key, so help me Codd.

(If you don't know who Codd is, look up E.F Codd!)



Woody Z
http://www.learntoprogramnow.com
 
Old December 8th, 2006, 03:57 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Quote:
quote:Originally posted by woodyz
 Third normal form: The table must be in 2nd Normal form, and all columns in the table must be fully dependent on the primary key, and nothing but the primary key.
IMHO, you cant convey, adequately, what 3NF is without stating what 1NF and 2NF require since each normalization relies on the previous form.

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
 
Old December 8th, 2006, 04:07 PM
Friend of Wrox
 
Join Date: May 2005
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Default

...no, I do not know who Codd is! What do you mean; "look it E.F Codd"? But do you know what codd is in norwegian? You probably does...

Mvh
grstad
 
Old December 8th, 2006, 04:18 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Codd created the Relational model for database management.

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
 
Old December 8th, 2006, 05:10 PM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by dparsons
 
Quote:
quote:Originally posted by woodyz
Quote:
 Third normal form: The table must be in 2nd Normal form, and all columns in the table must be fully dependent on the primary key, and nothing but the primary key.
IMHO, you cant convey, adequately, what 3NF is without stating what 1NF and 2NF require since each normalization relies on the previous form.

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
That is true, but it is always in the rules.

Woody Z
http://www.learntoprogramnow.com
 
Old December 8th, 2006, 05:19 PM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by grstad
 ...no, I do not know who Codd is! What do you mean; "look it E.F Codd"? But do you know what codd is in norwegian? You probably does...

Mvh
grstad
I meant Look UP. Sorry for the typo. However, E.F. Codd was a researcher at IBM in the 70's and 80's. When I started programming, there were no commercially available relational databases - and when I read his papers it made a very powerful influence on the way I think about data. Anyway, have a look at this link just for fun if you have the time to give you an interesting start on learning about the history of RDBMS:
http://www.itworld.com/nl/db_mgr/05072001/
or
http://en.wikipedia.org/wiki/Edgar_F._Codd

I know what Norwegian Cod is, but not Norwegian Codd. Is there a difference? I hope it is not X rated.

Woody Z
http://www.learntoprogramnow.com
 
Old December 14th, 2006, 09:55 AM
Friend of Wrox
 
Join Date: May 2005
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Default

To whom it might concern...

http://www.interaktonline.com/Suppor...=24&id_asc=215

grstad
 
Old December 14th, 2006, 10:06 AM
Friend of Wrox
 
Join Date: May 2005
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hei Woodyz!

...sorry about my Codd-talk. It was a stale joke. I will not go any further with it...

Thank you for the url's...

Mvh
grstad





Similar Threads
Thread Thread Starter Forum Replies Last Post
ListBox - overflow possible? snufse ASP.NET 2.0 Basics 0 July 25th, 2008 09:50 AM
Overflow problems! Apocolypse2005 Beginning VB 6 2 September 4th, 2007 10:51 AM
regarding Overflow of variable hiruni Access VBA 4 February 27th, 2006 02:17 PM
Overflow Error mateenmohd Classic ASP Basics 4 July 5th, 2005 02:12 AM
Buffer Overflow rekha_jsr Oracle 3 February 3rd, 2005 08:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.