Viewing 15 posts - 9,226 through 9,240 (of 9,400 total)
I think that education is the first step in becoming good at something, but it is only the first step. Honestly, I would take the courses that will teach...
June 4, 2013 at 11:30 am
I'd take a similar approach. They're going to provide you with a list of users somehow, so try to use that to generate the SQL you need to get...
June 4, 2013 at 11:12 am
Minnu:
Does this code work?
DECLARE @bat varchar(200)
SET @bat = 'E:\Test_batch\Test.bat UPDATE DELETE';
EXECUTE master..xp_cmdshell @bat
If so, then you've got some unwanted characters in your @bat variable that's causing it to be interpreted...
June 3, 2013 at 12:33 pm
Also make sure the login has permission to access the format file in its location on the server.
June 3, 2013 at 8:44 am
I've actually used this tactic in conducting interviews. I felt that some people were trying to bluff their way through the technical portion of the interview so I threw...
June 3, 2013 at 8:41 am
No problem. Glad I could help you for a change.
June 3, 2013 at 6:46 am
WOW! That's an intense nested CTE.
It ran fine until the year 2808, so I figured you must be bumping up against a converted numeric somewhere that was "really up...
June 3, 2013 at 6:28 am
There will certainly be an impact on the server. While you're creating your duplicate table, the server will be processing lots of disk I/O, which will impact reads in...
June 3, 2013 at 6:20 am
Kingston Dhasian (6/3/2013)
This is a very vast topic and can't be covered in forum posts
Kingston hit the nail on the head here. This is a huge topic and you...
June 3, 2013 at 6:13 am
That's quite a job to be assigned. I don't know of any automated tool that would do the whole job. I would probably opt to do it table-by-table,...
June 3, 2013 at 5:58 am
This will give you the jobs owned by sa:
select j.name, l.loginname
from msdb.dbo.sysjobs j
inner join syslogins l on j.owner_sid = l.sid
where l.loginname =...
May 31, 2013 at 5:43 am
I liked the question. I admit I haven't worked with grouping sets and it made me examine them. So, I learned something today, which makes it a good...
May 31, 2013 at 5:31 am
Having the sysadmin server role means you can do anything on the SQL Server, so I would treat it as being the same as the 'sa' account. You'll also...
May 31, 2013 at 4:57 am
When I refresh test from production, I take approach it by first notifying everyone that I'm going to do so, then I drop the test database, then restore the test...
May 31, 2013 at 4:54 am
Viewing 15 posts - 9,226 through 9,240 (of 9,400 total)