Viewing 15 posts - 2,716 through 2,730 (of 13,469 total)
my working code for the same functionality is largely the same;
i think you'll need to try-catch and get the inner exception and see what the server/connection issue is;
I just tried...
December 30, 2013 at 12:57 pm
you can get the date an object is created from sys.objects create_date and modify_date.(tables/procs/views etc)
you cannot get when a permission was granted. that date is not stored anywhere.
if you...
December 30, 2013 at 9:40 am
you should post the entire error, especially the error number.
i'll bet this is security related...cant find file or some error like that.
the reason: 'C:\Documents and Settings\ all folders there are...
December 30, 2013 at 6:13 am
jdixon-586320 (12/30/2013)
December 30, 2013 at 6:09 am
my version is just an adaptation of Luis's: i'm just selecting the rows form the indexes, as the count is already materialized, and is faster on huge tables.
Thank you Luis...
December 27, 2013 at 11:04 am
Banks1850 (12/27/2013)
statistics are updated daily and automatically for all tables right after the index maintenance is performed.and there are none that are listed as out of date when I check.
I'm...
December 27, 2013 at 8:01 am
if it works quickly for a while, and then becomes slow, it sounds like out of date statistics might be the first thing to look at.
stale statistics can easily slow...
December 27, 2013 at 7:45 am
I've got teh same answer ad Ed Wagner does, i just processed your post through a macro so i had some consumable data.
if you want solid help like that int...
December 27, 2013 at 6:57 am
procs and views referencing your tables are only part of the puzzle;
applications can have dependencies on those tables, and applications can reference tables that are never used.
there's a handy chartabout...
December 27, 2013 at 5:46 am
info-531323 (12/26/2013)
December 26, 2013 at 1:02 pm
INSERT INTO NewTable(name,mobile)
SELECT name,mobile from a UNION ALL
SELECT name,mobile from b UNION ALL
SELECT name,mobile from c UNION ALL
SELECT name,mobile from d
December 26, 2013 at 9:28 am
here's the data you posted, but cleaned up and in a ready to use format:
the column names in your query did not match the data, and there was no easy...
December 26, 2013 at 9:20 am
MohamedDBA (12/25/2013)
December 26, 2013 at 5:53 am
the more updated views under the sys schema, instead of the old dbo.sys* views are recommended instead.
the view below has both a create_date and modify_date that can help in your...
December 26, 2013 at 5:46 am
does joining the table against it self help you visualize the issue?
this lets us see how some of the items are related to each other:
--join the table against itself looking...
December 24, 2013 at 6:03 am
Viewing 15 posts - 2,716 through 2,730 (of 13,469 total)