Viewing 15 posts - 991 through 1,005 (of 1,241 total)
You have to touch everything that depends on that data stream so that it knows what to do with that new column.
----------------------------------------------------
June 26, 2014 at 5:59 pm
SSIS has an XML source and XML task. THe XML task can validate your data, merge it with another xml set and even do comparisons between the sets (You would...
----------------------------------------------------
June 26, 2014 at 5:56 pm
Hi,
What provider did you use when creating your link?
----------------------------------------------------
June 26, 2014 at 5:20 pm
Not sure if this is still an issue for you... other options are using the fast load option in a OLE DB destination. Not sure if there are constraints on...
----------------------------------------------------
June 26, 2014 at 11:10 am
I would be interested in seeing the solution.
Wouldn't "SELECT CURRENT_USER, ORIGINAL_LOGIN(), SESSION_USER, USER, USER_NAME(), SYSTEM_USER" return the general user account ? If this is a scheduled job created...
----------------------------------------------------
June 26, 2014 at 10:55 am
You would need a helper dataset query that went something like :IF (@client=1)
begin
select @datefrom = dateadd(m, -6, getdate() )
You pass the results to the master dataset ...
----------------------------------------------------
June 18, 2014 at 4:49 pm
My advise here is to build a more general stored procedure that brings in all the columns you need at a granular (lowest common factor) level. I assume you mean...
----------------------------------------------------
June 18, 2014 at 4:45 pm
Was this message the result of a server trigger, has this been ruled out? To remove permissions, one would employ the REVOKE command.
----------------------------------------------------
June 18, 2014 at 4:24 pm
Try the default trace to see what ran prior to your reboot.
----------------------------------------------------
June 11, 2014 at 6:00 pm
One thing that slows things down is casting in the where clause. I see this in query 2.
plus I also see in the WHERE clause -->
Entitlement.EntitlementId IS NULL ...
----------------------------------------------------
June 11, 2014 at 5:28 pm
You can also include the percent/ratio in your sql query and pass it as a column to the report via the result set.
Example ::
USE ADVENTUREWORKS2008R2;
Go
SELECT
personType, count(*) as Total,...
----------------------------------------------------
June 11, 2014 at 4:19 pm
I would say that a SQL Server job does not roll back the preceding steps when you encounter a step that fails. You can add all your SP calls to...
----------------------------------------------------
June 11, 2014 at 12:41 pm
To find tables to remove .. I am assuming you want those less/most used to be flagged somehow?
This tells you the tables most accessed
SELECT
t.name AS 'Table',
SUM(i.user_seeks...
----------------------------------------------------
May 29, 2014 at 6:59 pm
Nice script. Could be modified to show which are the ones with elevated fragmentation.
----------------------------------------------------
May 29, 2014 at 6:30 pm
MMartin1 (5/28/2014)
You could try
WITH Ordered AS
(
SELECT*, ROW_NUMBER() OVER ( PARTITION BY name ORDER BY Id) AS RN
FROM #mytable where ID
in ('TIX123','TIX999')
)
select * from ordered
where RN=1
to move the...
----------------------------------------------------
May 28, 2014 at 1:43 pm
Viewing 15 posts - 991 through 1,005 (of 1,241 total)