Viewing 15 posts - 1,081 through 1,095 (of 2,647 total)
Again... Always best to contact a MS rep on this. However, if I remember correctly, software assurance is for the product purchased. So if you buy SQL Server 2005...
April 19, 2012 at 7:36 am
pamozer (4/18/2012)
So your thought is for all 10000 databases (approx), I should consolidate into 2 Report servers? Can Sql SErver handle that? We expect to have almost double...
April 18, 2012 at 2:35 pm
charles-1011021 (4/18/2012)
[LastBarcodeTimeStamp] is Binary(8) because MS said the a timestamp converted to a Binary(8) field
RowCounter...
April 18, 2012 at 1:50 pm
Sean Lange (4/18/2012)
charles-1011021 (4/18/2012)
fully understand it has nothing to do with time, but it does indicate the order rows were modifed in the table.
Not really true or an accurate way...
April 18, 2012 at 1:48 pm
Ok, but there is no WHERE in your SELECT. So you are always getting the MAX from the entire table.
April 18, 2012 at 1:43 pm
[LastBarcodeTimeStamp] --I assume this column is a VARBINARY(MAX)?
CONVERT(varbinary(max), MAX(timestamp), 1) --Why MAX(timestamp)?
WHERE RowCounter = 1 --What data type is RowCounter column?
April 18, 2012 at 1:23 pm
ONE MORE! You still haven't told us what is not working... It is not updating? It is not updating correctly? What does "not correctly" mean? Don't make us fish,...
April 18, 2012 at 1:13 pm
Hmm... Also, why are you using a VARBINARY(MAX)? You do realize that will move all of that data off of the page?
April 18, 2012 at 1:11 pm
Have you read up on the timestamp data type? It is not "a timestamp," it is a data type called timestamp that is simply unique binary numbers. This has...
April 18, 2012 at 1:10 pm
Sean Lange (4/18/2012)
As I posted in the other thread. The timestamp datatype is deprecated. http://msdn.microsoft.com/en-us/library/ms182776%28v=sql.105%29.aspxUse datetime to record datetime information.
I think since it is used in MAX(), it is...
April 18, 2012 at 12:59 pm
Who is the vendor? Looks like I could sell my skills to them... What a lot of NOLOCKs!
April 18, 2012 at 12:57 pm
I don't like the open source idea... BTW, open source <> free.
I would design a solution with 1 or 2 reporting servers that get the data replicated to them or...
April 18, 2012 at 12:52 pm
Going along with Lynn, what is the data type of your timestamp column? Are you getting errors? If so, what errors? Can you run the SELECT CONVERT(...) statement by...
April 18, 2012 at 12:49 pm
PiMané (4/18/2012)
create view vw_index_usage as
select object_name(a.object_id) "tablename",
c.name "indexname",
c.type_desc "indextype",
case c.is_unique
when 1 then
case is_primary_key
when 1 then
'Primary Key'
else
'Unique'
end
else
case c.is_unique_constraint
when 1...
April 18, 2012 at 11:50 am
dsohal (4/18/2012)
GO
/****** Object: StoredProcedure [dbo].[xp_sendmail] Script Date: 04/18/2012 13:21:36 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROC [dbo].[xp_sendmail]
@recipientsvarchar(max)=NULL,
@messagevarchar(max)=NULL,
@queryvarchar(max)=NULL,
@attachmentsvarchar(max)=NULL,
@copy_recipients varchar(max)=NULL,
@blind_copy_recipientsvarchar(max)=NULL,
@subjectvarchar(max)=NULL,
@typesysname=NULL,
@attach_resultschar(5)=NULL,
@no_outputchar(5)=NULL,
@no_headerchar(5)=NULL,
@widthint=9,
@separatorchar(1)='',
@echo_errorchar(5)=NULL,
@set_usersysname=NULL,
@dbusesysname=NULL,
--call parameters outside the range of old xp_sendmail call
@profile_namesysname=NULL,
@body_formatVARCHAR(20)='TEXT',
@importanceVARCHAR(6)='NORMAL',
@sensitivityVARCHAR(12)='NORMAL',
@query_attachment_filenameNVARCHAR(260)=NULL,
@append_query_errorBIT=0,...
April 18, 2012 at 11:43 am
Viewing 15 posts - 1,081 through 1,095 (of 2,647 total)