Gothic.net News Horror Gothic Lifestyle Fiction Movies Books and Literature Dark TV VIP Horror Professionals Professional Writing Tips Links Gothic Forum




Go Back   Gothic.net Community > Boards > Whining
Register Blogs FAQ Community Calendar Today's Posts Search

Whining This forum is for general whining. Please post all suicide threats, complaints about significant others, and statements about how unfair school is to this board.

Reply
 
Thread Tools Search this Thread
Old 01-25-2010, 02:28 AM   #26
Anarasha
 
Anarasha's Avatar
 
Join Date: Sep 2007
Location: Thou Viking capital Denmark.
Posts: 1,971
No, that's not what I meant o.o She's born and raised in Denmark, and she speaks the language just fine. What I meant was that the material we use in our classes has been translated to danish, and so the SQL terms are translated poorly as well.
Anarasha is offline   Reply With Quote
Old 01-25-2010, 03:32 AM   #27
Lochnar
 
Lochnar's Avatar
 
Join Date: Dec 2009
Location: Seattle
Posts: 190
Oh, ok. It still sucks but it's better then a teacher that doesn't speak the language.
Lochnar is offline   Reply With Quote
Old 01-25-2010, 10:06 AM   #28
Catch
 
Catch's Avatar
 
Join Date: Jan 2006
Location: Bliss
Posts: 4,374
Primary key should be unique. Most companies supply a unique code like EmployID.

Two tables:

Personal Info
EmployID - FirstName - LastName - PhoneNumber - Address

Employee Info
EmployID - JobTitle - Tenor - Wage

EmployID is a unique number, so when looking for information a person can run their name bring up a list, then pick the proper person based on what they know about them and access other tables related to the primary key (employee profile). You can also find out everything in the database about them by asking the employee id or swipe the id in a reader.

In addition, a person can search by job title and bring up everyone with that position to run stats for management tools. It is modular, divided between multiple tables so if a person wants to add SurName or delete address on Personal Info it is easy. Not as many delays having to completely restructure one giant table.
__________________
I Like Cheese!
Catch is offline   Reply With Quote
Old 01-25-2010, 03:54 PM   #29
Lochnar
 
Lochnar's Avatar
 
Join Date: Dec 2009
Location: Seattle
Posts: 190
Insulate you PK by using values that have no meaning outside the context of the table.

Employee table
EmpID (PK), EmpNum (the company's employee number), LastName, FristName, etc...

Why? That employee number the company uses can change, it's happened to me. By adding an auto incremented number (EmpID) you insulate your data from the PK. Only supply secondary indexes (or indices if you like) to fields you know for fact will be used in searches. Reason being that managing each secondary index will take resources (on every insert and some updates) and you can always add another if the need to search by another field pops up.
Lochnar is offline   Reply With Quote
Old 01-26-2010, 12:04 AM   #30
Anarasha
 
Anarasha's Avatar
 
Join Date: Sep 2007
Location: Thou Viking capital Denmark.
Posts: 1,971
You guys give me a headache...
Anarasha is offline   Reply With Quote
Old 01-26-2010, 12:36 AM   #31
Catch
 
Catch's Avatar
 
Join Date: Jan 2006
Location: Bliss
Posts: 4,374
You'll be okay Anarasha. Sometimes it makes more sense by practicing it on a computer. Those theories are often more confusing than helpful if you've never built a database.
__________________
I Like Cheese!
Catch is offline   Reply With Quote
Old 01-26-2010, 12:50 AM   #32
Anarasha
 
Anarasha's Avatar
 
Join Date: Sep 2007
Location: Thou Viking capital Denmark.
Posts: 1,971
Yeah, I just can't wait for the six weeks to be up so I can fail my exam and move on.
(Yup, they want us to learn the basics in six weeks.)
Anarasha is offline   Reply With Quote
Old 01-27-2010, 04:49 AM   #33
Lochnar
 
Lochnar's Avatar
 
Join Date: Dec 2009
Location: Seattle
Posts: 190
six weeks is enough for an introduction, at least it's not 16 weeks =)
Lochnar is offline   Reply With Quote
Old 01-29-2010, 05:07 PM   #34
Anarasha
 
Anarasha's Avatar
 
Join Date: Sep 2007
Location: Thou Viking capital Denmark.
Posts: 1,971
Don't you fucking scare me by saying stuff like that!!!


(appearently, the Gnet mods added a filter against all caps messages. I suppose that's a good thing in most cases.)
Anarasha is offline   Reply With Quote
Old 01-30-2010, 01:04 AM   #35
Lochnar
 
Lochnar's Avatar
 
Join Date: Dec 2009
Location: Seattle
Posts: 190
Didn't I say I was a sadist?
Lochnar is offline   Reply With Quote
Old 02-01-2010, 03:58 AM   #36
Anarasha
 
Anarasha's Avatar
 
Join Date: Sep 2007
Location: Thou Viking capital Denmark.
Posts: 1,971
We are now doing Java in BlueJ......... >_< Not a nice way to start your birthday.
Anarasha is offline   Reply With Quote
Old 02-01-2010, 04:26 PM   #37
Catch
 
Catch's Avatar
 
Join Date: Jan 2006
Location: Bliss
Posts: 4,374
Happy Birthday!!!
__________________
I Like Cheese!
Catch is offline   Reply With Quote
Old 02-03-2010, 05:16 AM   #38
Anarasha
 
Anarasha's Avatar
 
Join Date: Sep 2007
Location: Thou Viking capital Denmark.
Posts: 1,971
Thanks :D
(Okay, now they fixed the red X that used to be smileys, now they just disappear unless you remember to turn them off in the advanced view.)
Anarasha is offline   Reply With Quote
Old 02-03-2010, 06:47 PM   #39
Catch
 
Catch's Avatar
 
Join Date: Jan 2006
Location: Bliss
Posts: 4,374
Oh, I had been thinking about posting a college survival guide on my blog for awhile. Your immediate need moved it up in priority.

http://quidprogrow.blogspot.com/2010...hort-term.html

This one, I believe is especially according to your needs.
__________________
I Like Cheese!
Catch is offline   Reply With Quote
Reply

Bookmarks


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 Off
HTML code is Off



All times are GMT -7. The time now is 07:47 PM.