Viewing 15 posts - 1,141 through 1,155 (of 9,641 total)
It would much easier to provide a working solution if you provided a small set of sample data and the expected output. I've read your post several times and...
March 4, 2014 at 8:23 am
Can you post the code you are using. I just tested using this:
DECLARE @data NVARCHAR(MAX) = 'EXEC Proc_gen @PsID=12, @kID=-1, @ID=3183';
SELECT @data AS theData ,
...
March 4, 2014 at 7:47 am
I don't think that there is a way to do what you are requesting. Database triggers are only for DDL statements, not DML statements.
Sure the trigger that SQLSACT...
March 4, 2014 at 7:43 am
The IIF is an inline IF statement so the expression I provided says, if the value for the parameter is empty then don't bother adding that parameter to the query...
February 27, 2014 at 12:44 pm
I think that the offline property is a package property pre-SSIS 2012, so you need to look for that property on the package itself.
February 27, 2014 at 12:43 pm
Adapting my query to do what you want isn't that difficult. Something like this will do it (I'm only showing weekly, but you could do all of them either...
February 27, 2014 at 5:03 am
Dird,
I am not aware of any bugs with the generation of identity values. There are 3 ways you can get gaps in identity values:
1. Failed inserts. This...
February 27, 2014 at 4:53 am
I think option #2 is probably the simplest option since Linked Servers aren't an option. Implementing option 2 could be as simple as a single SSIS package that runs...
February 26, 2014 at 8:37 pm
This is an interesting problem. It seems like, and I haven't tried this so I don't know for sure if it'll work, you need to have a Table with...
February 26, 2014 at 8:30 pm
In my opinion, the best way to solve this would be by using an expression in the query for your main dataset that evaluates the selection in the hair product...
February 26, 2014 at 8:18 pm
Since you said in T-SQL I won't bother trying a PoSH solution. The way I'd typically do something like that is to use a linked server from DEV to...
February 26, 2014 at 8:10 pm
Sorry, I missed the "how to avoid it part" in my first post confirming the behavior. I actually had a hard time duplicating the behavior until I used a...
February 26, 2014 at 8:03 pm
All right. I ran a test using an XEvent session to get the locks acquired by DBCC CHECK_IDENT with a RESEED. The important locks acquired are a SCH-M...
February 26, 2014 at 7:54 pm
I believe this might get you started.
WITH stalls
AS ( SELECT LEFT(Physical_name, 1) DriveLetter ,
...
February 26, 2014 at 2:34 pm
I can't find "AUdit Action Type" in an audit. I see an action and a class. Here's a query I'd potentially use:
SELECT *
FROM sys.fn_get_audit_file([Path],
...
February 26, 2014 at 12:33 pm
Viewing 15 posts - 1,141 through 1,155 (of 9,641 total)