Viewing 15 posts - 5,521 through 5,535 (of 7,608 total)
To be sure, make SQL update the page (and row) usage counts and see if there are any large discrepancies:
DBCC UPDATEUSAGE ( '<your_db_name>' )
December 26, 2014 at 11:02 am
Jeff Moden (12/25/2014)
CELKO (12/25/2014)
Why do some companies use weird Fiscal Years, such as starting in April? What is the purpose there?
The last time I looked the GAAP had...
December 26, 2014 at 8:58 am
Jeff Moden (12/25/2014)
ScottPletcher (12/25/2014)
Geoff A (3/3/2013)
Jeff Moden (2/28/2013)
December 26, 2014 at 8:55 am
Geoff A (3/3/2013)
Jeff Moden (2/28/2013)
December 25, 2014 at 7:52 am
Excellent! Best overall set of SQL developer interview qs I've ever seen.
December 25, 2014 at 7:00 am
I think this is a much simpler method:
DECLARE @first_fiscal_year smallint
DECLARE @number_of_years tinyint
SET @first_fiscal_year = 2014
SET @number_of_years = 10
------------------------------------------------------------------------------------------------------------------------
DECLARE @fiscal_years TABLE (
year smallint PRIMARY KEY,
...
December 24, 2014 at 11:46 am
Keep in mind that procs are listed only as long as they are in the cache. On a memory-constrained or busy server, stats could be lost/removed. Also, whenever...
December 24, 2014 at 7:56 am
gissah (12/23/2014)
Thanks that is what I ended up doing with a subquery.select pt.projinvoiceprojid,MIN(CAST(pt.PROJECTEDSTARTDATE AS DATE)) AS 'SOPOrderDate_ProjectStartDate'
from projtable pt
where pt.PROJECTEDSTARTDATE !='1900-01-01'
group by pt.projinvoiceprojid
order by pt.projinvoiceprojid
Be careful! Do...
December 23, 2014 at 10:04 am
Markus (12/23/2014)
December 23, 2014 at 9:34 am
Michael Valentine Jones (12/20/2014)
The storage size for numeric precision of 12 or 18 is...
December 23, 2014 at 9:24 am
KILL is never a verified way to do this. A session(s) could immediately restart itself and start using the db again.
If you don't want to use "SINGLE_USER WITH ROLLBACK...
December 23, 2014 at 9:07 am
Ray Herring (12/22/2014)
I did say that the Date and Time are integers
I missed that I think, where was it?
December 22, 2014 at 4:22 pm
Here's an alternative:
declare @children int
set @children = 4
SELECT
string,
STUFF(string, start_of_integer_value, CHARINDEX('<', string, start_of_integer_value) - start_of_integer_value,
CAST(@children...
December 22, 2014 at 4:17 pm
Replace "<your_db_name>" with the restored db name:
ALTER AUTHORIZATION ON DATABASE::<your_db_name> TO sa
USE <your_db_name>
DROP USER <user_name>
December 22, 2014 at 4:09 pm
I typically see %s with one decimal place. If you want more, adjust the "decimal(4, 1)" to (5, 2) or whatever you prefer.
SELECT EmailID, Email
,[%...
December 22, 2014 at 4:05 pm
Viewing 15 posts - 5,521 through 5,535 (of 7,608 total)