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.
| Author |
Topic |
|
akpaga
Constraint Violating Yak Guru
331 Posts |
Posted - 2011-07-18 : 16:12:42
|
| I have a table customer with following field:time slot with data being like this:6-87-98-9i wnat to assign this column to variableso that when i select @variable i should get the result set as6-87-98-9 Thank you |
|
|
TG
Master Smack Fu Yak Hacker
6065 Posts |
Posted - 2011-07-18 : 16:58:20
|
| you mean this?declare @t table (timeslot varchar(10))insert @t (timeslot)select timeslot from [customer]Be One with the OptimizerTG |
 |
|
|
|
|
|