RandomlyKnighted's Profile
Reputation: 113
Stalwart
- Group:
- Authors
- Active Posts:
- 1,317 (1.08 per day)
- Joined:
- 14-January 10
- Profile Views:
- 41,756
- Last Active:
Yesterday, 08:06 PM- Currently:
- Offline
Previous Fields
- Country:
- US
- OS Preference:
- Windows
- Favorite Browser:
- FireFox
- Favorite Processor:
- Intel
- Favorite Gaming Platform:
- XBox
- Your Car:
- Ford
- Dream Kudos:
- 300
Latest Visitors
-
darek9576 
15 May 2013 - 16:59 -
modi123_1 
08 May 2013 - 21:26 -
laytonsdad 
10 Mar 2013 - 23:47 -
blutrane 
03 Mar 2013 - 20:12 -
Martyr2 
15 Oct 2012 - 15:14
Posts I've Made
-
In Topic: Issues with table design
Posted 15 May 2013
Awesome! Thanks for your help! -
In Topic: Issues with table design
Posted 15 May 2013
Does this look correct?
-
In Topic: Issues with table design
Posted 14 May 2013
Ah that makes sense. I can't believe I didn't think about that. I believe I got everything set up except for the junction table. Would someone please look over this to make sure I'm creating the junction table correctly?
CREATE TABLE Document_Users ( documentID int NOT NULL REFERENCES Document(documentID), userID int NOT NULL REFERENCES Users(id), isOwner int NOT NULL, PRIMARY KEY(documentID, userID) )
-
In Topic: Issues with table design
Posted 13 May 2013
When I go to create the user table using the query below I seem to get an issue with the table name.
CREATE TABLE User ( id INT PRIMARY KEY NOT NULL, fName varchar(25) NOT NULL, lName varchar(25) NOT NULL, email varchar(40) NOT NULL, gender varchar(1), password varchar(12) NOT NULL, )
The error I get isIncorrect syntax near the keyword 'User'.
Does SQL Server just not like for you to use User has a table name or am I missing something else? -
In Topic: Issues with table design
Posted 10 May 2013
Alright, I just have 2 questions. With the removal of the Parent Company table, you made the Company table have a parentID and you made it have a foreign key to the companyID in the same table. Did I read that right?
Second, I tried searching for Microsoft parameter notation, but kept coming up with something else other than what you did. Could you provide me with either an explanation of it or a link to the documentation for it so I can read up on it?
My Information
- Member Title:
- Microsoft Senior Student Partner
- Age:
- 21 years old
- Birthday:
- June 11, 1991
- Gender:
-
- Location:
- Albertville, AL
- Years Programming:
- 4
- Programming Languages:
- ASP.NET, C#, Java, SQL
Contact Information
- E-mail:
- Click here to e-mail me
- Website URL:
-
http://randomlyknighted.com
- LinkedIn:
- http://www.linkedin.com/in/thughes01
- Twitter:
- tyler_b_hughes
|
|


Find Topics
Find Posts
View Reputation Given







|
Comments
ishkabible
26 Jun 2011 - 18:13chinalwb
07 Jun 2011 - 21:33v0rtex
18 May 2011 - 04:24no2pencil
11 Apr 2011 - 19:57modi123_1
14 Feb 2011 - 13:33Dogstopper
05 Nov 2010 - 03:58Alex6788
25 Oct 2010 - 10:03Alex6788
22 Oct 2010 - 15:45