|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Report populating incorrectly
I have a customer who is running a script that generates a custom report. IT is not populating as it should and is returning zeros for everything.
I have tested the the script in the office and it is populating as intended. I have run a debug on the script and it is executing the correct SQL commands. The debug results for the customer and for the one tested in the office are identical. For some reason, the script is not writing to file but is looking at the correct data. I suspect that it is an environment issue most likely on the SQL level. Could this be an issue with character set? How can I check their character set and language preferences? I understand they are set during installation. They are using the same collation as us. What else can I check as I am running low on ideas. I advised the client to create a new DB and restore over the top. The script was then tested and it was found to be working fine. As it was given an inappropriate name (ie test), I advised to create a new DB with a production name and restore over the top again. We have since returned back to where we started as the report is generating only zeros. H E L P ! |
|
#2
|
|||
|
|||
|
I have been able to run a stored procedure that returns details for the Character Set and Language.
SP_HELPSORT GO My version of SQL Server returned the following: Latin1-General, case-insensitive, accent-sensitive, kanatype-insensitive, width-insensitive My Clients version returned... Latin1-General, case-insensitive, accent-sensitive, kanatype-insensitive, width-insensitive for Unicode Data, SQL Server Sort Order 52 on Code Page 1252 for non-Unicode Data Could this be attributing to the error? OR am I looking down the wrong path? ![]() |
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > Report populating incorrectly |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|