CFF KB - Carrz-Fox-Fire Promotions Knowledge Base
CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.Knowledge Base
- Breadrumbs:
Provider error '8002000a' Out of present range.
- Article ID:
206 - Date Created
Sunday, February 2, 2014 - Last Updated
Wednesday, February 26, 2014 - This Article Has been Viewed
2041 times - Short Desc
In ASP Classic, using Parameterized Queries and the Integer, BigInt, SmallInt, TinyInt, knowing which value to use, will help you from experiencing the Out of present range Error. - Details
When working with Parameterized Queries, and knowing the difference between an Integer, BigInt, SmallInt, TinyInt, makes a huge difference in controlling errors in your code.
For example, This error will accure, if you use adInteger, instead of adBigInt
When your column's Data Type is set to BigIntProvider error '8002000a'
Out of present range.
/Header.asp, line 147 - Recreate Issue
To recreate this issue.
With the Data Type = BigInt
Using the following Parameterized Query, will throw the error.
setActive.Parameters.Append setActive.CreateParameter("@Nums", adInteger, adParamInput, , randomNumber)
As you can see, we are using adInteger. - Resolve Issue
To resolve this issue.
Using BigInt as our Data Type, we need to make sure that we use it in our Parameterized Query, like this.
setActive.Parameters.Append setActive.CreateParameter("@Nums", adBigInt, adParamInput, , randomNumber)
Share With Friends (Updated 6-8-2010)
Recent Articles
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24695
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21297
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19544
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 17785
- The backup set holds a backup of a database other than the existing 16825