Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Error while running stored procedure.

Author  Topic 

rnatarajan1
Starting Member

4 Posts

Posted - 2007-08-02 : 06:12:35
hi,
i'm using SQL server 2000. i'm getting the below error when i run a store procedure.
"Specified column precision 500 is greater than the maximum precision of 38."
I have created a temporary table inside the stored procedure inserting the values by selecting the fields from other table. mostly i have given the column type as varchar(50) and some fields are numeric(50).

Kristen
Test

22859 Posts

Posted - 2007-08-02 : 06:17:32
"some fields are numeric(50)"

Sounds like you've accidentally got numeric(500) somewhere ...

Kristen
Go to Top of Page

jimf
Master Smack Fu Yak Hacker

2875 Posts

Posted - 2007-08-02 : 06:57:33
You can't have numeric(50), nothing more than 38. Is your sproc trying to create a table?

Jim
Go to Top of Page
   

- Advertisement -