Viewing 9 posts - 1 through 9 (of 9 total)
Am i losing it?? I thought two column names were not possible in a table.
Am i right?
July 21, 2006 at 10:22 am
Gift,
Ok i will look into it, but you cant have two columns with the same name in the same table?
Sorry if i am being silly.
July 21, 2006 at 9:53 am
Gift,
CompanyID is in tblProcedure, CompanyID1 and CompanyID2.
July 21, 2006 at 9:41 am
John,
You have hit it on the button, that is exactly what i am trying to do.
But why cant i choose the "SET TO NULL" option, instead of "CASCADE DELETE"? Surely...
July 21, 2006 at 9:01 am
here is the code to create the objects
SET
ANSI_NULLS ON
GO
SET
QUOTED_IDENTIFIER ON
July 21, 2006 at 8:09 am
i am using sql 2005.
It is because the CompanyID appears twice in tblProcedure?? It that why it wont let me do it?
July 21, 2006 at 6:36 am
I havent got the sql, as i am using Diagrams to create the relationships.
CompanyID is an identity field and primary key.
CompanyID1 maybe filled in, as may CompanyID2, but the fields...
July 21, 2006 at 5:55 am
Thanks for your help, but i have found out how to fix it now.
If anyone else has the problem, then include the following line of code after the AS keyword...
October 5, 2005 at 8:57 am
No probs, here is the error.
Com Error No. = -2146824584
Description = Operation is not allowed when the object is closed.
This refers to the line where i do "If Not (RS.EOF And RS.BOF)...
October 5, 2005 at 5:54 am
Viewing 9 posts - 1 through 9 (of 9 total)