Viewing 15 posts - 871 through 885 (of 1,993 total)
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...
MVDBA
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...
MVDBA
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...
MVDBA
September 19, 2019 at 3:06 pm
take the brackets out of the between statement - I put them in by accident
MVDBA
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...
MVDBA
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...
MVDBA
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...
MVDBA
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...
MVDBA
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)...
MVDBA
September 19, 2019 at 11:29 am
fi you did something like this
select * from mytable with (tablockx)
then you have granted an exclusive lock against the entire table and no writer should get access
you can also test...
MVDBA
September 19, 2019 at 11:02 am
Great article, and i'm glad you enjoy contributing to the site, it has certainly helped myself as well
one of my previous employers put every new employee through a "consultancy and...
MVDBA
September 19, 2019 at 10:19 am
I know this sounds obvious, but have you tried putting it into an SSIS package? (for the love of god please bring back DTS)
you schedule that in SQL agent and...
MVDBA
September 19, 2019 at 9:44 am
back in the day of mirroring, if a transaction couldn't be committed to the standby then it would lock the primary (unless you had enterprise edition and hi performance mode)
this...
MVDBA
September 18, 2019 at 4:15 pm
depends on who you are sharing it with but I use showplan_XML
you can then copy and paste the XML
MVDBA
September 18, 2019 at 3:47 pm
I recently posted an article on here about this
we used Redgate sql backup and there are a few controls that let you schedule a restore to a remote server
it generates...
MVDBA
September 18, 2019 at 3:31 pm
Viewing 15 posts - 871 through 885 (of 1,993 total)