Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
7 subscribers
Views
1840 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
This regarding XSD wrinting which creates a CDT and inturn creates a table in db
saratrk
over 11 years ago
This regarding XSD wrinting which creates a CDT and inturn creates a table in db
With annotation
columnDefinition="NVARCHAR(100) NOT NULL"
its creating a script [ABN] NVARCHAR(100) NOT NULL null
as not null repeating its giving an error
An error occurred while trying to modify the data source schema: Multiple NULL constraints were specified for column 'ClientName', table 'client'. (APNX-1-4178-000)
So if I remove NOT NULL in NVARCHAR(100) NOT NULL its working with out error but with NULL constraint in db definition. (I want the field to be NOT NULL in the DB.)
Please let me know how can i solve this....
OriginalPostID-77405
OriginalPostID-77405
Discussion posts and replies are publicly visible
Parents
0
Jorge Sanchez
Appian Employee
over 11 years ago
if using the columnDefinition annotation, you must include the default value
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Jorge Sanchez
Appian Employee
over 11 years ago
if using the columnDefinition annotation, you must include the default value
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data