Viewing 15 posts - 4,891 through 4,905 (of 8,753 total)
Lynn Pettis (7/16/2015)
SET NOCOUNT ON;
DECLARE @TEST_NULL_SORT TABLE (AREA VARCHAR(50) NOT NULL, CATEGORY...
July 16, 2015 at 12:02 pm
Further on Gail's and Steve's replies, don't ponder on how before you can identify and quantify the potential problem. If there are only 10-20 inserts per second, each record would...
July 16, 2015 at 11:56 am
Bharatvip (7/15/2015)
July 16, 2015 at 1:32 am
Arjun SreeVastsva (7/16/2015)
Hey,what is better values for Buffer Cache Hot Ratio in SQL Server 2012.
is the values changed from 2008r2 to 2012?
Depends on few things but one aims as close...
July 16, 2015 at 1:10 am
Does not exist in SQL Server but a workaround could be adding a sort column
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @TEST_NULL_SORT TABLE (AREA VARCHAR(50) NOT NULL, CATEGORY VARCHAR(50) NULL);
INSERT INTO...
July 15, 2015 at 1:04 pm
Quick thought, normally I would script out A, do whatever modificarions needed and then run the scripts on B and full rebuild.
😎
July 15, 2015 at 11:38 am
halifaxdal (7/15/2015)
Thanks Drew, Eirikur, ScottI have decided to take your suggestion and create another bridge to avoid using the painful concatenated values in a column.
Glad you made the right decision,...
July 15, 2015 at 11:33 am
rodjkidd (7/15/2015)
Oh looks like the relay web site has been updated...Now taking submissions for sessions!
Rodders...
Thanks for the heads up Rodders
😎
July 15, 2015 at 10:48 am
Firstly, do not use concatenated values in a column, just going to be a pain!
😎
Here is a simple ERD to explain the concept
...
July 15, 2015 at 10:44 am
Brandie Tarvin (7/15/2015)
July 15, 2015 at 10:10 am
WayneS (7/15/2015)
CREATE FUNCTION dbo._tTVFN_tEEst2 (@countryNr INT, @telNr NCHAR(30))
RETURNS...
July 15, 2015 at 9:36 am
WayneS (7/15/2015)
TheSQLGuru (7/15/2015)
I am very surprised that the XML_PATH is fastest. I always thought XML handling in SQL Server was horribly inefficient and bloated (especially from a memory-use perspective).
XML shredding...
July 15, 2015 at 9:25 am
Jeff Moden (7/15/2015)
Eirikur Eiriksson (7/15/2015)
Ah, now I get it, migrate from one version of SQL Utopia to another:hehe:😎
Or one version of ANSI Utopia to another. 😀 ANSI and...
July 15, 2015 at 8:43 am
GilaMonster (7/15/2015)
Yes, asking people to write an efficient query when you don't entirely know what you need is a really good way to get a useless answer....
...and an utter waste...
July 15, 2015 at 8:37 am
Raymond van Laake (7/15/2015)
What's the final code now?
This one here is by far the fastest as Wayne's test clearly shows
😎
IF OBJECT_ID(N'dbo._iTVFN_tEEst') IS NOT NULL DROP FUNCTION dbo._iTVFN_tEEst;
GO
CREATE FUNCTION [dbo]._iTVFN_tEEst (@countryNr...
July 15, 2015 at 8:30 am
Viewing 15 posts - 4,891 through 4,905 (of 8,753 total)