Viewing 15 posts - 331 through 345 (of 3,011 total)
What is the datatype of the column containing the bad data?
If it is not a DATE, DATETIME, DATETYPE2, or SMALLDATETIME datatype, what it the format of the data?
If you really...
December 20, 2012 at 10:51 am
samalex (12/20/2012)
December 20, 2012 at 8:22 am
The order of the data could have changed without adding a file to tempdb, so that problem could have started happening anytime.
You should always have an ORDER BY unless you...
December 20, 2012 at 7:35 am
sql-lover (12/19/2012)
64KB random IOs
sqlio v1.5.SG
using system counter for latency timings, 2474091 counts per second
parameter file used: data_param.txt
file...
December 19, 2012 at 2:15 pm
sql-lover (12/18/2012)
Leo.Miller (12/18/2012)
Looks to me like the disks aren't formatted at 64Kb. I'd definitly check this as there are some gains to be made here.Leo
I am not following you. The...
December 19, 2012 at 2:07 pm
The 64K random read and random write tests may be OK, but I would not call them spectacular, especially the 64K random write.
You should probably test again, adding more threads,...
December 18, 2012 at 1:24 pm
Joe.Spitler (12/11/2012)
The physical device name is a guid. I assume once I figure out what this guid is actually identifying I can get my BAK file?
Probably not. It...
December 11, 2012 at 1:36 pm
The location of the backup is recorded in column physical_device_name in table msdb.dbo.backupmediafamily.
If the backup is not going directly to a file system, physical_device_name may contain a path to a...
December 11, 2012 at 12:51 pm
JP10 (12/7/2012)
December 7, 2012 at 4:47 pm
You can pass as many parameters as you want in an XML parameter, including tables of data.
The real key is being able to parse the XML parameter using the built-in...
December 7, 2012 at 9:37 am
The most important thing for a naming convention is that it is always followed and enforced.
I have worked at several places with different naming conventions and they are all fairly...
December 7, 2012 at 9:20 am
Ulysses_Infinity (12/6/2012)
select cast(case datepart(dw,Loaddate)
when 1 then dateadd(ww,-0,Loaddate-6)
when 2 then dateadd(ww,-0,Loaddate)
when 3 then dateadd(ww,-0,Loaddate-1)
when 4 then dateadd(ww,-0,Loaddate-2)
when 5 then dateadd(ww,-0,Loaddate-3)
when 6 then dateadd(ww,-0,Loaddate-4)
when 7 then dateadd(ww,-0,Loaddate-5)
end...
December 6, 2012 at 8:16 am
The reason I use -53690, instead of 0 is simple: It produces correct results for the entire range of possible datetime values.
You can view the difference in the query...
December 5, 2012 at 3:54 pm
An UPDATE updates all rows that match the selection criteria. UPDATE statements do not return rows, unless you have an OUTPUT clause.
If you really want some help, you need...
December 4, 2012 at 3:23 pm
This will give it to you in a single result set using dynamic SQL:
declare @Cmd nvarchar(max)
select
@CMD =
isnull(@cmd+N'union all',N'')+
N'
select
[DB]= N'''+db.name+N''' ,
[Type Count]= count(*),
[Type_Desc]= [Type_Desc]
from
'+quotename(db.name)+N'.sys.objects a
group by
[Type_Desc]
'
from
sys.databases db
where
db.source_database_id is null
order by
db.name
set...
December 4, 2012 at 3:01 pm
Viewing 15 posts - 331 through 345 (of 3,011 total)