Viewing 15 posts - 1 through 15 (of 25 total)
drsql (5/9/2011)
create table WebAccount
(
WebAccountId int primary key, --or whatever key
...
)
create table Retailer
(
...
May 10, 2011 at 10:58 am
Steve Jones - SSC Editor (5/2/2011)
May 5, 2011 at 7:47 am
Really, an organization wouldn't be an "owner" of a certification. That is specifically tied to the user. And the user enters the things like certifications and training records. There isn't...
May 2, 2011 at 2:48 pm
A certification is just a record entered by a user. It could be that they are certified to work on a piece of equipment, or that they passed a test...
May 2, 2011 at 12:42 pm
Really, the "records" are separate from the organizations. A user can have certifications and information about training they have received, and they don't have to be associated with an organization,...
May 2, 2011 at 8:20 am
In the first (current) example, the user_to_organization table is just a link from the users to the organizations we have listed. The user_custom_organization is just the custom organizations that the...
April 30, 2011 at 12:10 pm
The organizations that a user can have in their profile could be anything from a major company to a company they ran out of their garage. It isn't huge deal...
April 30, 2011 at 10:51 am
Tom.Thomson (4/12/2011)
Picking a value of -1 will work if you can guarantee that (a) -1 will never be a real key and (b) your keys are integers.
All of our primary...
April 12, 2011 at 1:33 pm
That makes sense. Right now for the thing that I need to do, I think I'll just use either a view or triggers into new tables to get the data...
October 29, 2009 at 11:19 am
Oh, ok. Yeah, I'm not worried about actually moving the data so much as just having the data stored both ways in parallel for say a week or two while...
October 28, 2009 at 1:51 pm
I'm not wanting to actually migrate from one database to another. Although this time, I kind of am...:-P
I didn't want to post exactly what I was trying to migrate at...
October 28, 2009 at 1:07 pm
Yeah. For example, the developer before me had a table to store multiple ratings for each record in a long string like "|1234:5|1235:6|1236:3|" where the number before each ":" was...
October 28, 2009 at 12:46 pm
ALZDBA (10/21/2009)
Point is to avoid the NULL.
Having the actual datetime data...
October 28, 2009 at 10:21 am
Garadin (8/14/2009)
August 18, 2009 at 1:26 pm
mark.dalley (5/20/2009)
With a few obvious substitutions, this converts naturally to the...
July 27, 2009 at 10:23 am
Viewing 15 posts - 1 through 15 (of 25 total)