Viewing 15 posts - 1,696 through 1,710 (of 7,187 total)
Is SQL Server Enterprise Edition, or Standard? You might try experimenting with max server memory (maybe set it a little lower to give the OS a slightly larger slice of...
March 8, 2017 at 8:14 am
Dan
Sounds like you've anticipated that someone is going to suggest using a splitter function. If you can't create one, not even in tempdb, then you'll need to modify...
March 8, 2017 at 7:39 am
Phani
You need to speak to the administrator of the server (the DBA?) and ask to be granted the necessary access to the database. If you don't have it,...
March 8, 2017 at 7:33 am
Looks like when you join your source and target tables on those four columns, you have more than one value of No_Of_Attempts in your source table for one or more combinations...
March 8, 2017 at 7:24 am
This is going to fail if the user who created the record has since been deleted. Why don't you change the function so it gets the user name instead of...
March 8, 2017 at 5:42 am
Please can we see the code? Have you tried EXECUTE AS OWNER or dbo? You should be using sys.database_principals instead of syslogins, since the latter is deprecated.
John
March 8, 2017 at 4:57 am
SQL Server Browser only works for named instances, so if your instance is a default instance, you won't need it. Assuming you have a named instance, though, since it is...
March 8, 2017 at 4:16 am
Have you tried applying SP2? Better still, why not go straight to SSMS 2016?
John
March 8, 2017 at 3:39 am
Paul
That's your answer, then. Index rebuilds need space in the database, which is freed up at the end of the operation. Consider using Ola Hallengren's database maintenance solution...
March 8, 2017 at 3:30 am
Paul
Where do you get that figure of 42-50%? Please will you post the results of sp_spaceused? How big is the largest table in the database, and how often...
March 8, 2017 at 3:02 am
Paul
Your log file is tiny, and your data file is growing by only a GB at a time. Is auto-shrink enabled?SELECT DATABASEPROPERTYEX('MyDB','isAutoShrink')
What are...
March 8, 2017 at 2:42 am
Paul
Please will you show us the results of this query?
SELECT
name
, size/128 AS SizeMb
, growth/128 AS GrowthMB
, is_percent_growth
FROM MyDB.sys.database_files
John
March 8, 2017 at 2:24 am
Have you tried this?
John
March 7, 2017 at 8:54 am
WITH ConverttoNumber AS (
SELECT
ID
, CAST(LEFT(ID + '000',4) AS int) AS Nbr
FROM StgTemp
)
SELECT DISTINCT ID
FROM ConverttoNumber
WHERE Nbr BETWEEN 3500 and 3999
OR...
March 7, 2017 at 4:15 am
Cast to int and then it's simple to find values that fall in a certain range.
John
March 7, 2017 at 3:54 am
Viewing 15 posts - 1,696 through 1,710 (of 7,187 total)