Viewing 15 posts - 2,626 through 2,640 (of 3,233 total)
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...
October 4, 2006 at 1:47 pm
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. ...
October 4, 2006 at 1:05 pm
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...
October 4, 2006 at 12:57 pm
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...
October 4, 2006 at 11:16 am
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...
October 2, 2006 at 3:08 pm
Try querying msdb..sysjobs and msdb..sysjobsteps. Look at both of these tables in BOL for more info.
October 2, 2006 at 11:59 am
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...
October 2, 2006 at 11:34 am
“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...
September 29, 2006 at 2:12 pm
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. ...
September 29, 2006 at 1:36 pm
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...
September 29, 2006 at 1:32 pm
The real question here is why, if your data represents a date, are you not storing the value in a datetime column?
September 29, 2006 at 9:56 am
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...
September 29, 2006 at 9:22 am
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...
September 28, 2006 at 2:17 pm
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
September 28, 2006 at 1:28 pm
Viewing 15 posts - 2,626 through 2,640 (of 3,233 total)