Viewing 15 posts - 3,406 through 3,420 (of 8,731 total)
jasona.work (2/4/2016)
The curiosity...
February 4, 2016 at 11:02 am
What's wrong with LIKE operator if it does exactly what you're asking for?
SELECT *
FROM #Source s
JOIN #result r ON ' ' + r.column_result + ' ' LIKE '% ' +...
February 4, 2016 at 10:24 am
I'm not asking for a data set with thousands of rows. I'm just asking for something that can replicate the infinite loop problem and we can fix the issue.
I'm not...
February 4, 2016 at 9:57 am
Chris,
Is there any particular reason for using 1900 + DATEDIFF(YEAR,0,GETDATE()) instead of YEAR(GETDATE()) ?
February 4, 2016 at 9:29 am
Data source views(DSV) are stored as XML which is not that hard to get. You just need to explore a bit as I can't remember the exact tag that it's...
February 4, 2016 at 9:27 am
I'm not sure what you're trying to do. You're not really using a hierarchy, but concatenating values.
Maybe this could work better for you.
CREATE TABLE #Table(
col1 ...
February 4, 2016 at 9:20 am
Your columns are not varchar, otherwise you wouldn't have the conversion error.
Also, mm/dd is not a date format valid for SQL Server. Dates need a year to be stored/showed as...
February 4, 2016 at 8:57 am
BL0B_EATER (2/4/2016)
DonlSimpson (2/4/2016)
ZZartin (2/4/2016)
Ed Wagner (2/4/2016)
Grumpy DBA (2/4/2016)
Ed Wagner (2/4/2016)
BarbequeRibs
Pulled Pork
Pirates
Arrr...
pain
gain
February 4, 2016 at 8:37 am
Phil Parkin (2/4/2016)
Grant Fritchey (2/4/2016)
Grumpy DBA (2/4/2016)
February 4, 2016 at 8:37 am
This got me by surprise. I'm not searching for jobs, but it got my attention because it was totally unexpected (but possibly logical).
February 3, 2016 at 6:59 pm
The code that I posted previously is giving the expected results (after correcting your sample data script). What's your question/problem?
February 3, 2016 at 2:07 pm
Raxter (2/3/2016)
Do you recommend a loop?
No, definitively not a loop. However, I'm not sure what to recommend without more information and sample data.
February 3, 2016 at 1:19 pm
You might also want to check the following article about importing flat files into SQL Server.
http://www.sqlservercentral.com/articles/BCP+(Bulk+Copy+Program)/105867/
February 3, 2016 at 1:00 pm
You certainly showed more information, but you didn't post it as it was requested. You're new here so I'm including the full example.
Be aware that if you don't have enough...
February 3, 2016 at 11:47 am
Brandie Tarvin (2/3/2016)
Luis Cazares (2/3/2016)
Brandie Tarvin (2/3/2016)
Luis Cazares (2/3/2016)
Brandie Tarvin (2/3/2016)
SQLian (2/3/2016)
delete [FROM] Customers
where ...
February 3, 2016 at 10:03 am
Viewing 15 posts - 3,406 through 3,420 (of 8,731 total)