You are here: Re: Stored procedure returns duplicates « MsSQL Server « IT news, forums, messages
Re: Stored procedure returns duplicates

Posted by Ed Murphy on 04/10/07 20:50

yin_n_yang74@yahoo.com wrote:

> Resource, Supply and Order are not directly related to each other.
> There is no association that you were asking about in b).
>> b) what criteria tell us that Resource1 should associate only with
>> Supply1 (not Supply3) and Order5 (not Order6), and similarly
>> for Resource2 and Supply3 (not Supply1) and Order6 (not Order5)

Then it sounds like, instead of this monstrosity of a stored
procedure, what you really want is three Crystal subreports
side by side.

> Since we are pulling from two databases and using parameters, our
> solution has been to use a stored procedure. Crystal Reports (v 8.5)
> allows only one stored procedure.

You can do this with views instead, e.g.
create view vTable2 as select * from other_database.dbo.Table2

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация