Viewing 15 posts - 1 through 15 (of 45 total)
Based upon an old SP I have I came up with this:
ALTER PROCEDURE [dbo].[sp_Read]
AS
BEGIN
declare @sSQL varchar(5000)
set @sSQL = COALESCE(@sSQL + ' ','')
create table #MyHead (
Pr_Id int,
Pr_Em_Id int,
Pr_Em_Name nvarchar(50),
SortBy int,
Random int...
April 22, 2016 at 5:27 am
1) What I am showing in list1 and list2 is what I am expecting to get
2) Pr_Id is the product id, Pr_Em_Id is the provider id
April 21, 2016 at 8:56 pm
Brandie Tarvin (7/9/2015)
Is that just a public note or is there a specific question you're trying to ask?
I guess I was no thinking clearly when writing. It is a question,...
July 9, 2015 at 6:37 am
Jeff,
Pretty impressive stuff. I made a change to your code as I had a problem with your solution in the order by. Keep in mind that the idea of this...
December 4, 2008 at 6:33 am
It looks I got something from another forum
Select FROM @tt AS t
ORDER BY (select count(*) From @tt as y where y.Pr_RealEstateAgent_Id = t.Pr_RealEstateAgent_Id and y.pr_id...
December 2, 2008 at 10:38 am
Chris Morris (12/1/2008)
Hi CoroboriThis will give you yoyur expected results
ChrisM
I think that ROW_NUMBER is a SQL Server 2005 and in my case I am using a SQL Server 2000
r.hensbergen...
December 1, 2008 at 10:30 am
You're right that in this case I do not need dynamic SQL. I'll follow up your suggestion in the BOL for the other case where I really need it.
August 5, 2008 at 12:36 pm
Issue is solved !!!
The solution was a registry cleaning before installing SQL Server 2005. Got it here: http://support.microsoft.com/default.aspx?scid=kb;en-us;290301
January 26, 2008 at 8:49 am
The (....) thing is starting really to (......) :angry:
I first installed SQL Server 2005 without the Workstation components and it went thru just fine.
The SSCM is up and working....
January 25, 2008 at 2:10 pm
Can't find any reference to SQL Server Express edition
January 25, 2008 at 11:19 am
On my machine I just have SQL Server 2000.
I don't remember having installed SQL Server 2005 Express , I ran the Visual Studio 2005 install maintenance and at least the...
January 25, 2008 at 10:14 am
I think I could have spend days and *never* will be able to get this.
Still I am having and issue if tblTestsDone is empty the query doesn't return the...
October 2, 2007 at 9:37 am
Steve Jones - Editor (10/2/2007)
This almost sounds like homework. Can you post what you've tried?
Homework ? Not at all. Let's say that between house building and moving August and September...
October 2, 2007 at 8:22 am
Viewing 15 posts - 1 through 15 (of 45 total)