Viewing 15 posts - 301 through 315 (of 1,086 total)
Please keep in mind that this is a crummy solution and does not deal with Ordering... I would suggest you make a new table with a correct design and let...
October 27, 2005 at 2:42 pm
I have done this with Dynamic SQL when you do not know your number of columns. As Jo points out, since you already know that information, I would highly recommend...
October 27, 2005 at 2:29 pm
I knew what it was; that is why I corrected your spelling... It is too cold up there for you'se guys - ain't it?
October 27, 2005 at 1:05 pm
Odd, that was a simple Google search, so there should be no cookie's required; worked for me... (Any way, my ability to post URL's with a mask is sushila's fault...
October 27, 2005 at 12:09 pm
Here is a clunky, (bulldozer :pinch approach:
CREATE TABLE #Email( EmailAddress varchar(10))
INSERT INTO #Email( EmailAddress)
SELECT ' 1' UNION ALL
SELECT ' 2' ...
October 27, 2005 at 11:17 am
I agree! I think that is also what makes Cows Angry and Birds get upset stomachs! [And my original degree was in science, so I can (pretend) I know what...
October 27, 2005 at 9:14 am
SELECT TOP 20 Post .postid, subject, name, replies, views, dt, flag, Reply.ReplyID,
Reply.Name, Reply.dt
FROM Post
October 27, 2005 at 5:17 am
Numerous errors...
Invalid column name 'UcaseManager'. -- MISSING FROM users TABLE
Invalid column name 'BMworkRequestID'. -- MISSING FROM billmaster TABLE
Invalid object name 'samplerequests'. -- NEED THIS TABLE
Invalid object...
October 26, 2005 at 9:18 pm
Have your function return a recordset. Then call it from within the SP. (Don't put your table variable within the function). I have not done this with a @Table Variable, but...
October 26, 2005 at 7:47 pm
Thanks Joe! You sound like the person to help here!
October 26, 2005 at 7:37 pm
When you click on the Programs menu, do you see Microsoft SQL Server as one of the choices?
October 26, 2005 at 2:46 pm
If you do not know all your Groups and want to do this dynamically, this is clumsy, but it will work...
CREATE TABLE #Counting( [Name] varchar(1),
[Count] integer)
INSERT...
October 26, 2005 at 12:30 pm
Viewing 15 posts - 301 through 315 (of 1,086 total)