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 |
|
ghazanfar
Starting Member
3 Posts |
Posted - 2007-02-09 : 13:56:32
|
| Hi everyone, Can I do an insert with one column value being specified and the others being retrieved? Basically, I have to take an input from the user, join that input with the result of a select (based on that input) and post that to a tableI don’t suppose we can do something likeINSERT destTable(col1, col2, col3….)Values (col1_value, (Select (…..)))What do y'all think? Any input/suggestion is appreciated! :)Thanks, Gijoo |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
ghazanfar
Starting Member
3 Posts |
Posted - 2007-02-09 : 14:13:12
|
| That was fast! Thanks Bret =)Gijoo |
 |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
ghazanfar
Starting Member
3 Posts |
Posted - 2007-02-09 : 15:04:21
|
| hahah dont be too hard on yourself, anyone wanting help can wait 4 minutes =D |
 |
|
|
|
|
|