Forum Replies Created

Viewing 15 posts - 4,156 through 4,170 (of 5,678 total)

  • RE: How to Access SQL Database Over the Web

    palpacino (2/3/2011)


    So I can literally just tell it to let this user in and only let this user do these very few stored procedures. The data here is not mission...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Need the Price with the Latest Date

    tfifield (2/3/2011)


    Craig,

    I'll try to look up my bench mark tests on this. I seem to recall that the case where ROW_NUMBER() would beat the CROSS APPLY/TOP 1 construct was...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: How to call a stored proc with parameters in a OLE DB (or ADO.Net) Data Source?

    The reason that didn't work is you have a select statement before the metadata definition.

    SELECT @Dummy = COUNT(*) FROM sys.tables

    The first statement that isn't a set of some kind in...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (2/3/2011)


    I rarely delete stuff, but that one went so sideways, with almost no technical info, that I decided to whack it.

    Probably for the best. ...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: TSQL: SQL view which shows multiple fields in one field but presented underneath eachother

    You're displaying the results as text, not grid, right?

    Grid turns CHAR(10) and (13) into hidden characters... and a little testing on my part shows Lutz was right in the first...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: TSQL: SQL view which shows multiple fields in one field but presented underneath eachother

    nbussel (2/3/2011)


    @LutzM Thanks for your reply

    I have tested your suggestion and this gives me the output:

    a b c

    However I wanted the output to be:

    a

    b

    c

    It's this part: CHAR(13))

    You want CHAR(10)...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: How to Access SQL Database Over the Web

    palpacino (2/3/2011)


    So there is no reliable way to expose JUST pieces to the outside world such as with a web service?

    I guess I was under the impression that this could...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: What is the log file for...

    Mike, are there more senior DBAs on staff, or did you get volunteered to the position because noone else will do it? The reason I ask is to know...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Indexing Lookups

    SanDroid (2/3/2011)


    Very Odd... :w00t:

    I was reading someplace that in MS SQL, the leaf level of a nonclustered index contains the clustered key columns that point back to the clustered index...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Script to loop and relace string

    The column in this you care about is 'Final Removal'.

    I broke it down so you can see what each component of the function is doing.

    Please test and confirm this will...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: TSQL: SQL view which shows multiple fields in one field but presented underneath eachother

    nbussel...

    Curious, the only time I know I've ever wanted my DB to do this work was when I had to feed a file for a mainframe consumption. Is that...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Order by months (financial year rather than calendar year)

    How about just moving the date around to work within standard functionality?

    Basically, take 3 months off an April date, for sorting purposes only, and make the system think that's january.

    So,...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Need help writing a query please

    Is this question highly simplified?

    The reason I ask is a WHERE clause for where the status = 2 will return you your order ID's that have a 2 ( or...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Opportunity to separate trans logs & tempDB - Sorting out RAID options and best practices

    will s (2/2/2011)


    Thoughts on that option / MY QUESTIONS:

    TRAN LOGS:

    - Will moving the tran logs from a 6-spindle RAID 5 to a 2-spindle RAID 1 actually slow writes down overall?...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: How to call a stored proc with parameters in a OLE DB (or ADO.Net) Data Source?

    What Devesh posted above is the workaround. The reason is that SSIS wants to build out metadata, and it will use the first SQL statement of any kind in...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

Viewing 15 posts - 4,156 through 4,170 (of 5,678 total)