Viewing 15 posts - 541 through 555 (of 2,647 total)
ScottPletcher (7/9/2012)
SQLKnowItAll (7/9/2012)
ScottPletcher (7/9/2012)
I know why the date was left out of the Sales table -- it can be derived.
What am I missing... How can it be...
July 9, 2012 at 2:21 pm
ScottPletcher (7/9/2012)
I know why the date was left out of the Sales table -- it can be derived.
What am I missing... How can it be derived?
July 9, 2012 at 2:12 pm
Gullimeel (7/9/2012)
I completely disagree. If I know I want rows where the createdDate was between '2012-05-01 13:32:00.000' AND '2012-05-01 13:35:00.000' why on earth would I want to convert those to...
July 9, 2012 at 2:01 pm
Gullimeel (7/9/2012)
Gullimeel (7/9/2012)
--------------------------------------------------------------------------------
I would suggest a derived column like diff in minutes since say Jan 01.01.1900 and put that columns in both the tables.Then use that column. for join...
July 9, 2012 at 1:46 pm
To the OP, what difference does it make if the ids in the accountsales table don't match up with dates in the accounts table? They will never match up, presumably....
July 9, 2012 at 1:37 pm
Gullimeel (7/9/2012)
July 9, 2012 at 1:33 pm
Glad to help! Below is the link I use for reference:
July 9, 2012 at 1:21 pm
Add a created date column to the accountsales table.
July 9, 2012 at 1:20 pm
Gullimeel (7/9/2012)
e.g. use...
July 9, 2012 at 1:14 pm
Try changing the "\r" to "" or "\r\ n" (without the space before the n... I had to do that to get this to post properly)
July 9, 2012 at 1:00 pm
Well, your format file is wrong for starters... So change the columns to 3 instead of 2. Also, assuming this is 2008 since you are in a 2008 forum,...
July 9, 2012 at 12:51 pm
Agreed all around. So, when we needed to look up a balance on a current customer we could do that calculation on a small number of records from just...
July 9, 2012 at 12:37 pm
Lynn Pettis (7/9/2012)
SQLKnowItAll (7/9/2012)
July 9, 2012 at 12:32 pm
Well, personally, I like my createdBy, createdDAte, modifiedBy, modifiedDate at the end of the table. Of course, it really doesn't matter... but it makes it seem more logically organized....
July 9, 2012 at 12:16 pm
I am actually against Lowell's thoughts in many cases. Specifically, generating balances for a customer on a monthly or weekly basis. We then store those balances along with...
July 9, 2012 at 12:06 pm
Viewing 15 posts - 541 through 555 (of 2,647 total)