Viewing 15 posts - 541 through 555 (of 636 total)
It looks like a single employee can have multiple records.
1 virginia usa
1 texas usa
1 new york usa
Can an employee have more than one record in the same state?
If you can...
April 19, 2011 at 2:06 pm
Can you join and compare?
SELECT
emp#
FROM Production P
INNER JOIN Staging S
ON P.emp# = S.emp#
WHERE P.Address <> S.Address OR P.country<> S.country
Once you have the identified the changed employess you...
April 19, 2011 at 10:58 am
Thanks Dan. The relevant piece of information provided here is that I will not be able create a SSIS package in VS 2008 and then publish this to my my...
April 14, 2011 at 4:03 pm
You would use an update statement to set the fields to NULL
UPDATE YourTABLE
SET YourField = NULL
WHERE YourField = 'unassigned'
Don't forget your WHERE statement!
Then you can use COALESCE to return 'unassigned'...
April 14, 2011 at 2:52 pm
My preferred method for this is to allow the users to insert a request record in a table.
Then I run a job continuously, say every five minutes. The job looks...
April 12, 2011 at 12:21 pm
This is powerful stuff. I still haven't fully committed to going down this rabbit hole.
I like the idea about splitting the numeric and character values.
The attribute 2 or subdatatype as...
April 11, 2011 at 2:21 pm
Actually the SessionID would probably just be useful for tracking the insertion time of the data so I might have driven off the track a bit there.
My model is largely...
April 7, 2011 at 1:37 pm
http://www.sqlservercentral.com/articles/Database+Design/62386/
Here the article I have been looking for.
April 7, 2011 at 12:10 pm
>>If you can avoid this I would. There are times things like this are necessary, but you would
typically prefer to avoid them.
How would I avoid them? Could I have...
April 7, 2011 at 11:29 am
Yes I did mix up my descriptions as you noticed. Your terms make a lot more sense.
You concerns are definitely valid. How much data? A thousand rows of current...
April 7, 2011 at 8:56 am
You could try to import each file into a one column staging table. Then write a select against the table to exclude rows, you will probably need to use LIKE....
April 1, 2011 at 12:18 pm
Are you replacing a process that is based on paper forms? If so, collect examples of all the existing forms.
March 31, 2011 at 11:24 am
Your expected results and ColdCoffee's are very similar.
Your results:
Day 1st shift 2nd Shift 3rd Shift
3/1 3 1 1
3/2 2 1 0
3/3 0 0 0
Cold Coffee's:
DayNumberFirstShiftEventCountMiddleShiftEventCountLateShiftEventCount
Day 1360
Day 2360
Day 3361
Why don't you...
March 30, 2011 at 4:00 pm
Actually the late, middle and early sample data was not from the original poster. I was just trying to use my intuitive powers to provide some code that might be...
March 29, 2011 at 5:00 pm
All depends on the consistency of your data.
I would import into a one coumn statging table.
Then update the data. This is really ugly, but it works.
CREATE TABLE TEST
(
String ...
March 29, 2011 at 4:34 pm
Viewing 15 posts - 541 through 555 (of 636 total)