November 27, 2003 at 6:14 pm
I have a table in SQL Server 2000 Enteprise Edition.
CREATE TABLE dbo.TESTTBL
(
MYID NUMERIC(38),
MSG VARCHAR(100)
)
When I perform insert record using INSERT statement in Query Analyzer, it has no problem.
But, when I try to insert record into it using Enterprise Manager (GUI), I hit error "CANNOT EDIT THIS CELL" (when insert a number in the MYID column)!
I try to minimize the size of the MYID (one by one) until NUMERIC(29), I successfully insert into it without error.
My conclusion is for Enterprise Manager, numeric field larger than 29 will create error. Do I miss anything that cause the error? Or it really bugs in SQL Server 2000.
Edited by - kokyan on 11/27/2003 6:27:38 PM
Regards,
kokyan
November 27, 2003 at 11:07 pm
I insert this
INSERT INTO TESTTBL(MYID, MSG)
VALUES (1, 110)
it works fine!!!
My Blog:
November 27, 2003 at 11:22 pm
Try to use Enterprise Manager GUI to insert the record. I also successful insert records using Query Analyzer.
Regards,
kokyan
November 27, 2003 at 11:23 pm
Yes I tried in Enter prise manager
My Blog:
November 27, 2003 at 11:33 pm
Then, any settings need to configure? For your information, my SQL Server version is:
SELECT @@VERSION
Output:
Microsoft SQL Server 2000 - 8.00.818 (Intel X86) May 31 2003 16:08:15 Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 4)
I don't hit any errors when I change the precision to 29.
Regards,
kokyan
Regards,
kokyan
November 27, 2003 at 11:39 pm
Microsoft SQL Server 2000 - 8.00.194 (Intel X86) Aug 6 2000 00:57:48 Copyright (c) 1988-2000 Microsoft Corporation Personal Edition on Windows NT 5.1 (Build 2600: )
My Blog:
November 28, 2003 at 1:50 am
Dinesh,
I'm not sure you tried inserting data directly into the cell of the "Open Table" panel as Kokyan has done.
Yes, if you run the INSERT (as you have posted) in the SQL panel of Enterprise Manager it works ok.
But typing directly into the cell, I get the "Cannot edit this cell" error too.
Cheers,
- Mark
Cheers,
- Mark
November 28, 2003 at 5:17 am
Does seem to be a bug within Enterprise Manager. I find no info on it based on my searches and might be worth sending to MS.
November 28, 2003 at 5:26 am
Doesn't work here either, but do you really need to edit your data via EM?
There are better ways for this
Frank
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
November 30, 2003 at 5:09 pm
Thanks for all the reponses. I just want to highlight the bugs in Enterprise Manager of SQL Server 2000. Actually, I seldom use the features of EM GUI.
Regards,
kokyan
Regards,
kokyan
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply