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
 SQL Server 2008 Forums
 Other SQL Server 2008 Topics
 End default value

Author  Topic 

rico1931
Starting Member

37 Posts

Posted - 2009-01-19 : 16:17:59
Hello everyone,

I was wondering if there was a way to put a default "end" value after a record has been inserted. For example when a number like 100 is inserted sql can automatically change the value to 100px....Is this even possible? Thank you

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-01-20 : 02:52:27
whats the purpose of this requirement? one way to do this is to create a computed column based on column you insert value for, but question is why do you need this
Go to Top of Page

rico1931
Starting Member

37 Posts

Posted - 2009-01-20 : 09:25:24
well I wanted to just add it on to the end in case the user forgets to input the value but I just figured out I can do this with a spry validation. Thank you for your response visakh16
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-01-20 : 09:35:31
ok..you're welcome
Go to Top of Page

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2009-01-20 : 09:48:27
If this is just for formatting purpose, rather than storing default suffix in table, I would suggest to apply it on the front-end.

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page
   

- Advertisement -