August 11, 2005 at 4:55 pm
Hi,
One of our developers reported that they could not see data in a varchar field, using EM with SQL Server 2000 SP4, if the data length was greater than 900. The field will appear empty. If you try to edit the "missing" field, an error message "Cannot edit this cell" will pop up. In the same display, those records which have a length less than 900 can be both seen and edited.
When I used EM with SQL Server 2000 SP3a, I did not have this problem. Then I installed SP4. I now have the same problem.
Anybody understand this? Bug?
Randy
County of Marin
RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉
August 11, 2005 at 8:01 pm
EM is not a catch all edit all editor; it does a good job on many things, but not all things.
making a grid that could allow the editing of a varchar(8000) field, along with all the other columns in the table would be resource consuming, to say the least....imagine a million row table with a varchar(8000) field that would be immediately editable....it'd take at least a gig of ram just to display and render it.
as a result, some items are jsut plain not editable in EM; if you need to update a big varchar, create a quick app to do it yourself, and make sure you limit your results to a size a normal machine can accomodate.
Lowell
August 12, 2005 at 7:57 am
I have SP4 on my desktop but SP3 on the server and don't see a problem like this. I used a select * where length(column)>900 to find rows like this. So it may be a server side problem.
Try selecting the column with SUBSTR(column,1,900) or SUBSTR(column,1,899), etc. See what happens.
Is there anything special about your data: non-printing characters, etc.?
I often use EM as a quick and dirty data editor, but I have to agree with Lowell that it is not the best solution.
August 13, 2005 at 9:17 am
The data displays when I use LEFT(col, 800). I thought about special characters, but using LEFT on the same data enables it to display. In any case, why would they be treated differently in SP4?
The effect is the same from using EM on the server and in different databases. It only changed after SP4 was applied on the client. The server OS is Windows Server 2003. The two clients I tested are Windows 2000.
I'd rather this be a bug than a new "feature". If nobody else has this problem, then I'll try to figure out what we're doing wrong.
As to EM, EM can do a lot of things that are not safe - with power comes responsibility. We are not ready to impose a scripts only policy in development. Our developers rarely get into too much trouble. Production is another matter.
RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉
August 15, 2005 at 4:22 pm
I got the same behavior using EM on a server with SP4 applied. Using EM (SP3a) from a client workstation displays just fine.
August 17, 2005 at 10:01 am
Thanks. It's nice to know it's not just me - this time.
I also noticed that a DTS package I saved from a client with SP4 would not open or run from a server with SP3. This problem was resolved this morning when SP4 was applied to the server.
RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply