Forum Replies Created

Viewing 15 posts - 3,961 through 3,975 (of 5,103 total)

  • RE: I need to do a DTS for traspassing

    Increase the maximum number of errors allowed in the properties of the datapump

     

  • RE: Where clause performance anomaly. WTF.

    There are two parts to the problem.

    If you look at the query plan on SQL Server you will be surprised that sometimes (when it is possible) your where expressions are...

  • RE: INSERT Takes too Long

    ..... I know, I know, It will always depends on how the process is but I just posted for the fun of it

    I...

  • RE: INSERT Takes too Long

    Here is a wild try:

    insert into users

              (

              InsertDate

              ,ADT.Username

              ,ADT.initials

              ,ADT.facsimileTelephoneNumber

              ,ADT.streetAddress

              ,ADT.manager

              ,ADT.whenCreated

              ,ADT.uSNChanged

              ,ADT.DN

              ,ADT.objectClass

              ,ADT.[name]

              ,ADT.objectGUID

              ,ADT.[description]

              ,ADT.displayName

              ,ADT.userAccountControl

              ,ADT.sAMAccountName

              ,ADT.sn

              ,ADT.givenName

              ,ADT.memberOf

              ,ADT.homeMTA

              ,ADT.proxyAddresses

              ,ADT.homeMDB

             ...

  • RE: Where clause performance anomaly. WTF.

    Your function and <> is converting the expression in not "SARG"able the not Like 'cy%' can be converted into like '[^cy]%' which is SARGable therefore your speed!

     

  • RE: Loop won''''t terminate

    >>Do you guys consider it wrong to write code like:

    Declare @value1 as int

    Select @Value1 = @Column1 From Table1

    IF @Value1 is > 0

    begin

         Exec stored_Procedure1 @Value1=@Value1

    end

    ELSE

    begin

         Exec stored_Procedure2

    end

    . <<

    Oh...

  • RE: restore backup versus detach / attach move

    Well,

    It has been my experience that restore is slower than attach.

    I do agree though that the backup/restore (as a whole)  may be faster depending on file size  (specially whe using...

  • RE: Need Help

    The name of the problem is : OUT OF SCOPE 

     

  • RE: deleting records without writing to transaction log

    Believe me I've had that feeling too

     

  • RE: deleting records without writing to transaction log

     >> Correct me if I'm wrong...

    If you delete a record using the query tool in Enterprise Manager (NOT Query Analyzer) I believe its not logged.  Thats why its so dangerous to mess...

  • RE: Help with query

    try:

     

    SELECT Invoice.pk as InvoiceId, LastCharges.chrgtype, LastCharges.chrgamt, LastResponses.respamt, LastResponses.resptype

    FROM Invoice

           LEFT JOIN  (select fk_Invoice, chrgtype, chrgamt

               from InvoiceCharge ic1

                      where chrgdate = (select Max(chrgdate)

           from  InvoiceCharge ic2 

           where ic2.fk_invoice...

  • RE: Moving tables between filegroups

    Believe me I know the feeling

  • RE: Any way of making this more efficient?

    And what the heck kind of attribute is a "tblpupil" -- are you reaching furniture instead of kids?

    Joe,

    With all the respect you deserve I think you are crossing...

  • RE: Error on one server but works on another

    Did you checked REGIONAL SETTINGS on the OS and @@language on SQL Server

    I don't really understand the purpose of that many conversions but you may want to try this:

    DATENAME (weekday, DATEADD...

  • RE: Red Zig Zag line against server

    use start/continue from sql server service manager

     

Viewing 15 posts - 3,961 through 3,975 (of 5,103 total)