Viewing 15 posts - 76 through 90 (of 309 total)
grant CREATE procedure TO
GO
grant CREATE FUNCTION TO
GO
November 1, 2016 at 9:04 am
Thanks for your kind response but there are 35 tables and all these tables have to be created in 150+ DBs. I already generated the script from the QA environment...
October 4, 2016 at 1:10 pm
anthony.green (10/2/2015)
CREATE TABLE #Temp (ParentObject VARCHAR(100), Object VARCHAR(100), Field VARCHAR(100), Value VARCHAR(100))
INSERT INTO #Temp
EXECUTE ('DBCC DBINFO (''YourDBNameHere'') WITH TABLERESULTS')
select
distinct
'Last Known Good DBCC CHECKDB',
Value,
datediff(day,convert(datetime,value),getdate()) AS...
October 2, 2015 at 10:29 am
So I am guessing it is not possible to track what data/value is getting inserted.
May 19, 2015 at 9:44 am
Eirikur Eiriksson (5/18/2015)You can tap into the activities with a trigger, extended events or even a trace, but that might in the end give you even a bigger head ache....
May 18, 2015 at 11:57 am
CKX (5/12/2015)
I say this because there is quite a difference between the estimated and actual...
May 12, 2015 at 8:33 am
Lynn Pettis (5/11/2015)
New Born DBA (5/11/2015)
Lynn Pettis (5/11/2015)So the following (hopefully I mapped everything correctly using the VIEW definition) didn't help:
CREATE NONCLUSTERED INDEX [Test] ON [dbo].[T387]
(
[C6] ASC
)
INCLUDE
(
...
May 11, 2015 at 2:17 pm
Lynn Pettis (5/11/2015)So the following (hopefully I mapped everything correctly using the VIEW definition) didn't help:
CREATE NONCLUSTERED INDEX [Test] ON [dbo].[T387]
(
[C6] ASC
)
INCLUDE
(
C1,
...
May 11, 2015 at 1:43 pm
Lynn Pettis (5/11/2015)Show us that index that you had created.
ALTER TABLE [dbo].[T387] ADD PRIMARY KEY CLUSTERED
(
[C6] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY...
May 11, 2015 at 1:08 pm
CKX (5/11/2015)
I think you may find this particular response from Lynn probably explains what is going on here.
You can experiment by "including" the other columns in your index and see...
May 11, 2015 at 10:44 am
My question is who says you can't drop and recreate the primary key constraint as a nonclustered index on C1?
My Manager and people who have developed this application.
Putting a clustered...
May 8, 2015 at 10:38 am
J Livingston SQL (5/8/2015)
New Born DBA (5/6/2015)
May 8, 2015 at 10:33 am
Long story short is that the clustered index on C1 column cannot be dropped. I was going to suggest maybe using C1 column in where clause, but I don't think...
May 8, 2015 at 9:30 am
Viewing 15 posts - 76 through 90 (of 309 total)