Viewing 15 posts - 601 through 615 (of 1,193 total)
It's because CONCAT converts NULLs to empty strings prior to concatenation; that's its difference/advantage to ordinary concatenation with +.
In the first case, when region is null, it's converted to an...
February 11, 2016 at 10:00 am
So, the trick is that in the innermost quoted command, the EXEC sp_helptext, you want single quotes around schema.object. Since it's inside a string, each of those single quotes will...
February 11, 2016 at 9:24 am
Understood. I was looking more for the full BackupTypeDescription, particularly to see if it was "File or Filegroup". The Type column in RESTORE FILELISTONLY is the type of file each...
February 10, 2016 at 10:16 am
Yeah, that means that the file(s) with IsPresent=0 can't be restored from that backup. Only time I've seen that is when you do a backup and specify particular files or...
February 10, 2016 at 9:58 am
Hugo Kornelis (2/10/2016)
February 10, 2016 at 9:08 am
Also of note, this seems to be the exact same problem that has been worked on in another thread, starting here: http://www.sqlservercentral.com/Forums/Topic1759368-3412-2.aspx#bm1759448
Cheers!
February 9, 2016 at 2:16 pm
Is the version of SSMS you're using older than the instance you're connected to?
I know people have run into this issue a few times. In that case, configuring it...
February 9, 2016 at 12:13 pm
CASE is an expression; it evaluates to some value or another. It is not a control-of-flow statement.
For what you're wanting you should use IF to determine what DELETE statement to...
February 9, 2016 at 11:32 am
I haven't worked with full text search much, but as I recall it doesn't support that sort of suffix search. It supports a prefix search, like you're already doing, but...
February 9, 2016 at 9:07 am
To back up what Orlando said, here are some performance metrics from my machine using the test harness from above (just modified to have datetimes today, and with the procedures...
February 9, 2016 at 8:25 am
Yeah, the VARBINARY with default length of 1 threw me off for a moment, since I expected some tricky "None of the above" answer. After seeing the answers, though, it...
February 9, 2016 at 8:06 am
While it's quite cool that there are CASTs that still allow seeks, in this case you would still want to look into avoiding the CAST.
As discussed at http://dba.stackexchange.com/questions/34047/cast-to-date-is-sargable-but-is-it-a-good-idea, there are...
February 8, 2016 at 8:50 pm
When I run the WITH ROLLUP version of my query (the one Luis posted) against your sample data with those dates, I get the following:
| PayRate | Name |...
February 8, 2016 at 4:35 pm
coolcurrent4u (2/8/2016)
I get this errorThe CUBE() and ROLLUP() grouping constructs are not allowed in the current compatibility mode. They are only allowed in 100 mode or higher.
That just means...
February 8, 2016 at 3:16 pm
coolcurrent4u (2/8/2016)
I just tried the SQL Fiddle now, and its working. Maybe the server was down when you accessed it
[off-topic-rant]
On that note, SQL Fiddle has been having some...
February 8, 2016 at 1:55 pm
Viewing 15 posts - 601 through 615 (of 1,193 total)