Viewing 15 posts - 3,991 through 4,005 (of 8,753 total)
cycle90210 (1/13/2016)
The issue...
January 13, 2016 at 7:37 am
Quick suggestion, load the file into a separate table (ie. bulk load), check if everything is there (row count, sum etc.) and simply truncate the table if unsuccessful.
😎
January 12, 2016 at 10:09 pm
SQLRNNR (1/12/2016)
I dunno about the "correct" answer on this one. The statements compile for me but produce an error at run-time. Seems to be a bit of a mixup here.
What...
January 12, 2016 at 9:36 pm
WhiteLotus (1/12/2016)
Thanks for the feedback .What do mean by Query hint in this case ?
The query hint is the READCOMMITED, why are you using it? Is it because you are...
January 12, 2016 at 9:22 pm
Grant Fritchey (1/12/2016)
What's the query hint doing?
😎
WITH (READUNCOMMITTED)???
January 12, 2016 at 8:51 pm
MMartin1 (1/12/2016)
then...
January 12, 2016 at 8:47 pm
There are no effective predicates in this query, it will return all rows and the most effective way for the server to do that is a table scan.
😎
January 12, 2016 at 8:16 pm
have2much (1/12/2016)
Yes, it is already set to 50.
Assume you are running Enterprise edition, otherwise DBCC CHECKDB does not do parallel execution and obviously the Resource Governor is also an Enterprise...
January 12, 2016 at 2:20 pm
jeffsaks (1/12/2016)
Here's the story.
I have 20 computers running an MS ACCESS application, all connected via ODBC (SQL Server Native Client 11.0) to a SQL Server 2012.
Everything works great,...
January 12, 2016 at 1:07 pm
sqlfriends (1/12/2016)
This works great, thanks both.
You are very welcome and thank you for the feedback.
😎
January 12, 2016 at 1:02 pm
The two queries are not equal,SELECT * FROM information_schema.ROUTINES will return all routines regardless of the type, filtering on ROUTINE_TYPE = PROCEDURE will still return CLR procedures which SELECT *...
January 12, 2016 at 12:54 pm
Phil beat me to it 😉 Here is a slightly different version
😎
USE tempdb;
GO
SET NOCOUNT ON;
;WITH SAMPLE_DATA(HearingDate,HearingTime)
AS (SELECT CONVERT(DATETIME,X.HearingDate,120),HearingTime FROM (VALUES
('2001-10-06 00:00:00.000','0830')
,('2010-02-22...
January 12, 2016 at 12:36 pm
sys.all_sql_modules stores all sql modules, comparing tables it a bit more of a task, strongly suggest using 3rd party tool such as SQL Compare for this. A option could be...
January 12, 2016 at 11:43 am
snomadj (1/12/2016)
So I need to figure out how the...
January 12, 2016 at 11:10 am
guru2007 (1/12/2016)
Any simple answer to why I was receiving null from the query I was using?
Missing root note reference and root note namespace
😎
Another way is to use XMLNAMESPACES
DECLARE @TXML XML...
January 12, 2016 at 10:11 am
Viewing 15 posts - 3,991 through 4,005 (of 8,753 total)