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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2001-06-12 : 09:26:32
|
Jim writes "Does anyone see a problem with a stored procedure that inserts several records at the same time? Such as
INSERT INTO SFSummary SELECT DISTINCT 2001062, B.AreaCatKey, A.BranchCatKey, A.ChannelBTCatKey, A.ChainCatKey, Left(System_User, 10), getdate(), Left(Host_Name(), 10), getdate() FROM SFComboBranchChannelChain A INNER JOIN SFSummaryAreaBranch B ON A.BranchCatKey = B.BranchCatKey WHERE A.BranchCatKey IN (22100, 22110, 22120, 22130) AND A.ChannelBTCatKey IN (1, 3, 5, 7) AND A.ChainCatKey IN (10, 20, 30, 40)
It works I was just wondering if there was some sort of a problem doing things this way.
Thanks Jim Ley Jim@LeyTech.com" |
|
|
|
|
|
|
|