www.webdeveloper.com
Results 1 to 2 of 2

Thread: Update Decimal datatype with Null Value

  1. #1
    Join Date
    Nov 2006
    Posts
    207

    Update Decimal datatype with Null Value

    Gang,

    While using SQL SERVER, I was wondering if a Decimal data-type can be updated with a Null Value?....I have the NULLABLE option for the Decimal field set to TRUE...but still not able to pass the NULL value.

    Thank You

  2. #2
    Join Date
    Jul 2010
    Location
    /ramdisk/
    Posts
    865
    It has been a while since I've been on SQL SERVER.

    CAST(NULL as DECIMAL) is very unfortunate and clunky, but you might achieve what you're wanting. You must spell everything out for SQL SERVER, which is annoying but I'm sure there's a good reason (other than being statically typed).
    I use (, ; : -) as I please- instead of learning the English language specification: I decided to learn Scheme and Java;

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles