Viewing 15 posts - 166 through 180 (of 3,543 total)
Ahh, yes the table does have a full text definition. It's just not finding A00J010002158. If I do like '%A00J010002158', it finds it. But that is very slow....
July 22, 2019 at 3:45 pm
Ah, apologies. I'd camped out too long on this post and didn't refresh before answering and so missed the fact that Mr. Burrows already posted the correct and for...
July 17, 2019 at 3:39 pm
As already stated this is normally done in presentation layer.
However if you wish to do it in T-SQL and the datatype is MONEY you can do it this way
July 17, 2019 at 12:32 pm
The only exception is for daily transfer of 40GB in 140 KISAM files from a third party system and found SSIS the fastest method.
I don't know...
July 12, 2019 at 4:10 pm
As for SSIS...I don't care for it either (I don't actually care for any of this drag'n'drop stuff because it turns out that's usually not all that's necessary) but...
July 12, 2019 at 8:10 am
... but SSIS can call a stored procedure for a data source, and write the output to a text file. That may make more sense than trying to format...
June 21, 2019 at 4:04 pm
I was on Poland recently, but no one let me drive a tank...
Now, that would be scary :-/
June 21, 2019 at 1:40 pm
Hello David, Instead of calling from procedure, can we handle in SSIS package using script component? with out casting original columns from the table?
Due to the fact the COUNT...
June 21, 2019 at 7:48 am
CREATE TABLE #output (TypeNo int,Line varchar(255));
INSERT #output (TypeNoLine)
SELECT 1,'HEADER|"'+CONVERT(char(8),GETDATE(),112))+'|"'+REPLACE(CONVERT(char(6),GETDATE(),108),':','') FROM #output;
INSERT #output (TypeNo,Line)
SELECT 2,CAST(id as varchar(20))+'|"'+CAST(empid as varchar(20))+'|"'+[text]
FROM [sometable];
INSERT #output (TypeNo,Line)
SELECT 3,'COUNT|"'+CAST(COUNT(*)+1 as varchar(20)) FROM #output;
SELECT Line
FROM...
June 20, 2019 at 12:57 pm
Best to ignore the post and everyone else do likewise 🙂
June 19, 2019 at 4:39 pm
It worked out well because, when people ask me why their code had performance issues, I could tell them, "Well, if you had used the fn Tally function like...
June 18, 2019 at 2:03 pm
While it's not my job to judge, I do "follow" you on these forums for a reason... you're posts over the last more than a decade have always been...
June 13, 2019 at 2:58 pm
IIRC, it was David Poole that said "If you're the first person people come to with database problems rather than the last, you might be an exceptional DBA".
They do...
June 13, 2019 at 7:36 am
Add a new row at the end of the table outside of any groups
Add text and format the row
Change the row visibility to hide the row if the dataset contains rows
June 12, 2019 at 12:27 pm
Not sure of your exact requirement but
UPDATE #table SET num = -(num + 1) WHERE num >= 5;
UPDATE #table SET num = 5 WHERE num = 0;
UPDATE...
June 10, 2019 at 12:57 pm
Viewing 15 posts - 166 through 180 (of 3,543 total)