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 - 2006-02-24 : 08:55:11
|
| naturale02 writes "Here is my SP:CREATE procedure test asselect top 10 count (*) as Download, a.item_code as Item_Code, b.item_title as Item_Titleinto report..tenfrom tbl_statistics_archive a , shabox..tbl_items bwhere a.item_class = '10'and convert(char(10),a.created,111) >= convert(char(10),getdate()-7,111)and convert(char(10),a.created,111) <= convert(char(10),getdate()-1,111)and a.item_code = b.item_code and a.item_class = b.item_classgroup by a.item_code, b.item_titleorder by 1 descGO I have create the table called 'ten', and i schedule this SP, but when i start the job, there was nothing shown on 'ten' table, which part i have been doing wrong, kindly help me.Thank you" |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
|
|
|
|
|
|
|