Forum Replies Created

Viewing 15 posts - 301 through 315 (of 1,086 total)

  • RE: Resultset - Returning Last n Reocrds in Table

    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...

  • RE: View from pivoted data

    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...

  • RE: Grooving Your Brain

    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?   

  • RE: Grooving Your Brain

    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...

  • RE: Resultset - Returning Last n Reocrds in Table

    Here is a clunky, (bulldozer :pinch approach: 

    CREATE TABLE #Email( EmailAddress varchar(10))

    INSERT INTO #Email( EmailAddress)

    SELECT ' 1'  UNION ALL

    SELECT ' 2' ...

  • RE: Exec problem

    Why would you ever want to quit a job like that?    

     

  • RE: Grooving Your Brain

    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...

  • RE: stored procedure question

    SELECT TOP 20 Post .postid, subject, name, replies, views, dt, flag, Reply.ReplyID,

                                 Reply.Name, Reply.dt

    FROM Post

  • RE: duplicates in resultset

    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...

  • RE: Is it possible to call an SP & return result into Table variable?

    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...

  • RE: Silly question...

    Thanks Joe!  You sound like the person to help here! 

     

  • RE: Silly question...

    When you click on the Programs menu, do you see Microsoft SQL Server as one of the choices? 

     

  • RE: Silly question...

    Do you have Enterprise Manager installed? 

     

  • RE: Multiple query results in one row

    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...

  • RE: Old style Join conversion

    Yes I did!  Sorry.  It works...

     

Viewing 15 posts - 301 through 315 (of 1,086 total)