We created two fields in 37 Sales Line Table.
And then we deleted them because we are not using those two fields. But these two fields are updated in SQL Server. That's why we faced "Null value in SQL not allowed for those two fields".
Thus we added those two fields in 37 table again,,Now it is showing
"The following SQL error was unexpected. Column names in each table must be unique. Column name in table is specified more than once."
Table is not compiling and ales Orders stopped. Can anyone suggest what to do...
*This post is locked for comments
Where do you executing this code in? I would like to delete a field as well.
Issue Solved!!
We deleted the columns in SQL by executing a code
USE <DATABASE NAME>
GO
ALTER [<TABLE NAME>]
DROP COLUMN [NAME];
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156