Viewing 15 posts - 556 through 570 (of 2,647 total)
Lynn Pettis (7/9/2012)
July 9, 2012 at 11:38 am
So, making clear what others are saying is... No. You cannot simply add a column to an existing table wherever you want. However, by using the Design option in...
July 9, 2012 at 11:20 am
July 9, 2012 at 11:13 am
It is not about it being in an SP, it is because the connection is dropped and SET options are connection specific. So... No, you cannot have this persist outside...
July 9, 2012 at 11:06 am
Try this:
EXEC sp_MSunmarkreplinfo 'databaseName'
July 6, 2012 at 1:12 pm
I'm not sure I completely understand... but could you use the ROW_NUMBER() function?
July 6, 2012 at 1:00 pm
Take a look at this:
MERGE tableName AS t
USING #tempTracking AS tt
ON t.keyColumn = tt.keyColumn
WHEN NOT MATCHED BY TARGET
THEN INSERT(keyColumn, columnA, columnB) VALUES(tt.keyColumn, tt.columnA, tt.columnB)
WHEN MATCHED AND...
July 5, 2012 at 2:21 pm
Ah. I believe you can use OUTPUT with a merge. I think I have a sample script, but I am having trouble finding it. I will post...
July 5, 2012 at 1:55 pm
SQL_Baltimore (7/5/2012)
SQLKnowItAll (7/5/2012)
July 5, 2012 at 1:37 pm
Ok. Maybe you can achieve the same thing by replicating from the 3rd party and then use DML triggers on your database to insert into a log table. We...
July 5, 2012 at 1:16 pm
Maybe I missed something, but why not just replicate the database and required tables instead of using CDC and then replicating? It seems to me like you are just...
July 5, 2012 at 12:37 pm
guerillaunit (7/5/2012)
Jeff, this seems like a particularly painful subject for you. I hope someday you'll get over the...
July 5, 2012 at 12:23 pm
If it is the application user that you want, and you are not concerned about others accessing the database through SSMs or some other way, then just write to a...
July 5, 2012 at 11:44 am
Lynn Pettis (7/3/2012)
SQLKnowItAll (7/3/2012)
Are you running out of space? If so, I wouldn't shrink them. Just continue to use up the available space.
I'm going to throw out the...
July 3, 2012 at 1:10 pm
Are you running out of space? If not, I wouldn't shrink the file. Just continue to use up the available space.
July 3, 2012 at 12:55 pm
Viewing 15 posts - 556 through 570 (of 2,647 total)