Viewing 15 posts - 1,321 through 1,335 (of 13,445 total)
in cases like this, i suggest not working around the error, but addressing the error head on: huge query that exceeds 4K or whatever.
instead of having the report pass a...
December 2, 2015 at 8:28 am
curious_sqldba (12/1/2015)
how do the files move from one drive to another?
i'd go with doing it physically.
if you really want to automated it,
you might do it via xp_cmdShell and the MOV...
December 1, 2015 at 3:18 pm
i use this snippet a lot; but it is centric to a single database, but i bet it gets you 90% there.
it assumes I KNOW the destination for the...
December 1, 2015 at 2:17 pm
for me, mentally,
CROSS APPLY = INNER JOIN
and
OUTER APPLY = LEFT OUTER JOIN
so if anything is going to consume the results of the previous JOIN/CROSS (ie using the...
December 1, 2015 at 2:12 pm
this is syntactically correct,, and gives you your start and end indicators, as a set base doperation.
is this more like what you are after?
SELECT cdsDescription,st.[1stPos],en.[2ndPos]
FROM tbCompdistances
CROSS APPLY(SELECT CHARINDEX(' ',cdsDescription) AS...
December 1, 2015 at 12:40 pm
something like this is what i slapped together; does this look right?
UPDATE MyTarget
SET
MyTarget.[IsCurrent] ...
December 1, 2015 at 12:34 pm
here's the article i have bookmarked from Paul Randal, as mentioned above.
December 1, 2015 at 12:15 pm
you can manipulate the results in powershell
[System.Data.Sql.SqlDataSourceEnumerator]::Instance.GetDataSources() | SELECT ServerName | Format-Table -HideTableHeaders
December 1, 2015 at 11:47 am
man that's a classic pain point i've tripped over myself.
i'm very sure it has to do with permissions related to folders (virtual fodlers?) within SSRS.
go to the SSRS web site,...
December 1, 2015 at 8:47 am
ok, this worked pretty well for me;
you can expand this to use char/nchar if needed, but i left it as varchar/nvarchar, as that's all i'd ever use anyway.
no need to...
December 1, 2015 at 6:41 am
you are missing the FROM clause. you can't select a column name without it's table.
SpeedSkaterFan (11/30/2015)
I am trying to split (incorrect) cellcontents into smaller pieces.
If I use:
SELECT cdsDescription
...
November 30, 2015 at 12:10 pm
you'll need to add the NULLIF function, i think:
,ROUND(( CAST(AeSubCount AS FLOAT) / CAST(NULLIF(SubCnt,0) AS FLOAT) ), 2) AS Rate
November 30, 2015 at 9:59 am
your error is your print statement, you cannot print a column's value.
PRINT 'Record already exists in mbrship table' + mbrs_id
you have to print something static or a variable like @mbrs_id...
November 30, 2015 at 9:38 am
gurvinderg (11/30/2015)
November 30, 2015 at 6:33 am
Chirag# (11/30/2015)
thanks a for your answer , from your query i can get the id but mail was not received in my inbox
also it is not...
November 30, 2015 at 6:02 am
Viewing 15 posts - 1,321 through 1,335 (of 13,445 total)