Viewing 15 posts - 691 through 705 (of 13,460 total)
After a large delete, you'll need to rebuild the indexes on the table.
the deleted items still take up the pages they used to occupy, and reindexing rearranges and deletes...
Lowell
January 15, 2017 at 5:44 am
Lowell
January 14, 2017 at 9:42 am
I managed to break the javascript in a post, so I cannot edit the post, nor use the mini "Explore "menu in the upper right that typically has a link...
Lowell
January 13, 2017 at 12:43 pm
I have a script that returns lots of useful information about all the indexes in my...
Lowell
January 13, 2017 at 12:35 pm
i have this saved from something i built off of an msdn, does this help?
left join ReportSchedule rs on Sch.ScheduleID = rs.ScheduleID
left join...
Lowell
January 13, 2017 at 11:26 am
My company currently runs SSRS 2008 in production, and we've stood up an SSRS 2016...
Lowell
January 13, 2017 at 9:25 am
I tried slapping a full example together, but i find it pretty annoying that Format-Table is leaving extra whitespace.
there a line in the beginning where a header would be...
Lowell
January 13, 2017 at 7:11 am
no problem with asking for another look, I'm glad to help.
yeah you could potentially be seeing new logins being created after your delete, so they show up in your query;...
Lowell
January 11, 2017 at 2:03 pm
sumanth.pathuri (1/11/2017)
How can we capture if someone edits a record without using a trigger. We need a column in the same table. Can you please help me with this.
you should...
Lowell
January 11, 2017 at 11:37 am
very weird;
since you got an SMO error, i might worry that you are using an older version of SQL Server Management Studio to connect to a higher version of SQL...
Lowell
January 10, 2017 at 2:20 pm
are you a sysadmin?
are you connecting via a dedicated connection?
does this return anything with the IsEncrypted column being 1?
SELECT
sm.object_id,
OBJECT_SCHEMA_NAME(sm.object_id) AS SchemaName,
OBJECT_NAME(sm.object_id) AS object_name,
o.type, o.type_desc,
sm.definition,
CAST(CASE WHEN...
Lowell
January 10, 2017 at 1:56 pm
you could create it WITH NO CHECK so it does not validate the existing data, and would be untrusted...but why would you want to do that?
referential integrity is a good...
Lowell
January 10, 2017 at 1:40 pm
i just confirmed this still works on SQL2016, so you are good for all lower versions too.
ok, try opening a dedicated admin connection,

and in the database in question, add this...
Lowell
January 10, 2017 at 1:30 pm
take a look at this thread, which explains you can use a combination of the Dedicated Admin Connection and a procedure to view the encrypted definition.
http://jongurgul.com/blog/sql-object-decryption/
if you happen to...
Lowell
January 10, 2017 at 1:09 pm
At least for me, i only want a last login if it's changed since yesterday. i don't need 50 updates to update to the latest second
By adding a WHERE statement...
Lowell
January 10, 2017 at 9:17 am
Viewing 15 posts - 691 through 705 (of 13,460 total)