Viewing 15 posts - 12,796 through 12,810 (of 13,465 total)
here's teh puedocode that I currently use for something similar:
add one more column to your tracking table, a flag or field to signify "NotificationSent' or something.
now create a job that...
January 12, 2007 at 6:34 am
there is no change for the users; remember that their logins and permissions are mapped to roles in each of databases on the machine. Esentially their permissions are stored in the...
January 12, 2007 at 5:00 am
without more information, I don't believe you can.
is there an identity column in the tabe? is there a datetime field for creation or updated?
if the primary key might be (Accountno,AdmissionReason), then...
January 11, 2007 at 9:54 am
i looked at sp_addalias, and it looks like any users that are aliased as dbo would have the sid for sa/dbo (which is always 1):
-- INSERT SYSUSERS ROW --
...
January 11, 2007 at 9:35 am
there's a difference between changing a machine name, and changing a named instance.
for example, if my machine is named DEVPLATFORM, and I want to rename it as DEVELOPER, I right...
January 11, 2007 at 6:35 am
since all three of these tables (sr_srvc_request_v,sr_note_v,sr_activity_v) are joining on the srvc_request_num column, all three might also benefit from an index on their srvc_request_num column;
I'd look at the execution plan...
January 11, 2007 at 4:38 am
it looks like your batch number is arbityary...can it be based on the workID?
select 'us' + RIGHT('000' + (convert(varchar,(workID / 100) + 1)),3)
select 'us' + RIGHT('000' + (convert(varchar,(1 / 100)...
January 10, 2007 at 7:44 pm
good catch and sorry for the typo;
check to see if there is an index on ra_review_t.srvc_request_num ;
all three joins use that for this query, and it might speed up if one...
January 10, 2007 at 5:18 pm
as a developer will this allow them to see the text?
SELECT TEXT FROM SYSCOMMENTS WHERE ID=object_id('USP_IE_GET_INVOICES_BY_USER_ID')
if that does work, you could create your own proc and grant them...
January 10, 2007 at 1:13 pm
something like this might help you; note i limited it to top 100 because this can be a huge result set on some db's: the columns in the sqlstatmenet are...
January 10, 2007 at 1:01 pm
if (SELECT COUNT(*)
FROM inserted INNER JOIN
tblInternalEduModule ON [inserted].[Quiz Name] = tblInternalEduModule.Quiz
WHERE (tblInternalEduModule.Category = 'WIN') ) !=@@rowcount
that looks invalid to me. select count(*) from inserted will set @@rowcount...
January 10, 2007 at 12:50 pm
in enterprise manager, expand the views and drill in till you see the table that contains the column you wish to change.
right click on the table>>Choose "Design Table"
A list of...
January 10, 2007 at 12:36 pm
no need;
you can simply insert these user tables back into the current master; you can use either DTS to copy the tables, or sql commands
I assume you restored or attached...
January 10, 2007 at 12:29 pm
try something like this: i've moved the counts you are comparing into two subselect tables instead;
I've found this improves performance for me:
SELECT rev.srvc_request_num AS serviceRequestId,
rev.reviewed_dt AS "review.lastUpdatedDate",
rev.reviewed_by AS...
January 10, 2007 at 12:15 pm
actually very helpful Colin thanks for the response; I had suspected views of views sucked, glad to hear a confirmation.
I was hoping to simply prune the complexity of some of...
January 10, 2007 at 12:05 pm
Viewing 15 posts - 12,796 through 12,810 (of 13,465 total)