Viewing 15 posts - 1,711 through 1,725 (of 9,641 total)
If you are doing this in a stored procedure I'd probably do an IF statement like this:
IF @regionId IS NOT NULL
BEGIN;
...
March 7, 2012 at 7:15 am
Guras (3/6/2012)
The size of the log file is 24G and the database is internally fragmented. The total number of the VLFs is more than 300....
March 7, 2012 at 6:54 am
Shouldn't be privileges as the SQL Agent Service Account is granted sysadmin rights on the SQL Server. You'd only have permissions issues if you were trying to access something...
March 6, 2012 at 2:59 pm
Koen Verbeeck (3/6/2012)
cvyc06 (3/6/2012)
March 6, 2012 at 2:45 pm
Can you try running one of the DBCC CHECKDB commands listed in the T-SQL window by itself and see if you get a better error message?
You can also run this...
March 6, 2012 at 8:58 am
Sounds to me like you will need to use a script component in your data flow. In the script component you can use the Split function on that specific...
March 6, 2012 at 8:51 am
One tool I don't see on your list is SQLSentry PerformanceAdvisor which is a very good tool for performance monitoring. It does have email alerting, but I don't think...
March 6, 2012 at 8:48 am
I ahve to agree with Joe and Jason here. There are some inconsistencies in where you can and should put the terminator. In fact you BEGIN and END...
March 6, 2012 at 8:13 am
By default all users created are added to the PUBLIC role. This is because there is a need for some access to metadata for all users. There are...
March 6, 2012 at 7:56 am
I'm going to make a couple of comments.
1. Concatenating text to create a SQL Statement in the application leaves your application vulnerable to SQL Injection. You should search...
March 6, 2012 at 7:48 am
I agree with Gianluca. There really doesn't seem to be a reason that this won't perform well with more rows, since this is still a set-based operation.
March 6, 2012 at 7:37 am
I agree that you should identify a natural key in each table, but I'm not sure you have one in either table structure you have defined.
I'm assuming that this is...
March 6, 2012 at 7:31 am
I think this, https://connect.microsoft.com/SQLServer/feedback/details/587897/connecting-via-a-linked-server-to-an-access-2010-database-file, might address your issue. Be sure to read all the comments and workarounds.
March 6, 2012 at 7:24 am
I'm not sure I totally understand your situation based on the examples that you have given. Your table design(s) show PropertyTracked as an integer, but your examples appear to...
March 5, 2012 at 4:00 pm
If they should have administrator access to everything then you can add them as an administrator at the top level and that should apply to all levels.
In reality, you should...
March 5, 2012 at 3:20 pm
Viewing 15 posts - 1,711 through 1,725 (of 9,641 total)