Forum Replies Created

Viewing 15 posts - 57,061 through 57,075 (of 59,070 total)

  • RE: Extract data from table to a remote path using BCP

    The SQL Server "Service" must be logged in as a user that can "see" those remote paths.  As Lynn said, that also means that user must have permissions to see...

  • RE: Dynamic SQL - Drop Table

    Now, reverse the test... do it with the NO DROP first...

  • RE: bcp isql osql

    First, don't use ISQL... it's quite a bit deprecated when compared to OSQL which you should use instead.

    Second, yes, both your BCP and OSQL should be very close... probably the...

  • RE: what are causes for slow insert operations in table ?

    Of course, we could stop guessing if you'd post the code, Ashok.

  • RE: help me in writing a Query

    Looks a lot like homework or a quiz... what have you tried?

  • RE: any alternatives of left outer join

    Outer joins are not always the culprit in slow SQL... joining a bunch of tables and returning to0 many columns usually is.  Also, the reason why adding indexes isn't helping...

  • RE: what are causes for slow insert operations in table ?

    Usually, the culprit is a CLUSTERED PRIMARY KEY... change it to non-clustered.

  • RE: Time Striiping

    If you want it to be unique across days (11PM today is NOT the same as 11PM yesterday)...

    SELECT ...

    GROUP BY DATEDIFF(hh,0,PinIssueDate)

  • RE: SQLServerCentral Rules of Conduct

    Ohhhh hold the phone right there... As much as I like Joe, his comments can really get out of hand... I don't care how good you are, no one has...

  • RE: Problem with the ORDER BY and "-" char

    Or...

    declare @tabla table(field char(20))

    insert @tabla values ('AABBZ')

    insert @tabla values ('AADDZ')

    insert @tabla values ('AA-EZ')

    insert @tabla values ('AA--Z')

    insert @tabla values ('AA++Z')

    insert @tabla values ('AA+EZ')

    insert @tabla values ('AACCZ')

    SELECT *...

  • RE: Help needed

    John Rowan is correct about the existing rows... that's why some have suggested that the new column be a "calculated column" (see CREATE TABLE and ALTER TABLE in Books Online...

  • RE: SQLServerCentral Rules of Conduct

    Lee,

    I absolutely agree with Brian on this one... I'm still looking forward to part 2, as well.  Don't let the flamers deter you... think of it like an iceberg... you...

  • RE: ''''Sargable'''' where clause

    Nope, with the second index in the code, I'm getting an INDEX SEEK on the OR method...

    But I agree with the rest... why go through an index at all to...

  • RE: Help Needed !!!!!!!!!!!!!!

    You say you've been working on it for "weeks"... let's see what you've tried.

  • RE: Eliminate CROSS JOIN

    I don't know what either table has in it nor what either is used for and you left out the SELECT list so it's really hard to tell, but first...

Viewing 15 posts - 57,061 through 57,075 (of 59,070 total)