Forum Replies Created

Viewing 15 posts - 2,296 through 2,310 (of 3,221 total)

  • RE: Pulling first word from a text field with SSRS query

    Been fooling with this ever since my last post and this may be more complicated than it need be but it will handle input such as

    1. 'ab 2/2/2009 Adjustment...

    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: Pulling first word from a text field with SSRS query

    This may set your thinking onto the correct track

    DECLARE @Something VARCHAR(max)

    SET @Something = '2/2/2009 Adjustment made...'

    SELECT SUBSTRING(@Something,1,CHARINDEX(' ', LTRIM(@Something))-1) AS 'Date'

    Which will return 2/2/2009 - now the weakness of what...

    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: TSQL: Select::

    Is this what you are looking for?

    SELECT entry AS ' ', SUM(Entryid) AS ' ' FROM foobarVille GROUP BY entry

    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: performance issue and rebuilding of indexes

    Use Books On Line:

    ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/ac7e4c7c-e52f-4883-8f3c-9336cc77a9c8.htm

    And it will show you how to handle auto-statistics creation and updatting. Both Create Auto statistics and update auto statistic is by defaul set to...

    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: VB6 ADO with SQL 2000 question

    Go to this support page:

    http://support.microsoft.com/kb/827422

    Note If you are connecting to a named instance of SQL Server, make sure that you are running MDAC 2.6 or later on your computer. Earlier...

    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 hide owner name in object explorer ?

    as the company I currently work at insists on prefixing all their stored procedures with "sp"...

    If memory serves me correctly .............

    Is that an sp_somename (underscore after the sp)....

    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: T-SQL

    David Todd-242471

    What I'm saying is that in mentioning hour, minute, second, you are focusing the readers attention on those values, and away from what you've later clarified as the intent...

    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: T-SQL

    David Todd-242471

    What does this query output?

    select datediff( second, getdate(), getutcdate())

    Answers

    a -46800

    b -41000

    ... etc

    z difference in seconds between my time and utc time.

    To be honest with you.... I would have picked...

    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: T-SQL

    honza.mf

    Oops sorry forgot to mention that I was a engineering graduate, class of 1954. Prior to college my high school physics course was taught in German (instructor spoke...

    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: T-SQL

    David Todd-242471

    You confused it by attempting to be overly exact and asking for hour minute and second, and they are not.

    Now now ... the answer to you is that depends...

    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: Rules!

    Having recently gotten my brains beat out, my integrity questioned, my intelligence derided and other wise vilified (Refer to the QOD 11/17/2009 forum). I am greatly surprised that...

    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: T-SQL

    David Todd-242471

    Well BitBucket, .

    I'm tired of playing the qod game with questions like this. I want to be tested on SQL, not on smarmy tricky questions that depend on a...

    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: T-SQL

    Bold emphasis entered by this poster.

    Lynn Pettis

    I learned quite a bit from the discussion that ensued, some of it not directly related to the question. It is from the...

    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: Trouble with large set of data

    Just a suggestion have you run these queries in SSMS and displayed the actual / estimated execution plans?. And since your request is for improving performance please post following...

    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: T-SQL

    david.wright-948385

    There's the answer then - we should restrict comments on the veracity of QOD to people who have submitted a QOD themselves.

    No do not think that is appropriate, but...

    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 - 2,296 through 2,310 (of 3,221 total)