on 06-23-2008 9:00 PM
When I create alphanumeric fileds in the manager user field function, all are being created in SQL as nvarchar(max). Then off course that causes problems with other tools such as Crystal.
I have a customer running MS SQL 2005 and Patch 45, this doesn't happen. I have another customer running the same (MS SQL 2005 and PL45) and they get nvarchar(max) on all alpha field adds. They both have their collate sequence set correctly, what other setting what cause this not to happen?
Thank you for any insight
Dear
1. While entering into B1 MSSQL is chosen : In this case the UDF created
will have a Data type of "nvarchar(20)".
2. While entering into B1 MSSQL2005 is chosen : In this case the UDF
created will have a Data type of "nvarchar(max)".
Hope it answers your question.
Best Regards,
Xiaodan AN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I change the nvarchar(max) to the char(xx) as needed right in SQL. I've found so many issues with using crystal, sql queries, .net programming and other things that I simply don't leave nvarchar(max) fields out there. It just causes too much grief, trouble shooting and lost time.
I also have a routine that looks for user UDF's that are nvarchar(max) and sets them to what the Tools, Manager User Fields has them set at. It displays them first and then let's me change them, so I don't change any add-on's (ie. valogix) nvarchar(max) fields.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.