Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WebSphere + MS SQL 2005: Multi-part identifier could not be bound

Status
Not open for further replies.

madapter

Technical User
Nov 23, 2006
3
AT
Hello,

I am desperately trying to move data from the default Cloudspace Database to MS SQL Server 2005, of course following the official documentation. What happens is that WebSphere's Configuration Wizard fails because of an error caused by the SQL Script. Trouble is, I can't bring it to work not even in the SQL Server Management Studio.

This is the error as it appears in the ConfigTrace.log; BTW, I got the same error trying to execute the query in the Management Studio:


Error during statement execution!
com.microsoft.sqlserver.jdbc.SQLServerException: The multi-part identifier "community.APP_DESC.WEB_MOD_OID" could not be bound.


What follows is the code generated by the wizard. I figured out that the error is caused by the last "check"-constraint, but as it is a generated script, I cannot change it.


CREATE TABLE community.APP_DESC (
OID BINARY(18) NOT NULL,
TYPE INTEGER NOT NULL,
APP_NAME NVARCHAR(255) NOT NULL,
IS_ACTIVE INTEGER NOT NULL,
JSR_VERSION NVARCHAR(255),
GUID NVARCHAR(255),
WEB_MOD_OID BINARY(18),
WEB_MOD_SL BINARY(18),
WSRP_PROD_OID BINARY(18),
WSRP_PROD_SL BINARY(18),
DEFAULT_LOCALE NVARCHAR(64),
CREATED BIGINT NOT NULL,
MODIFIED BIGINT NOT NULL,
WSC_GROUP_ID NVARCHAR(255),
CONSTRAINT PK20 PRIMARY KEY NONCLUSTERED (OID),
CONSTRAINT FK20A FOREIGN KEY (WEB_MOD_OID) REFERENCES community.WEB_MOD (OID) ON DELETE CASCADE,
constraint FK20B FOREIGN KEY (WSRP_PROD_OID) REFERENCES community.WSRP_PROD (OID) ON DELETE CASCADE,
CONSTRAINT CC20A CHECK (((community.APP_DESC.WEB_MOD_OID IS NULL) AND (community.APP_DESC.WEB_MOD_SL IS NOT NULL)) OR ((community.APP_DESC.WEB_MOD_OID IS NOT NULL) AND (community.APP_DESC.WEB_MOD_SL IS NULL)))
)



Thanks in advance,
madapter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top