M
Matthew
I have build a shopping cart system with MSSQL and it runs fine. However,
my client changed the project reqirements (how often have you heard that?)
They make wood parts, and want to sell them whole (as they are in the DB
now) and split in half.
My development site uses an Access .mdb file. The following worked OK:
SELECT ID + '.5' AS id
FROM tablename
However, when I tried it in MSSQL I get this error:
Syntax error converting the varchar value '.5' to a column of data type int.
I know it might be considered bad database design. However, I was trying to
save some work. My fear is I might have to redesign the order system to
reference by part number instead of the part's ID.
So, what do you folks think?
Matthew
my client changed the project reqirements (how often have you heard that?)
They make wood parts, and want to sell them whole (as they are in the DB
now) and split in half.
My development site uses an Access .mdb file. The following worked OK:
SELECT ID + '.5' AS id
FROM tablename
However, when I tried it in MSSQL I get this error:
Syntax error converting the varchar value '.5' to a column of data type int.
I know it might be considered bad database design. However, I was trying to
save some work. My fear is I might have to redesign the order system to
reference by part number instead of the part's ID.
So, what do you folks think?
Matthew