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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Error

Author  Topic 

sadbjp
INNER JOIN

41 Posts

Posted - 2007-05-11 : 15:48:19
kk

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2007-05-11 : 15:49:44
post the sproc text

_______________________________________________
Causing trouble since 1980
blog: http://weblogs.sqlteam.com/mladenp
Go to Top of Page

sadbjp
INNER JOIN

41 Posts

Posted - 2007-05-11 : 15:50:55

jj
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-05-11 : 16:06:58
Try replacing your update query with the one that I posted in the other thread.

Tara Kizer
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2007-05-11 : 16:14:36
plus this is just precious:

INSERT INTO RubricReportDetail(ReportID, IndicatorID)
SELECT RubricReport.ReportID, RubricReportTemplate.IndicatorID
FROM RubricReport, RubricReportTemplate
WHERE (RubricReport.ReportID = @ReportID) AND (RubricReportTemplate.IndicatorID = @IndicatorID)

you have no idea on how many levels this code is just wrong.
i mean come on... just use joins.


_______________________________________________
Causing trouble since 1980
blog: http://weblogs.sqlteam.com/mladenp
Go to Top of Page

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2007-05-20 : 15:18:23
so sadbjp.... what's the point of deleting your posts? i'd love to know...

_______________________________________________
Causing trouble since 1980
blog: http://weblogs.sqlteam.com/mladenp
Go to Top of Page
   

- Advertisement -