Forum Replies Created

Viewing 15 posts - 2,626 through 2,640 (of 3,233 total)

  • RE: aggregate functions using time intervals

    Can you give a little more detail as far as what you want your result set to look like and which columns do you want min, max, avg?  Also, if you've...

  • RE: Change DB and Object owner

    Look at sp_changedbowner in BOL.

  • RE: TYPE CAST ERROR

    What is the datatype of tableX.Quantity?  If it is a numeric datatype, a negative number will not cause a cast error.  Bad data, in this case, may be bad design. ...

  • RE: SOS - Cursor based Query taking forever

    The absolute best way to improve your performance is to nix the cursor and come up with a set based solution for your problem.  If you post your code, you...

  • RE: SQL Server Memory usage

    In addition to Pankaj's response, the more memory you have on a server, the more space SQL Server can use for the different memory pools (cache).  The reason SQL Server...

  • RE: Avoid Blocking!!

    Well, that is kind of a broad question.  There are many factors that can add to blocking.  For starters, keep your transactions as short as possible and make sure your...

  • RE: Database maintenance attributes through SQL

    Try querying msdb..sysjobs and msdb..sysjobsteps.  Look at both of these tables in BOL for more info.

  • RE: SQL Server Memory usage

    This is not a problem.  SQL Server is designed to use up all of the memory available to it.  It will not release the memory that it has claimed by...

  • RE: Select *

    This person tried to create 2 differrent StoredProc and each had a #temptable with the same name. Eg #Results. and had the same name for...

  • RE: Log Space not Truncated

    Backing up the log does not change the physical size of the log, it only removes inactive entries.  In order to physically shrink the file, you must run DBCC Shrinkfile. ...

  • RE: Manipulating Dates using SQL

    What is the datatype of your column?  If your raw data looks like you've posted 'DD-MM-YYYY' , then your column has to be a char/varchar column correct??  If so, none...

  • RE: Manipulating Dates using SQL

    The real question here is why, if your data represents a date, are you not storing the value in a datetime column?

  • RE: DBA and SQL developer

    Also, you said "I cannot put 'DBA' in my resume and so I can never apply for DBA job".  Never is a strong word.  Even if you could not put...

  • RE: LOCK:TIMEOUT in Tempdb, ObjectID=0

    Lock timeouts are usually the result of blocking processes.  Object ID of zero is the database object so if you are getting lock timeouts on your tempDB object 0, it...

  • RE: Join Query- Help!

    Or use an ANSI OUTER JOIN:

    SELECT A.*

    FROM CUSTOMERBRANCH  A

        LEFT JOIN [SERVER].[DATABASE].DBO.TBCUSTBRANCH B

        ON A.ACCPACCODE = B.ACCPACCODE

    WHERE B.ACCPACCODE IS NULL

Viewing 15 posts - 2,626 through 2,640 (of 3,233 total)