Viewing 15 posts - 871 through 885 (of 1,999 total)
are you doing this for a job interview/school exam?
September 20, 2019 at 3:02 pm
PAGEIOLATCH_SH
Occurs when a task is waiting on a latch for a buffer that is in an I/O request. The latch request is in Shared mode. Long waits may indicate problems...
September 20, 2019 at 2:53 pm
this is going to be painfull
my advice would be to do it manually
BUT if you query msdb.dbo.sysjobsteps there is a column called "command".. you could try and scrape proc and...
September 20, 2019 at 10:52 am
write it up as an article for the site, it's quite an interesting find. I'm sure steve would love it
September 20, 2019 at 9:41 am
Hi thomas
we're restoring to a dev server, so filegroup restores would be a nightmare.
i've found the best way is redgate source control and GIT with sql compare if needed
September 20, 2019 at 8:05 am
is it a heap? (does it have a clustered index)
if you process things nightly and delete data then the space can remain allocated but the data content is a lot...
September 19, 2019 at 3:39 pm
and yes you can assign and index to player name - but get an execution plan first and see what it really needs
create index IX_scores on highscores(playername) would be approximately...
September 19, 2019 at 3:13 pm
Thank You.
Can i define player_name as an index?
How do i add highscores to the table using pr_PutHighScoreList(stored procedure)
You can only appear on the high score list once, and only...
September 19, 2019 at 3:11 pm
to the original poster
it might be wise to google the difference between row_number, rank and dense rank - scdecade was right to point out these options, but you need to...
September 19, 2019 at 3:06 pm
take the brackets out of the between statement - I put them in by accident
September 19, 2019 at 2:52 pm
ok - fairly simple,in the article the 2 domains have been told not to trust each other
the workaround should work, but let your network team handle it - as a...
September 19, 2019 at 2:18 pm
sounds like the service pack might have shut down a sql protocol that you use in your linked servers
can you post the error message?
failing that, drop and re-screate the linked...
September 19, 2019 at 1:48 pm
We're going through this process at the moment, but the issue isn't purely source control
I have maybe 400 databases to create repositories, clone and link to GIT... i'm about 40...
September 19, 2019 at 1:27 pm
I use redgate's sql dependency tracker (part of toolbelt)
although you can use the sysdepends table (it's not accurate if you have dynamic sql or objects are built in the wrong...
September 19, 2019 at 1:05 pm
something like this might work
DECLARE @rnk INT
SELECT @rnk=
rnk FROM (
SELECT ROW_NUMBER() OVER (ORDER BY score) AS rnk,* FROM highscores
) AS X WHERE NAME='Bob'
SELECT *
FROM (
SELECT ROW_NUMBER() OVER (ORDER BY score)...
September 19, 2019 at 11:29 am
Viewing 15 posts - 871 through 885 (of 1,999 total)