Viewing 15 posts - 61 through 75 (of 627 total)
Thanks for the tip Drew, I've made the change to the code.
I see you updated the LAST_VALUE()
, but not the FIRST_VALUE()
. The default isRANGE BETWEEN UNBOUNDED PRECEDING...
May 17, 2019 at 1:04 pm
Thanks for the tip Drew, I've made the change to the code.
May 16, 2019 at 5:07 pm
So just a couple tips for the next time you post. Make sure you put any DDL statements in a code block so its easier to read. Most people don't...
May 16, 2019 at 12:56 pm
Looks like you are trying to use a string function on a datetime field.
--instead of this
--SELECT SUBSTRING(GETDATE(),1,10)
--do this
SELECT CAST(GETDATE() AS DATE)
May 15, 2019 at 12:45 pm
It's possible someone deleted some values out of the middle of the identity then reseeded it.
May 14, 2019 at 7:02 pm
No, I am the only one running this query at the moment.
That doesn't mean there can't be another process locking your table.
May 10, 2019 at 5:49 pm
second -need to check whether member already exist or not , if not it would be new member
Just to clarify, does the source contain the full current data set...
May 10, 2019 at 2:00 pm
This method of concatenating strings is undocumented and unsupported. You are better off using
STRING_AGG()
if you are on SQL 2017 (or later) and XML concatenation otherwise.
I only...
May 9, 2019 at 1:29 pm
This was driving me nuts too. I tried a few things in post to see if there was a way around it but I think I edited one too many...
May 9, 2019 at 1:21 pm
This was removed by the editor as SPAM
May 9, 2019 at 12:58 pm
There isn't a lot of info here and it seems like someone was already helping you on a previous thread. However, if you are just looking for a method to...
May 8, 2019 at 6:44 pm
I would just assign it to a variable first.
DECLARE @year SMALLINT
SELECT @year = MAX(SCHOOLYEAR)
FROM ASemester
SELECT *
FROM ASemester ASemester
JOIN AMilestone AMilestone
...
May 8, 2019 at 5:29 pm
I knew this one all too well. When we migrated images stored as varbinary out of our database and deleted the data it was interesting that we hadn't reclaimed any...
May 8, 2019 at 3:49 pm
I would think another big factor holding some back could be licensing. Not everyone pays for Software Assurance.
This isn't a question on whether to upgrade. If you've...
May 3, 2019 at 3:13 pm
Viewing 15 posts - 61 through 75 (of 627 total)