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-12-05 : 08:46:48
|
| Sean writes "I need to be able to do the following:INSERT INTO [Table] sp_mystoredprocI know you can do:INSERT INTO [Table] (SELECT * FROM Table2)I get the following error:Line 1: Incorrect syntax near 'sp_recordpaging'.Please help out! I have never seen an article written on this and am sure others would love to have it as a reference.Sean MoeMoe Designs" |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2001-12-05 : 08:59:06
|
| You need to include the EXECUTE statement before the name of your procedure:INSERT INTO [Table] EXEC sp_recordpaging |
 |
|
|
|
|
|