Viewing 15 posts - 46 through 60 (of 60 total)
SSRS has a built in export to CSV. Would that work to get a text format?
July 3, 2014 at 2:04 pm
In a multi-threaded application, anything that isn't thread safe should be wrapped in a sync lock. This makes it so that only one thread can enter the sync lock section...
May 29, 2014 at 3:03 pm
If you change your UNION to a UNION ALL, it will work. Note that it will not filter out duplicates like UNION will.
May 2, 2014 at 2:13 pm
I think the same issue can be had anywhere. It might be less likely to happen if reports are developed by the BI experts because we know how to test...
January 21, 2014 at 12:49 pm
This kind of depends on what your security needs are. If you just want everyone to be able to be able to get to the reports, then you can do...
January 17, 2014 at 10:06 am
Another option is to use a tally table.
See http://www.sqlservercentral.com/articles/T-SQL/62867/[/url]
and go down to the section dozens of other uses. What you're looking for is in that section.
December 9, 2013 at 10:52 am
Oh yeah, you have the convert in there, which returns a VARCHAR type. So even though it's displaying numbers, the datatype is VARCHAR.
You can move the AVG function directly around...
November 4, 2013 at 7:07 am
Steve-0 (11/4/2013)
I'm new to writing SQL queries and I'm a bit stumped in this one. The below query currently defines a total elapsed time of specific jobs that I...
November 4, 2013 at 6:43 am
That sounds like a permissions issue with the folder where you're trying to put the text files. We're doing something similar and we have a shared folder set up with...
November 1, 2013 at 2:30 pm
Typically what you do is something like...
(This is a generic table to illustrate the process)
CREATE TABLE #tmp
(
Col1 INT,
Col2 VARCHAR(50),
Col3 VARCHAR(50)
)
And then you insert into the temp table for all the...
November 1, 2013 at 1:39 pm
I haven't looked up the error code, but at a guess, I'd say the server was unable to get information from your domain controller.
The best thing to do is to...
November 1, 2013 at 1:19 pm
The first thing that comes to mind is to make use of a temp table or a table variable. Insert your delivery information into a temp table, and then update...
November 1, 2013 at 7:29 am
Having the query engine choose a scan instead of a seek isn't going to be affected by how fragmented your index is. An index, by definition, is the ordering of...
October 31, 2013 at 9:30 am
The best advice anyone can give about whether the time spent on the index reorg is normal is to take measurements and see what you normally get. The answer about...
October 31, 2013 at 8:53 am
In the past, I've done things like this using role based permissions. You can design the system differently, but a lot of the basic building blocks would be to have...
October 25, 2013 at 9:17 am
Viewing 15 posts - 46 through 60 (of 60 total)