Viewing 15 posts - 7,081 through 7,095 (of 9,643 total)
Have you verified that the data in the variable is changing as you expect in the loop? You can use a script component with a MEssageBox to show the...
October 28, 2008 at 7:00 am
Lynn provided that code as an EXAMPLE. You replace the #temptable reference in the select query with YOUR table name (tblPersonnel).
October 28, 2008 at 6:57 am
I'm not sure what you are asking now. The code Lynn provided could be used to create a view or within a stored procedure that you would call whenever...
October 28, 2008 at 6:31 am
Check out this article: http://www.sqlservercentral.com/articles/tamestrings6/263/
October 27, 2008 at 3:28 pm
gyanendra.khadka (10/27/2008)
Thanks Jack. I don't believe they will be ready for SSRS.
Do you mean your users or you? SSRS will give them the data in a easier to read...
October 27, 2008 at 3:22 pm
Have you looked a SSRS (it is part of the SQL Server license)? You can schedule reports to be sent via email.
I'd do something like this in T-SQL:
SELECT DISTINCT...
October 27, 2008 at 2:51 pm
The best way to run is using 2005, but if you have old code that is not supported in 2005 you don't have much choice. I am currently running...
October 27, 2008 at 2:18 pm
What are you using to render the report? Normally that kind of detail/sum reporting would be best handled by using grouping in the reporting solution you use whether it...
October 27, 2008 at 2:16 pm
How do you want to handle null/invalid values in the average? Do you want to ignore them or count them as 0? If you have the following 3...
October 27, 2008 at 2:08 pm
Lowell,
Thanks for fixing my code too! I always forget that one because I always think it changes the context, but it doesn't.
October 27, 2008 at 1:57 pm
Okay this is similar to Lowell's solution, but I'll put it out there anyway:
sp_msforeachdb @command1 = 'Select
''?'' as db,
S.name as schemaname,
T.name as tablename,
P.rows
from
sys.partitions P Join
sys.tables T On
P.object_Id =...
October 27, 2008 at 8:57 am
There may be a users group that is not an official PASS chapter. I'd try to find my area's MS Evangelist to find out about user groups in your...
October 27, 2008 at 8:44 am
I am talking aout the user domain account used to run the SQL Server services. Do I just need to create a domain user account with password and no more...
October 27, 2008 at 7:42 am
Can you post what your desired outcome looks like? Also post some test data so we can see exactly what you are working with and trying to do. ...
October 27, 2008 at 7:40 am
There are a couple of things you should do.
1. Make sure your statistics are up to date
2. View your execution plan to verify that you have appropriate...
October 27, 2008 at 7:32 am
Viewing 15 posts - 7,081 through 7,095 (of 9,643 total)