Viewing 15 posts - 1,186 through 1,200 (of 1,218 total)
Good news! there is an easy way out:
CREATE UNIQUE CLUSTERED INDEX pk_table(pkcol)
WITH (DROP_EXISTING = ON) ON partition_scheme(pkcol)
The key is the DROP_EXISTING = ON clause.
Now, if you plan to...
July 10, 2013 at 3:40 am
You have that information in sys.destination_data_spaces.
July 9, 2013 at 4:17 pm
No, it is not a silly question. But to be sure that you have the very last log backup, you should put the database in single-user mode before you take...
July 9, 2013 at 4:13 pm
mister.magoo (7/8/2013)
This would be because you are attempting...
July 9, 2013 at 2:00 am
Since the description you give is on a fairly high-level, it is difficult to give exact advice, but, no, from what you say I don't think indexed views is what...
July 7, 2013 at 1:55 pm
This is not a simple problem, but mister.magoo is correct. The trigger way is not likely to work out well. First a few words on why the trigger you have...
July 7, 2013 at 1:50 pm
Sean Grebey (7/2/2013)
July 6, 2013 at 3:00 pm
Have you considered log shipping?
July 6, 2013 at 2:51 pm
How does the format file look like? Any chance you can attach the problematic datafile?
July 6, 2013 at 3:04 am
You could do away with the big CASE expression if you use the datename function:
datename(MONTH, ins.lasUpdateDate) + ', ' + datename(YEAR, ins.lastUpdateDate)
As for the actual problem, I assume that ins.LastUpdateDate...
July 6, 2013 at 2:58 am
If I understand the query correctly, the task is to find the RefKey for the interactions which INum is @INum, PromoOrRef is R, ResultStatus is 312 and DeleteFlg is N...
July 6, 2013 at 2:48 am
Yes, the data type for isnull is always the type of the first argument.
July 5, 2013 at 1:54 pm
When you use EXECUTE AS, you impersonate a database user, not a server login and you are sandboxed inside your database. You can break out of the sandbox - and...
July 5, 2013 at 1:30 pm
jhager (7/5/2013)
Another great reply; I currently ask my team to use COALESCE exclusively because it's ANSI standard and more flexible due to multiple parameters..
However, there is a major problem with...
July 5, 2013 at 1:25 pm
shyam00 (7/5/2013)
Is there any way to tackle my scenario mentioned here.?
I need to combine (UNION) two non related derived tables and create an indexed...
July 5, 2013 at 1:19 pm
Viewing 15 posts - 1,186 through 1,200 (of 1,218 total)