Viewing 15 posts - 2,626 through 2,640 (of 3,008 total)
You should run UPDATE STATISTICS on all tables after restoring a database from 2000 to a 2005 server.
November 29, 2007 at 12:36 pm
This whole debate is absurd.
Removing DRI for performance reasons is a very bad idea. Relational databases are not used for performance reasons; they are used to store the data...
November 29, 2007 at 11:49 am
Dave (11/29/2007)
Michael Valentine Jones (11/29/2007)
If you really think about it, it is the US that is growing fast in IT.
If you didn't take into account wage differences, and you really...
November 29, 2007 at 11:29 am
If you really think about it, it is the US that is growing fast in IT.
The IT growth in India, China, and the Philippines is to satisfy the demand for...
November 29, 2007 at 8:37 am
You can start the second job using a stored procedure call in the first job.
execute msdb.dbo.sp_start_job @JobName
November 28, 2007 at 3:58 pm
The function on this link should give you what you want.
Start of Week Function:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=47307
select
Date,
[Week stating Monday] =
dateadd(dd,(datediff(dd,-53690,a.DATE)/7)*7,-53690)
from
MyTable a
November 28, 2007 at 3:46 pm
There is nothing wrong with page lookups per second being high. All that counter really means is that SQL Server is accessing pages that are already in memory. ...
November 27, 2007 at 4:15 pm
If you are going back to school to get another degree, get an advanced degree, not another Bachelor’s degree.
I don’t think a degree in CS is necessary to be a...
November 26, 2007 at 3:44 pm
The script in the link below will give you the information you want.
Get Server Database File Information
November 26, 2007 at 2:55 pm
For it to do what you want, InvoiceDate must be part of the primary key on each table that is part of the view.
Since you do not have a primary...
November 26, 2007 at 2:49 pm
Would it be possible for you to post the DDL statements for the tables and the view?
November 26, 2007 at 2:34 pm
The size of the backup is about equal to the amount of space used in the database. The link below will give you the size of all databases on...
November 26, 2007 at 1:25 pm
Bhavani Taninki (11/21/2007)
Select
Income,
Expense,
(
(Cast(Income as Float) - Cast(Expense as Float)) / Cast( ISNULL(NULLIF(Income,0),1) as Float)
) * 100 As percentageexpense
FROM
(
select income =4, expense =3
union all...
November 21, 2007 at 7:24 am
don_goodman (11/20/2007)
...7. Store your dates in varchar columns; 20 or 25 elements will work. It eliminates the conflicts between the different programming languages
...
Worst advice ever! That's a real rookie...
November 20, 2007 at 2:54 pm
I think this may be simpler:
while 1=1
begin
fetch ...
if @@fetch_status <> 0 break
if dbname in ('northwind','pubs')
begin
.. send email or whatever ...
continue
end
... rest of stuff in cursor loop ...
end
November 20, 2007 at 8:30 am
Viewing 15 posts - 2,626 through 2,640 (of 3,008 total)