Viewing 15 posts - 9,061 through 9,075 (of 13,469 total)
what you are asking for in your first post here is a number of complex things on some very wide subjects, much too wide to provide any meaningful examples without...
July 14, 2010 at 7:30 am
dynamic data ?
did you try either of the solutions we gave you?
both work for an unlimited number of items...it's just string concatination.
if that's not it, explain in detail what you...
July 14, 2010 at 5:59 am
skcadavre (7/14/2010)
Lowell (7/14/2010)
the easiest way is to use a neat trick using FOR XML.
here's a nice...
July 14, 2010 at 5:50 am
turning the related rows into a comma delimited list is what you are after right?
the easiest way is to use a neat trick using FOR XML.
here's a nice example I...
July 14, 2010 at 5:37 am
here's a really nice example of using PIVOT that i picked up from a post here.
if you were able to provide the two table definitions and some sample data, we...
July 14, 2010 at 5:28 am
sticking with an actual RESTORE command is the best solution i think. you need to time things correctly, because you need to coordinate the following steps:
1. a scheduled...
July 14, 2010 at 5:20 am
it's a security thing....see this post for a long winded explanation with screenshots and a solution:
http://www.sqlservercentral.com/Forums/Topic951702-146-1.aspx
July 13, 2010 at 12:31 pm
The command in SSMS should be running under my login ....
That is the gotcha!
xp_cmdshell will not use your login credentials. nope. not a chance.
you expect it to use it, but...
July 13, 2010 at 12:22 pm
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
Viewing 15 posts - 9,061 through 9,075 (of 13,469 total)