Viewing 15 posts - 9,046 through 9,060 (of 13,460 total)
ok i see what you mean now;
i think the solution is to simply sp_helptext sp_helpuser, copy the parts of the code you DO want to use, and use THAT in...
Lowell
July 14, 2010 at 4:09 pm
Joe Celko (7/14/2010)
Lowell
July 14, 2010 at 12:56 pm
i can't duplicate the issue;
i can certainly insert the EXEC SP_HELPUSER into a table, but what do you mean by a database alias?
do you mean where you rename...
Lowell
July 14, 2010 at 12:44 pm
well...you're going to present someone with a grid with 700 + columns? why? I would simply NOT do that.
maybe a redesign should be called upon to revisit why the data...
Lowell
July 14, 2010 at 11:10 am
Julie try this function agaisnt your data.
this strips out everything that is not a number and not a character...so spaces, control characters, brackets or whatever get stripped out;
that seems to...
Lowell
July 14, 2010 at 10:37 am
failrly straightforward requirement Bosco. they will not get any rights you don't give them. if they connect with SSMS, you cannot hide the existence of other databases, but they can't...
Lowell
July 14, 2010 at 10:28 am
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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
Lowell
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...
Lowell
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...
Lowell
July 13, 2010 at 11:58 am
Viewing 15 posts - 9,046 through 9,060 (of 13,460 total)