Viewing 15 posts - 4,711 through 4,725 (of 5,111 total)
Repeat of post http://www.sqlservercentral.com/Forums/Topic1841367-2799-1.aspx under different account?
Try to keep one topic per questions 🙂 😎
December 8, 2016 at 10:45 am
paul 69259 (12/8/2016)
December 8, 2016 at 8:11 am
What exactly do you mean by "increase"? The only way the literally increase the disk capacity of a drive is to buy a new disk drive, with a larger capacity....
December 8, 2016 at 7:51 am
The WHERE clause I asked you to add is in the Sub Query.... It should be at the bottom, where your WHERE clause goes. No wonder it's taking so long,...
December 8, 2016 at 7:34 am
There isn't a blanket "replace all", no. However, with a single quotation, your problem would still arise regardless.
If you want to blanket replace ' with `, your SQL statement...
December 8, 2016 at 5:45 am
It might seem silly, but the SQL Server security is there for a reason. If you're not permitted to do something, then you're not permitted. If there was a a...
December 8, 2016 at 5:23 am
paul 69259 (12/8/2016)
it is something to do with that line
WHERE J.JOBID IN (SELECT sq.JOBID FROM dbo.Drops sq)
that it doesn't like
That statement should have very little effect on your...
December 8, 2016 at 4:06 am
paul 69259 (12/8/2016)
December 8, 2016 at 3:52 am
What do you mean by "Gets stuck"?
The query should run just as fast in SSRS as it does in SSMS. The only reason SSRS may be taking longer is due...
December 8, 2016 at 3:13 am
davidvarga086 (12/8/2016)
Thom A (12/8/2016)
What you're looking for is BEGIN TRY:
BEGIN TRY
EXEC thisspdoesnotexist_sp;
END TRY
BEGIN CATCH
RAISERROR('Enter your error message here',1,0);
END CATCH
That only points...
December 8, 2016 at 2:51 am
YOur previous example had a join to DROPS, which has now been omitted. you could amend this by adding the following WHERE clause:
WHERE J.JOBID IN (SELECT sq.JOBID FROM dbo.Drops sq)
December 8, 2016 at 2:19 am
When using values of multiple types, SQL Server will always use Data Type Precedence (Transact-SQL). As you can see, INT is higher in the list than VARCHAR, so INT takes...
December 8, 2016 at 2:16 am
What you're looking for is BEGIN TRY:
BEGIN TRY
EXEC thisspdoesnotexist_sp;
END TRY
BEGIN CATCH
RAISERROR('Enter your error message here',1,0);
END CATCH
December 8, 2016 at 2:03 am
Your precious example would return no row for that collection if there is no drop. Is that intentional? Hence why I left the NULL.
December 7, 2016 at 11:20 am
Phil Parkin (12/7/2016)
IF my understanding is correct, STUFF should do what you want.
You had the same idea as me, though STUFF is not doing much here other than removing an...
December 7, 2016 at 10:12 am
Viewing 15 posts - 4,711 through 4,725 (of 5,111 total)