Viewing 15 posts - 961 through 975 (of 1,183 total)
This one is for RS 2000, but the majority of it applies to 05. I like this one because it really digs into the inner workings of RS.
Hitchikers Guide to...
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgMay 30, 2007 at 8:07 pm
My personal opinion would be to use a linking table to hold the employeeID and projectID. This way if an employee doesn't have a project, then there simply wouldn't be...
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgMay 30, 2007 at 8:05 pm
This seems to work for me. If still getting incorrect results, please post the data that's being calced wrong.
SELECT
numberOfOrders = COUNT(DISTINCT s0.soNo)
,nullShip = SUM(CASE...
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgMay 25, 2007 at 8:38 am
An important note. Unless you have a unique/primary key that identifies each unique order line item, any orders with all info the same will cause erronious dups. so if you...
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgMay 24, 2007 at 1:38 pm
OK, This appears to get what you want. It may not be the most optimized solution though.
/* lets put all of the...
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgMay 24, 2007 at 1:37 pm
What if the order that was split had one on time and one late. Do you need a result set of 3 orders and 2 onTime? or do you need...
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgMay 24, 2007 at 11:52 am
Can you not refer to invShp instead of shpQty?
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgMay 24, 2007 at 11:48 am
Can you post the DDL for all tables involved and sample data for them as well?
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgMay 24, 2007 at 10:14 am
Read up on WITH ROLLUP in BOL....
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgMay 21, 2007 at 5:08 pm
User permissions/object owner.
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgMay 19, 2007 at 8:27 am
Move the check into the join clause....
SELECT comment.comment_id, comment.comment, comment.post_id, comment.comment_date, aspnet_Users.UserId, aspnet_Users.UserName,
user_pic.user_pic, user_pic.user_pic_default
FROM comment INNER JOIN
aspnet_Users ON comment.userid = aspnet_Users.UserId LEFT OUTER JOIN
user_pic ON...
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgMay 19, 2007 at 8:25 am
If I understand you correctly, then just remove the "(user_pic.user_pic_default = 'y') AND" from your WHERE clause.
This will return ALL records for the postId regardless of the default value.
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgMay 18, 2007 at 4:04 pm
What happens when you put http:///ReportServer in a new browser window?
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgMay 18, 2007 at 4:00 pm
Yeah, I'm just having issues getting around the windows authentication required to "hit" the server.
FYI, we did find a work around though. Since our site's login page is .NET, which...
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgMay 16, 2007 at 11:08 am
Ben,
Thanks, but you can't pass windows authenication via the URL, only the DB credentials can be passed that way.
![]()
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgMay 16, 2007 at 8:19 am
Viewing 15 posts - 961 through 975 (of 1,183 total)