Viewing 15 posts - 781 through 795 (of 8,731 total)
December 16, 2017 at 9:14 pm
There's too much speculation and little details with no further replies from the OP.
December 16, 2017 at 12:23 pm
What about avoiding the pattern match and check for valid date values?
DECLARE @searchString varchar(1500);
SET @searchString='03/09/2017 07:52 AM | Lastname, Firstname | Completed - irrelevant...
December 15, 2017 at 8:09 am
Why would you try to escape the pipe? It's not a wildcard in t-sql.
December 15, 2017 at 7:40 am
Sure, you can read the following article to know the best way to do it.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - SQLServerCentral
December 14, 2017 at 1:30 pm
December 14, 2017 at 1:24 pm
December 14, 2017 at 12:14 pm
I suggest that you read this article from Itzik Ben-Gan.
http://www.itprotoday.com/microsoft-sql-server/logical-query-processing-what-it-and-what-it-means-you
You also need to learn about execution plans and the different operators. You'll understand that tables...
December 14, 2017 at 10:36 am
December 14, 2017 at 9:36 am
What happens if you run the following query?
SELECT YAB
FROM UD_Indiv_Data
WHERE YAB IS NOT NULL
AND TRY_CAST( YAB AS DATETIME) IS NULL;
If...
December 14, 2017 at 9:01 am
December 13, 2017 at 7:52 am
Is the data coming from different tables?
It seems that the easiest way would be to use both queries as CTEs and use a FULL JOIN between them.
Something like...
December 13, 2017 at 7:47 am
I've experienced problems with Intellisense when the connection is slow or the database is too large. Try refreshing the cache and give it some time to do it.
Or you...
December 12, 2017 at 8:37 am
Maybe something like this?
UPDATE t SET
MyAcctNumber = x.MyAcctNumber
FROM #Test t
JOIN (
SELECT Id, LAG( Id,1,0) OVER( ORDER BY Id) LAGId,...
December 11, 2017 at 2:07 pm
Viewing 15 posts - 781 through 795 (of 8,731 total)