Viewing 15 posts - 3,361 through 3,375 (of 8,753 total)
slr010877 (8/1/2016)
Thank you so much, worked perfectly!
You are very welcome
😎
For further information on the subject, I suggest having a look at Jeff Moden's excellent articles, Cross Tabs and Pivots[/url].
August 1, 2016 at 3:43 am
Thanks for this fine piece Daniel!
😎
My thought is that there are many out there which have Azure SQL databases but don't have local SQL Server instances to run the scheduled...
August 1, 2016 at 2:21 am
Quick example
😎
USE TEEST;
GO
SET NOCOUNT ON;
-- THE NAME OF THE COLUMN WHICH WE WANT TO CHECK IF EXISTS OR NOT
DECLARE @COL_TO_LOOK_FOR NVARCHAR(128) = N'MY_NEW_COL';
-- TABLE THAT DOES NOT...
August 1, 2016 at 2:15 am
GilaMonster (8/1/2016)
Eirikur Eiriksson (7/31/2016)
Quick question, did you take any kind of a backup before you started the repair exercise?😎
In this case no data would have been lost, the repair rebuilt...
August 1, 2016 at 2:03 am
sqlquery29 (8/1/2016)
Apologies for the format....I couldn't explain in detail..Thank You for the replies....
You are very welcome and thanks for the feedback.
😎
August 1, 2016 at 1:28 am
Quick suggestion
😎
USE TEEST;
GO
SET NOCOUNT ON;
--
;WITH SAMPLE_DATA(Date,Client,QType,Answer) AS
(SELECT Date,Client,QType,Answer
FROM (VALUES
('11.01.16',1,'Q1',100)
,('11.01.16',1,'Q2',150)
,('11.01.16',1,'Q3',75 )
,('11.01.16',2,'Q1',250)
...
August 1, 2016 at 12:35 am
VastSQL (8/1/2016)
Hi Experts,We have a column which stores JSON , how can I query a single property in that column(ex:property:car)
Thanks
Quick suggestion, post some sample data, the expected output and...
August 1, 2016 at 12:26 am
Quick question, did you take any kind of a backup before you started the repair exercise?
😎
July 31, 2016 at 11:25 pm
liorvikel (7/31/2016)
now its online..i do this procedure:
http://www.sql-server-performance.com/2015/recovery-sql-server-suspect-mode/2/
but how can o check the last writing on this db?
to see if the data consistent
thanks
Ooops, so you ran DBCC CheckDB ('DatabaseName',...
July 31, 2016 at 11:24 pm
Start by running DBCC CheckDB ('DatabaseName') WITH NO_INFOMSGS, ALL_ERRORMSGS and post the full and unedited output.
At this point DO NOT detach the database!
😎
July 31, 2016 at 10:58 pm
Quick questions, what else is running on the server? What are the sql server memory configurations? Any relevant entries in the Windows Event Log? What is the storage configuration? Any...
July 31, 2016 at 1:10 pm
Hugo Kornelis (7/31/2016)
Eirikur Eiriksson (7/31/2016)
Feel free to pitch in, someone not having a great day😀😎
I think you already nailed it in your very first reply, but the OP either misunderstood...
July 31, 2016 at 4:28 am
Piling on Kevin's fine answer; production system tuning should not be an trial & error process but rather information gathering with careful interactions and modifications to the system. Knee jerks...
July 31, 2016 at 2:32 am
Slightly different flavor with the addition of "valid groups" instead of hard coding which values to combine
😎
USE TEEST;
GO
SET NOCOUNT ON;
;WITH SAMPLE_DATA(StateID,DistrictID,CityID,Grp,VoteCount) AS
(
SELECT 1 AS StateID, 1 AS DistrictID, 1 AS...
July 31, 2016 at 1:43 am
Feel free to pitch in, someone not having a great day😀
😎
July 31, 2016 at 1:23 am
Viewing 15 posts - 3,361 through 3,375 (of 8,753 total)