Viewing 15 posts - 4,021 through 4,035 (of 13,462 total)
supplying the missing DDL and DML setup that is preventing analysis:
drop table container_attribute_type
CREATE TABLE container_attribute_type(container_attribute_type_id int,priority_sequence int,branch_id int,updated datetime,updatedby varchar(30))
INSERT INTO container_attribute_type(container_attribute_type_id,priority_sequence,branch_id)
SELECT 4,1,3 UNION ALL
SELECT 11,2,3 UNION...
February 11, 2013 at 2:03 pm
another way is to backup and restore the database, then delete everything in foreign key hierarchy order in the new copy.
also, i know you said no data, but from experience...
February 11, 2013 at 11:23 am
a coded example of what Seans' first thought: clearly item 2 you wanted, at 40,000, does not give the desired results.
you'll need to clarify either the biz logic or the...
February 11, 2013 at 10:54 am
saxena200 (2/11/2013)
Question - before data loading is it necessary to drop the view or if i drop the index...
February 11, 2013 at 9:14 am
99% of the time, you do this kind of image inserts/updates in a programming language.
TSQL does not have a native, built in way to do image to disk operations....
but it's...
February 11, 2013 at 8:54 am
what if they have 2008R2 or 2012 installed? 2005 is already eight years old...wow. keep in mind that official support from MS (end of life?) for that product is probably...
February 11, 2013 at 6:20 am
Mike Seattle (2/8/2013)
February 8, 2013 at 1:25 pm
Richard Warr (2/8/2013)
February 8, 2013 at 11:53 am
you created teh case in the CTE, but you never use it in your final query, i think.
see my reformatted post of your code, with this comment:
e.TermWeek,--<<--don't you want...
February 8, 2013 at 9:45 am
Like Anthony mentioned, the default trace has the information you are looking for, if not to much time has passed.
SSMS has a handy report which queries the trace for you:

Additionally,...
February 8, 2013 at 5:37 am
maybe use the metadata to generate the scripts for you?
this seems to be doing it right?
EXEC sp_msForEachDb 'USE [?];SELECT ''?'' As DbName,''DENY IMPERSONATE ON LOGIN::MyAuditor TO '' + quotename(name) +...
February 7, 2013 at 2:15 pm
Howard i think this has an example of what you want, but i have not done this myself
http://msdn.microsoft.com/en-us/library/ms186710.aspx
A. Denying IMPERSONATE permission on a login
The following example denies IMPERSONATE permission on...
February 7, 2013 at 1:46 pm
Andrew From experience, doing it all in TSQL can get very wordy and long. the headers require a lot of customization to match the shape / number of columns in...
February 7, 2013 at 12:11 pm
a heap table never releases the space that were used by rows that existed, and then were deleted (unless a full table schema lock was applied, like when deleting ALL...
February 7, 2013 at 9:17 am
also, you want to bulletproof the comparison if the value for the Start_Date is changing from null to not null: that's not necessary if the field is not-nullable to begin...
February 7, 2013 at 9:04 am
Viewing 15 posts - 4,021 through 4,035 (of 13,462 total)