Forum Replies Created

Viewing 15 posts - 946 through 960 (of 3,221 total)

  • RE: How to dynamically execute SQL stored as text in a table

    After correcting the obvious errors in your code as posted to:

    create procedure GetReport 999

    @SpoolID int

    AS

    declare @sql nvarchar(4000)

    select @sql = 'select extrasql from reportspool where spoolid='+CONVERT(VARCHAR,@SpoolID)

    print @sql

    --exec (@sql)

    Executing...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: SQL LTrim not removing a character

    Your welcome.

    Now if that is value passed to your SP, so be it. If it comes from a column in a data set, I would suggest that you develop...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: SQL LTrim not removing a character

    First of all, for now and future use get yourself a copy of the Microsoft ASCII character set.

    http://msdn.Microsoft.com/en-us/library/4z4t9ed1(v=vs.71).aspx

    Note that the following are non displaying characters:

    ASCII

    Value ...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Summarize Results from two tables, using one query.

    To help those who want to help you with a tested solution, please, please post the table definition, sample data both in a easily consumable manner. To do so,...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: How to diplomatically not answer recruter's question about salary ?

    Besides all the other good suggestions you have gotten, I find the following to be useful in deflecting a specific salary.

    It is not wages alone that counts, it a combination...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Wierd month problem

    To get a tested answer, please post your tale definition, some sample data and required results. To do this in a readily consumable manner pleas click on the first...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Conditional update or insert in one statement

    Try read this:

    http://technet.microsoft.com/en-us/library/bb510625.aspx

    It gives an example of the code required to basically perform a merge without using the MERGE statement. It might assist you

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: DBCC COMMANDS

    honza.mf (10/7/2011)


    bitbucket-25253 (10/6/2011)


    And better yet, no one whining and whimpering about "gimme my points".

    Don't you miss it? And even no complaints on wording and explanation. :hehe:

    ...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: DBCC COMMANDS

    SQLRNNR (10/6/2011)


    So far so good - everybody has answered correctly thus far. 6/6

    And better yet, no one whining and whimpering about "gimme my points". So far a nice...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: DBCC COMMANDS

    NIce question to end the week ...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: size of indexes is greater than or equal to the actual size of the table...

    You might read this blog posting by Kimberly Tripp, it may be very useful for you. It also contains some T-sQL code that could be used as you...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Indexes

    Nice straight forward question

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Are the posted questions getting worse?

    For those of us in the IT world, today is a sad day. Apple announced at 8:51 PM that Steve Jobs passed away as a result of loosing his...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Tricky Query

    If you would post your table definitions, sample data in a readily consumable format, you increase the chance of someone assisting you with a tested answer.

    To do as...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Need to Extract Data From a Column

    Now this will do what you say you need, BUT note that it will NOT correctly handle

    1. Line numbers greater that a single digit

    2. Purchase...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

Viewing 15 posts - 946 through 960 (of 3,221 total)