Viewing 15 posts - 151 through 165 (of 1,315 total)
I find it is often easier to use C# to define a complex process than having a workflow with many tasks and connections going all over the place. You can...
September 14, 2017 at 11:04 am
I would use a no-cursor, no-temp-table version that includes schema. The value used for @QualifiedTableName can include the schema and any needed brackets.DECLARE @QualifiedTableName SYSNAME = 'schema.table';
DECLARE...
July 11, 2017 at 1:37 pm
RE: VB vs Java (why not PowerShell?) for managing extended properties. Why use either?
You can use sys.extended_properties to view all extended properties.
If you put an INSTEAD OF trigger...
July 11, 2017 at 11:17 am
Go to Tools -> Options -> SQL Server Object Explorer -> Scripting.
I think you're looking for the "Script partition schemes" setting.
June 27, 2017 at 2:32 pm
June 13, 2017 at 8:58 am
You could use this query:SELECT TransTableDetail_Trans_To
FROM TransTableDetail
WHERE TransTable_Description IN ('LFAllCSCW', 'LFTEST')
GROUP BY TransTableDetail_Trans_To
HAVING COUNT(DISTINCT TransTable_Description) = 2
-- If table has a unique index...
June 12, 2017 at 3:18 pm
I'd still like to hear someone say why they don't use UPDATE ... OUTPUT to pick an item from the queue without an explicit transaction.
UPDATE TOP (1)...
June 12, 2017 at 2:50 pm
/* Copy multiple databases via BACKUP - RESTORE
Assumptions:
SQL Server 2008 or later (set values in DECLARE, += operator, compression, copy_only)
URL is accessible from...
May 31, 2017 at 1:36 pm
There's not enough info on the role of the id column. If you only want unique names, and one table contains (5,"SSIS") while the other contains (12, "SSIS"), a UNION...
May 23, 2017 at 11:13 am
UNION ALL will cause each Name to be repeated if it appears in both tables.
Are the ID values significant? If by "display the Common" you mean you only want...
May 22, 2017 at 1:41 pm
If the additional header rows cause errors, you could change the error handling on the flat file source to "Redirect Row" for all columns and have them filtered out of...
May 11, 2017 at 9:54 am
Rebuilding indexes on large tables definitely causes a lot of log file activity. The rebuild will not complete if the log file drive runs out of space.
You don't...
February 9, 2017 at 8:18 am
January 30, 2017 at 9:56 am
January 25, 2017 at 11:15 am
Thanks, that solved the problem.
October 13, 2016 at 9:10 am
Viewing 15 posts - 151 through 165 (of 1,315 total)