Advertisement

08.21.2007 at 09:43AM PDT, ID: 22777273
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Casting Problems when using IN() function

Tags: converting, varchar
Hi,

I am trying to get DB information from a stored procedure to my .Net page, my problem is that in the stored procedure, i am doing a compare (using IN() ) where one field type is Integer and the other is a VarChar which consists of a coma delimited list of integers... here's my select statement that i can't get to work, or at least what i'm trying to accomplish:

CREATE PROCEDURE get_bidding_items_pr

@username varchar

AS

SELECT my_auctions_t.bidding_txt, items_t.item_id FROM my_auctions_t, items_t WHERE my_auctions_t.user_nme=@username AND items_t.status_ind=0 AND items_t.item_id IN (my_auctions_t.bidding_txt)
GO

right, now there lies the problem... the coma delimeted list cannot be converted directly into an integer delimited list for the IN function... therefore, is there a way of doing this by converting the Integer field to a varchar? i've tried String and CAST but both give no results when some should be returned (e.g.: bidding.txt=1,2,3,4,5 -- and the result set is valid for 2 items)...

can you help me out? Much appreciated.
Start your free trial to view this solution
Question Stats
Zone: Microsoft
Question Asked By: MaxOvrdrv2
Solution Provided By: Snarf0001
Participating Experts: 5
Solution Grade: A
Views: 0
Translate:
Loading Advertisement...
08.21.2007 at 09:55AM PDT, ID: 19739495

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 10:00AM PDT, ID: 19739527

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 10:05AM PDT, ID: 19739585

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 10:12AM PDT, ID: 19739646

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 10:16AM PDT, ID: 19739672

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 10:20AM PDT, ID: 19739695

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 10:25AM PDT, ID: 19739737

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 10:30AM PDT, ID: 19739771

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 10:41AM PDT, ID: 19739835

Rank: Savant

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 10:43AM PDT, ID: 19739849

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 10:44AM PDT, ID: 19739853

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 10:44AM PDT, ID: 19739863

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 10:45AM PDT, ID: 19739866

Rank: Savant

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 10:49AM PDT, ID: 19739919

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 11:27AM PDT, ID: 19740217

Rank: Savant

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 11:27AM PDT, ID: 19740222

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 11:32AM PDT, ID: 19740253

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 11:40AM PDT, ID: 19740307

Rank: Savant

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 11:43AM PDT, ID: 19740336

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 11:46AM PDT, ID: 19740364

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
08.21.2007 at 11:50AM PDT, ID: 19740390

Rank: Savant

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080236-EE-VQP-29 / EE_QW_1_20070628