Viewing 15 posts - 2,521 through 2,535 (of 8,761 total)
Bill Talada (12/23/2016)
December 23, 2016 at 12:54 pm
Here is a better way of testing for the missing date value
π
ALTER PROCEDURE [dbo].[MyStoredProcedure]
(
@MyDate date = NULL
)
AS
BEGIN
If @MyDate IS NULL
BEGIN
SET @MyDate...
December 23, 2016 at 12:50 pm
ptownbro (12/23/2016)
We have a simple stored procedure that has one date parameter that...
December 23, 2016 at 11:44 am
You are missing the on clause for the inner join
π
Add the ON clause after the closing parenthesis in line 85
December 23, 2016 at 6:52 am
Can you amend the sample data please?
π
Running it returns this error
Msg 207, Level 16, State 1, Line 32
Invalid column name 'CALIBRATION_TYPE_ID'.
December 22, 2016 at 6:31 am
HappyGeek (12/21/2016)
Log reader fails with βThe process could not execute βsp_replcmdsβ on <DB01> β error
Needs to be sorted asap, has anyone come across this...
December 21, 2016 at 12:36 am
Here is a quick suggestion to a solution, uses the DelimitedSplit8K function, should be enough to get you over this hurdle.
The function can be found in these two articles
December 20, 2016 at 11:54 pm
VastSQL (12/20/2016)
I have a job which runs an SSIS package to fetch data from multiple tables in a database and then put it in an .csv file and then...
December 20, 2016 at 11:22 pm
liorvikel (12/20/2016)
when i run localy in oracle query of select i get 4 sec result
from mssql to oracle i get 24 sec
can...
December 20, 2016 at 6:18 am
Lynn, feel free to send me any examples and problems, I'm happy to help
π
December 19, 2016 at 3:13 pm
Jeff Moden (12/18/2016)
You just can't believe all the examples I've been through in the last 24 hours never mind the ones I've seen over the last decade or so. I've...
December 18, 2016 at 12:27 pm
The TROW statement works similar to the RAISERROR but has the severity level default of 16. Suggest you change the statement to the latter with higher severity level or even...
December 18, 2016 at 6:54 am
The XML construct within that function is sub-optimal, 23 operators in the execution plan and there of 3 XML Reader Table valued functions.
π
This can be significantly improved by changing...
December 18, 2016 at 6:07 am
etl2016 (12/18/2016)
This is a classic scenario of an SP wrapped in a sqlAgent job and despite SP failing to do its job (say, loading a table), and despite setting...
December 18, 2016 at 5:43 am
Viewing 15 posts - 2,521 through 2,535 (of 8,761 total)