Viewing 15 posts - 8,311 through 8,325 (of 9,641 total)
Are all the procs in the same schema? The easiest way to fix this is to set GRANT Execute On SCHEMA :: [schema_name] to [principal_name].
July 22, 2008 at 9:01 am
The way I am reading the procedure you are only processing zip codes for TX, FL, and LA. Is this what you want? If so there are a...
July 22, 2008 at 8:52 am
Login to the server. Access to the database with Select only on those 4 tables.
July 22, 2008 at 8:17 am
Jeff Moden (7/21/2008)
Jack Corbett (7/21/2008)
I think this may do what you want (I created some dummy data):
Jack... after you get done building it, change all the Addresses to 0 for...
July 22, 2008 at 7:42 am
The toolman has that right. You could even compile that into a DLL, in which you would have other commonly used custom functions in SSRS, and reference the DLL...
July 22, 2008 at 7:38 am
kenksoftware (7/22/2008)
July 22, 2008 at 7:36 am
Duh! That's what I get for ASSuming that the variable name and column names are consistent.
July 21, 2008 at 7:15 pm
No you do not because of the FULL OUTER JOIN between the inserted and deleted tables. Notice he is using the CASE statement to determine if it is an...
July 21, 2008 at 1:21 pm
I actually just re-read an article today that recommends using JOINS instead of subqueries. Here is the link, http://www.builderau.com.au/program/sqlserver/soa/Optimise-SQL-Server-queries-with-these-advanced-tuning-techniques/0,339028455,339283995,00.htm
You can actually eliminate the reference to the tblUsers table altogether...
July 21, 2008 at 1:17 pm
Are you using a select nvarchar(max) in SSMS to try to debug/check the dynamic sql string? Perhaps the UI Is truncating it.
July 21, 2008 at 1:08 pm
Yeah it definitely would be hard to maintain when you make schema changes.
I need to evaluate the logging I was planning, although I and my co-worker were going...
July 21, 2008 at 1:01 pm
Have you checked for blocking while the long query is running? I know you said that your interactive queries are the only things running, but I can't think of...
July 21, 2008 at 12:51 pm
The code you have posted looks like it should work to avoid the divide by 0 error. Are you sure you are always getting a value in the divisor...
July 21, 2008 at 12:48 pm
GSquared (7/21/2008)
hengert (7/21/2008)
I have to create a trigger for 9 tables. So, depending on how many columns each table has, it would be a nightmare to write.
Unless you're talking about...
July 21, 2008 at 12:37 pm
Sure you can make it format better by adding Carriage Returns, Line Feeds, and Tabs. You would do this using the CHAR() function. I believe it is CHAR(10)...
July 21, 2008 at 12:29 pm
Viewing 15 posts - 8,311 through 8,325 (of 9,641 total)