Viewing 8 posts - 31 through 38 (of 38 total)
I have attached a spreadsheet that comes out of the machine as a CSV file.
I need to upload this data and then display on the screen.
I have attached an Excel...
February 7, 2011 at 8:34 am
So this works great! But now I need to add the constraint, so I started with a simple table
insert into gearmachining
(sMeasurementType,
...
February 3, 2011 at 11:11 am
In the second table I don't want duplicates and that is what the trigger does, it looks to see if the data already exists and if it doesn't it adds...
February 3, 2011 at 6:03 am
Yes I did learn.
But I have another question now. The gearmachining table I am inserting into has an index on it to create a unique key with
UnitNumber, OperationType, Location, TimeSTamp....
January 26, 2011 at 12:25 pm
YOU ARE AWESOME! I have only used the Insert function simply that's why I thought you had to assign values.
I changed it so it inserts into my existing table and...
January 26, 2011 at 9:26 am
I am running 2005.
This worked great to pivot the data, I am losted how to do the insert.
This is what I have so far:
select
orig.idOP50AGD,
MeasurementType = 'REAL',
cast(orig.OrderNumber as varchar(9)) +...
January 26, 2011 at 8:01 am
Yes, yes! Good job, essentially pivot the table (guess I couldn't think of that wording).
January 21, 2011 at 10:52 am
What you put is what I started with but I need to put all the columns so it wouldn't be an OR.
This is where I am at:
--//////////////////////////////////////////////////////////
declare @UnitNumber varchar(40)
declare @UnitType...
January 21, 2011 at 10:35 am
Viewing 8 posts - 31 through 38 (of 38 total)