Re: Reference temporary table twice
- From: --CELKO-- <jcelko212@xxxxxxxxxxxxx>
- Date: Fri, 13 Nov 2009 21:57:43 -0800 (PST)
Quick stupid answer: Your two outcomes are not structured the same.
Tables have fixed known structures by DEFINITION. You never read a
book on RDBMS, have you?
Have you heard the phrase "Automobiles, Squids and Britney Spears"
used to refer to non-relational design problems in DDL and DML? It
means you have a stew of unrelated things in one table or query. What
you have done is map:
Automobiles = Personnel. RDBMS would not use Employees because tables
are sets and not lists. This alone tells me your schema is a mess.
Squids = Suppliers.
Did you ever learn about coupling and cohesion? That is basic
software engineering and far, far more fundamental than declarative vs
procedural code. Stop programming until you do.
What you are doing is writing a 1950's magnetic tape file that
PHYSICALLY moves data from PHYSICAL location to PHYSICAL location.
But you are not even a good file system programmer.
You will get Kludges here for putting the totally un-related data
elements "emp_last_name" and "company_name" into one column because
they are both VARCHAR(n) ? Hey, add street names!!
Do you want to be a professional or not?
.
- References:
- Reference temporary table twice
- From: richard
- Reference temporary table twice
- Prev by Date: Re: Reference temporary table twice
- Next by Date: Re: looping
- Previous by thread: Re: Reference temporary table twice
- Next by thread: Re: Reference temporary table twice
- Index(es):
Relevant Pages
|