Viewing 15 posts - 211 through 225 (of 2,458 total)
August 24, 2017 at 9:56 am
As pietlinden said, delimitedsplit8K is the way to go. You could do something like this:
DECLARE @FieldName VARCHAR(50)
SET @FieldName='#1550000#2099#14400#154006#15400#0#10#';
SELECT
Mon...
August 23, 2017 at 7:33 pm
DECLARE
@FieldName VARCHAR(50) = '#14400#14400#14400#14400#14400#0#0#' ;
SELECT @FieldName;
SELECT
Substring(@FieldName, 2, 5) Monday
...
August 23, 2017 at 7:25 pm
LAs Jeff zaid - your value is being sorted as text. You need to change the column data type to a percentage for that column.
August 23, 2017 at 6:14 pm
vsamantha35 - Wednesday, August 23, 2017 1:55 PMAttaching Actual Execution plan executed from SQL Sentry plan explorer.
For those of us without SQL...
August 23, 2017 at 2:31 pm
I currently have a large query which is taking over an hour to run, and...
August 21, 2017 at 9:03 pm
The best thing you can do is, if possible, lose the XML column, get this data into 3NF then index accordingly. If this is not an option then consider adding...
August 14, 2017 at 11:36 am
Well done - great collection of useful info.
I will advise, however, developers avoid using GO for inserting sample data as it would be horrifically slow.
For example,...
August 14, 2017 at 8:29 am
I started using IS with SQL Server 2005 because I was told, or read somewhere, that they were better; I don't believe this anymore. I use them now more often...
August 9, 2017 at 11:05 am
This will differ from company to company based on the size of the company, it's governance and size. Often I've seen the database people (e.g. DBA, SQL/BI Developers/Data Scientists) as...
August 9, 2017 at 8:55 am
I always enjoy seeing different approaches to handling fuzzy matching in SQL Server. That said, there are many issues with this approach that I don't want to dive into that...
August 7, 2017 at 10:00 am
July 26, 2017 at 8:38 am
Viewing 15 posts - 211 through 225 (of 2,458 total)