Viewing 15 posts - 9,061 through 9,075 (of 13,461 total)
xp_cmdShell doesn't use your personal credentials. it uses the account SQL starts with instead, and in your case that account doesn't have access to the network path:
this is a common...
July 13, 2010 at 11:58 am
profiler = heavy impact i agree, but a server side trace I still believe has negligible/almost nil impact; that was what i was trying to say.
i've placed both a DML...
July 13, 2010 at 6:01 am
you need to decide that the new user is going to copy/inherit the roles of a specific user.
for example:
insert into user_role
select
3, --the userid of the new person...
July 13, 2010 at 5:55 am
winston I'm in the same camp of not worrying about the trace impact after this article about the near-zero impact of a server side trace where someone actually compared...
July 13, 2010 at 5:40 am
ahh... no i don't believe so...the database is not available, or no definitive to the to the logon connection...you know i can connect to master, but query db1 using 3...
July 12, 2010 at 12:55 pm
this is a per-SQL-Server installation/instance trigger, not a per-machine trigger...
so if you have a server named "PROD", and it has a default SQL instance, and two named instances, ie "PROD\SQL2005"...
July 12, 2010 at 12:16 pm
i'm thinking something like this:
bring everything is as one big field...i'm assuming varchar(8000) would hold it, but it might need varchar(max).
once in a table, use CHARINDEX2 to chop everything up...
July 12, 2010 at 12:05 pm
WayneS (7/12/2010)
Did changing to the SQL Native Client driver help out? As I demonstrated, it seems to work for me.
Wayne i thought the OP was running into the fact that...
July 12, 2010 at 9:47 am
I don't see an advantage to not copying the functions to the new server's master database.
Cross database functions with a synonym are going to be slow, and have an additional...
July 12, 2010 at 9:24 am
you can always connect to the tempdb database and run your scripts; your objects will not have any impact anywhere.
i would simply install a local SQLEXPRESS on my own development...
July 12, 2010 at 6:32 am
Mac:
CREATE TABLE definition?
the actual [Account_Code_AK] values for one of the items that is duplicated so we can see?
names of the tables that reference that alternate key?
July 11, 2010 at 9:16 am
Mac we probably need a little more info...does the table for Account Code have an identity/primary key, in addition to the two columns you showed us? are their foreign keys...
July 11, 2010 at 8:33 am
here's another example i posted that has additional logic, and check out the thread it came from for more info:
http://www.sqlservercentral.com/Forums/Topic927131-359-1.aspx
in this case, i'm trying to prevent SSMS and also...
July 10, 2010 at 12:18 am
forget the cursor, you can and should do this with a single update:
UPDATE SOMETABLE
SET new_date = start_date
WHERE new_date <> start_date
AND status <> 'reopen'
July 9, 2010 at 12:34 pm
Viewing 15 posts - 9,061 through 9,075 (of 13,461 total)