Viewing 15 posts - 376 through 390 (of 397 total)
use datediff(dd, InsertDate, '1/22/3004) in where clause instead.
January 22, 2004 at 3:26 pm
It does have negative impact on server load.
You can kill aged connections by query sysprocesses, there are login_time and last_batch columns to serve your purpose.
January 19, 2004 at 4:01 pm
use set dateformat to specify date format before loading
dateformat could have mdy, ydm or ymd. Check book-on-line for detail.
January 19, 2004 at 3:45 pm
It is a cross session issue.
Following code demo for that
declare @sqlst varchar(1000)
set @sqlst = 'declare @tbl table (au_id varchar(11));insert @tbl select au_id from authors;select * from @tbl'
exec (@sqlst)
January 19, 2004 at 3:21 pm
suspect network connection issue.
Make sure both client and server support the same network protocol.
In case of IP,
check if you can ping your server.
or change server name to ip address and...
January 19, 2004 at 3:12 pm
The added new field has to be not null with default value.
January 18, 2004 at 10:15 pm
convert total duration to seconds.
use dateadd and convert function with 108 style to get HH:mm:ss, then use datediff to get days.
Here is sample.
declare @sec int
declare @base datetime
select
January 14, 2004 at 8:48 pm
Log file(s) growing rate is a good indicator.
January 7, 2004 at 10:35 pm
A computed column can be spedified by one unit of calculation. It could be one of seconds, minutes, hours, days and years.
You can achieve any formt by using datediff function...
January 1, 2004 at 6:40 pm
check sp_dboption autoclose.
It is designed for lapton with limited resource. It costs in performance as usual.
January 1, 2004 at 5:35 pm
It sounds like a permission. Run it directly from server fail proves that.
Server might not have right back to local poxpro table.
January 1, 2004 at 5:27 pm
If it is part of transaction (use MSDTC). Then the literature applies.
December 30, 2003 at 7:43 pm
Backup log using sqlmaint, it prives cleaning up mechanism and naming convention.
Scheduled script to copy log files across and restore it.
In the event of error(warning), CDO mail is an option.
The...
December 29, 2003 at 10:48 pm
Viewing 15 posts - 376 through 390 (of 397 total)