Viewing 15 posts - 166 through 180 (of 3,544 total)
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...
Far away is close at hand in the images of elsewhere.
Anon.
... 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...
Far away is close at hand in the images of elsewhere.
Anon.
I was on Poland recently, but no one let me drive a tank...
Now, that would be scary :-/
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
Best to ignore the post and everyone else do likewise 🙂
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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...
Far away is close at hand in the images of elsewhere.
Anon.
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
Far away is close at hand in the images of elsewhere.
Anon.
Viewing 15 posts - 166 through 180 (of 3,544 total)