Viewing 15 posts - 76 through 90 (of 1,169 total)
Good article.
You have to consider that if you created your tempdb with multiple files and especially on another disk then you’ll have to re-check the tempdb because it will be...
November 24, 2016 at 1:23 am
If you want to prevent some from the whole set of stored procedures from dropping:
CREATE TRIGGER [TR_PreventDropProcedure] ON DATABASE
FOR DROP_PROCEDURE
AS
BEGIN
SET NOCOUNT ON;
DECLARE @data XML
SET @data =...
November 23, 2016 at 3:21 am
alexlihw (11/21/2016)
November 22, 2016 at 3:12 am
Hi
If you don't want to have a failover, then you'll have to have a downtime while rebooting.
You can go with ALTER DATABASE XXX SET PARTNER OFF, and then re-establish the...
November 21, 2016 at 4:09 am
Thanks,
All those topics is something that I used to study on faculty, but implementation in practice is going slowly 🙂
I'm sure there are some new materials there as well.
November 17, 2016 at 2:20 am
Expects the parameter '@Id', which was not supplied:
cmd.Parameters.Add("@Id",SqlDbType.Int);
but here you're supplying the @Name parameter
cmd.Parameters.Add("@Name", SqlDbType.NVarChar, 100).Value = name;
November 14, 2016 at 3:18 am
Minnu (11/9/2016)
also wants to apply index on view, i cannot apply index on views with UNION.
so i...
November 9, 2016 at 4:12 am
No, the schedule can be scripted out. Why not?
November 9, 2016 at 2:58 am
Try this query:
DECLARE @database_id int
DECLARE @database_name sysname
DECLARE @sql_string nvarchar(2000)
DECLARE @file_size TABLE
(
[database_name] [sysname] NULL,
[groupid] [smallint] NULL,
[groupname] sysname NULL,
[fileid] [smallint] NULL,
[file_size] [decimal](12, 2)...
November 3, 2016 at 1:46 am
Henrico Bekker (11/2/2016)
1. INSERT dbo.TimeZoneOffsetTest (mytime) CAST(SELECT '20161015 08:15 -4:25' as DATETIMEOFFSET)
and
2. INSERT dbo.TimeZoneOffsetTest (mytime) SELECT '20161015 08:15 2:00'
are invalid, option 1 contains an invalid sub-query...
November 2, 2016 at 2:21 am
A nice new property in Sql Server 2016. Thanks!
November 1, 2016 at 10:58 am
Guras (10/25/2016)
Igor Micev (10/25/2016)
Guras (10/25/2016)
Counter_name : Counter_ValueUser Connections: 316
Batch Requests/sec : 20
SQL compilations/sec : 36
SQL Recompilations/sec : 20
Is this normal? Does the SQL compilations/sec seem high?
Thanks
It's just a...
October 25, 2016 at 11:46 am
Derek Knutsen (10/25/2016)
ex:
Report_Server
Prod_DB (Read only - replicated from production_server...
October 25, 2016 at 8:13 am
Guras (10/25/2016)
Counter_name : Counter_ValueUser Connections: 316
Batch Requests/sec : 20
SQL compilations/sec : 36
SQL Recompilations/sec : 20
Is this normal? Does the SQL compilations/sec seem high?
Thanks
It's just a very calm environment....
October 25, 2016 at 8:06 am
Viewing 15 posts - 76 through 90 (of 1,169 total)