Viewing 15 posts - 166 through 180 (of 391 total)
I can figure out where/how to use it but I'm getting an error:
dbo.fnGetSeconds(CALL_TIME)
--Invalid length parameter passed to the RIGHT function.
December 4, 2020 at 2:59 pm
I download the installer from which I can choose SSRS and SSIS but when I try to launch the installer I consistently get the following error: Please close the following:...
December 3, 2020 at 3:26 pm
This sql works about this way:
DECLARE @Seconds INT;
SELECT @Seconds = 43052;
SELECT CAST(@Seconds/3600 AS VARCHAR(10))
+ RIGHT(CONVERT(CHAR(8),DATEADD(ss,@Seconds,0),108),6);
I tested it
December 2, 2020 at 6:14 pm
Fortunately for this application I don't need to convert any to days as none will exceed about 20 hrs.
December 2, 2020 at 3:32 pm
On the D: drive there is 239GB available out of 839GB. And the data and logs are on the same drive
April 1, 2020 at 7:55 pm
So the file size of my log file being 253GB is nothing to worry about (?). The total size of the drive is 1 terabyte. The file ID 2 is...
April 1, 2020 at 7:36 pm
It says the file is in use. The backup is on the same server as the SQL database unfortunately. There seems to be some inconsistency of naming too (?)
file_id ...
April 1, 2020 at 7:03 pm
Quite honestly no one including myself has any idea how this file grew so large or what to do about it while our space is quickly running out. I don't...
April 1, 2020 at 6:42 pm
Would the truncate only option be necessary since this database will have activity going on while I'm reducing this file size? I have no room on my server to back...
April 1, 2020 at 5:58 pm
I'm trying to sum the payments for each person and I also wonder if I can take it further joining other tables like location, etc. and using SUM, ROW NUMBER...
January 2, 2020 at 6:36 pm
Is there a way to order by COUNT like?:
New York 73,152
Chicago 34,152
Los Angeles 15,252
I'm using this as a learning exercise too, so if anyone has any PARTITION BY or WITH...
January 2, 2020 at 4:01 pm
"ODBC--connection to CCE_Ethics_DB' failed."
Using "User" type DSN
December 18, 2019 at 7:08 pm
Thanks Jonathan it worked!!
November 21, 2019 at 4:15 pm
My problem is this part/count gives the correct figure of 4,090:
SELECT count(p.[peopleId]) AS 'Inactives'
FROM [BCC_DB].[dbo].[People] p
And this gives the correct figure of 2,126:
(SELECT count(p.[peopleId])...
November 21, 2019 at 4:13 pm
Viewing 15 posts - 166 through 180 (of 391 total)