Tech Off Thread

3 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Default Field value using a function in sql 2005

Back to Forum: Tech Off
  • User profile image

    Is it possible to set a default value for a table field where the value is a return of a function?

  • User profile image
    Matthew van Eerde

    GetDate() works.  Don't know about UDFs.  Try it and see?

  • User profile image

    Thanks so much it works!, i tried to make a search on google and could not find an answer on this, just someone whoe says "make a triger after insert", i didnt like that idea,  i have almost given up on this (Maybe i should'nt have searched on "google")  Wink

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.