Viewing 15 posts - 451 through 465 (of 1,170 total)
Isn't the "FETCH NEXT FROM cur_res" statement inside the WHILE loop in wrong place?
Check it out.
October 17, 2014 at 6:16 am
Thanks for the reply!
In the beginning the CPU is planned to be less powerful until another machine is released, then it will be 24 cores with 128GB RAM.
Jobs do simple...
October 17, 2014 at 4:10 am
What is the recovery model of the database for which indexes are rebuilt?
Log space depends a lot on it, when in question is the recovery model.
See http://www.sqlservercentral.com/articles/Administration/64582/ and http://technet.microsoft.com/en-us/library/ms191244(v=sql.105).aspx
October 17, 2014 at 2:28 am
Additional info to add is that databases use Simple recovery model running on Failover cluster.
October 17, 2014 at 1:35 am
Hi Jared,
I came up to the same error message with an XE session, and could not find any information about this error.
Did you find an answer to this?
October 16, 2014 at 1:49 am
Vimal Lohani (10/15/2014)
twin.devil (10/15/2014)
Comments posted to this topic are about the item <A HREF="/questions/unpivot/117130/">Unpivot</A>
HAHA,
Still wrong answer
admin has not tested it.
Answer should be two rows.
OrderIDProductNameProductQty
1 ...
October 16, 2014 at 12:47 am
You can add the following event to the session
ADD EVENT sqlserver.blocked_process_report(
ACTION(package0.process_id,sqlserver.client_app_name,sqlserver.client_hostname,sqlserver.database_id,sqlserver.database_name,sqlserver.plan_handle)
WHERE ([sqlserver].[database_name]=N'Db1' OR [sqlserver].[database_name]=N'Db2' OR [sqlserver].[database_name]=N'DB3')),
and then see if you have more details.
October 8, 2014 at 6:30 am
Open/import you document in Excel (comma delimited). Then go to the Data tab and there you have "Remove Duplicates" button. Click it and job is done.
October 7, 2014 at 12:21 pm
Robert klimes (10/6/2014)
here is a basic query. I am sure someone will...
October 7, 2014 at 6:14 am
ChrisM@Work (10/1/2014)
Igor Micev (10/1/2014)
CREATE FUNCTION dbo.fnGetMonthDays(@myDate DATE) RETURNS INT
AS
BEGIN
DECLARE @isLeap INT = 0
IF (YEAR(@myDate) % 400 = 0 OR (YEAR(@myDate) % 4 = 0 AND YEAR(@myDate)...
October 1, 2014 at 4:40 am
You can use this function
CREATE FUNCTION dbo.fnGetMonthDays(@myDate DATE) RETURNS INT
AS
BEGIN
DECLARE @isLeap INT = 0
IF (YEAR(@myDate) % 400 = 0 OR (YEAR(@myDate) % 4 = 0 AND YEAR(@myDate) % 100 !=0))
SET...
October 1, 2014 at 1:05 am
Igor Micev (9/29/2014)
pietlinden (9/28/2014)
@lastDayMonth INT
SET @currMonthNum = DATEPART(MM, GETDATE())
IF @currMonthNum IN (1, 3, 5, 7, 8, 10, 12)
SET @lastDayMonth = 31
IF @currMonthNum = 2
SET @lastDayMonth = 28
IF @currMonthNum...
September 29, 2014 at 2:18 am
pietlinden (9/28/2014)
@lastDayMonth INT
SET @currMonthNum = DATEPART(MM, GETDATE())
IF @currMonthNum IN (1, 3, 5, 7, 8, 10, 12)
SET @lastDayMonth = 31
IF @currMonthNum = 2
SET @lastDayMonth = 28
IF @currMonthNum IN (4,...
September 29, 2014 at 2:16 am
surya-434952 (9/28/2014)
In stored procedure we are using numeric(38,2), will it make difference?
No. Then it seems the issue is at the Excel side.
September 28, 2014 at 5:23 am
Viewing 15 posts - 451 through 465 (of 1,170 total)