Viewing 15 posts - 3,886 through 3,900 (of 8,753 total)
Quick suggestion
😎
DECLARE @TD DATETIME = GETDATE();
SELECT CONCAT(DAY(@TD),CHAR(45),SUBSTRING(UPPER(DATENAME(MONTH,@TD)),1,3),CHAR(45), YEAR(@TD));
January 25, 2016 at 6:48 am
Brandie Tarvin (1/22/2016)
... I have a bit of code that monitors my database growth.
Quick question, are you intentionally returning one row for each database file?
😎
January 24, 2016 at 6:13 am
Here is an alternative method for collecting this (almost the same) information in a single dynamic sql query.
😎
DECLARE @SQL_STR NVARCHAR(MAX) = N'';
DECLARE @OUTER_SQL NVARCHAR(MAX) = N'
;WITH...
January 24, 2016 at 6:09 am
Hugo Kornelis (1/23/2016)
Eirikur Eiriksson (1/23/2016)
Ed Wagner (1/23/2016)
Eirikur Eiriksson (1/23/2016)
Ed Wagner (1/23/2016)
January 23, 2016 at 1:15 pm
Ed Wagner (1/23/2016)
Eirikur Eiriksson (1/23/2016)
ChrisM@Work (1/22/2016)
Ed Wagner (1/22/2016)
Greg Edwards-268690 (1/21/2016)
Eirikur Eiriksson (1/21/2016)
Greg Edwards-268690 (1/21/2016)
Steve Jones - SSC Editor (1/21/2016)
Greg Edwards-268690 (1/21/2016)
January 23, 2016 at 11:07 am
Ed Wagner (1/23/2016)
Eirikur Eiriksson (1/23/2016)
Ed Wagner (1/23/2016)
jasona.work (1/22/2016)
I'm checking my servers for DBs that aren't TDE enabled and I come across a DB I...
January 23, 2016 at 10:02 am
Ed Wagner (1/23/2016)
Eirikur Eiriksson (1/23/2016)
Ed Wagner (1/23/2016)
January 23, 2016 at 10:00 am
ChrisM@Work (1/22/2016)
Ed Wagner (1/22/2016)
Greg Edwards-268690 (1/21/2016)
Eirikur Eiriksson (1/21/2016)
Greg Edwards-268690 (1/21/2016)
Steve Jones - SSC Editor (1/21/2016)
Greg Edwards-268690 (1/21/2016)
January 23, 2016 at 9:58 am
Ed Wagner (1/23/2016)
jasona.work (1/22/2016)
I'm checking my servers for DBs that aren't TDE enabled and I come across a DB I *KNOW* was encrypted this...
January 23, 2016 at 9:49 am
Ed Wagner (1/23/2016)
January 23, 2016 at 9:45 am
Jeff Moden (1/22/2016)
Eirikur Eiriksson (1/22/2016)
January 23, 2016 at 9:39 am
Strongly advice you not to use the format function as it performs very badly.
😎
January 23, 2016 at 5:38 am
jcachado (1/23/2016)
But i need bigger than 15 minutes!The statement is ok but the condition > '00:15:00' dont work.
🙁
Thks,
Cachado
You have 15 minutes passed midnight in your query, if you need...
January 23, 2016 at 4:55 am
jcachado (1/23/2016)
Hi, i need help please,
Why this not work:
SELECT change_dtim,create_dtim,ckpt_id,Format([change_dtim]-[create_dtim],'hh:nn:ss') as tempo FROM Back_ickpt_plz where tempo > '00:15:00'
if i remove the where tempo > '00:15:00' , run .
What is my...
January 23, 2016 at 4:30 am
Luis and Jack, you are both right in the terms of suppressing the problem, preventing it is in my mind a better approach.
😎
January 22, 2016 at 8:46 am
Viewing 15 posts - 3,886 through 3,900 (of 8,753 total)