Viewing 15 posts - 2,401 through 2,415 (of 8,731 total)
SQL-DBA-01 (8/1/2016)
SELECT SERVERPROPERTY('productversion') as ProductVersion, SERVERPROPERTY('productlevel') as ProductLevel, SERVERPROPERTY('edition') as Edition, SERVERPROPERTY('ProductMajorVersion') as ProductMajorVersion, SERVERPROPERTY('ProductMinorVersion') as...
August 1, 2016 at 11:51 am
Gary Varga (7/29/2016)
robert.sterbal 56890 (7/20/2016)
Posted 5/13/2016 2:06:20 PMby
latitiacasta
Group: General Forum Members
Last Login: 5/13/2016 4:34:38 PM
Points: 47, Visits: 153
and they never came back.
Were we too mean?
Given that your reply...
August 1, 2016 at 10:32 am
Use the SSIS syntax.
DATEADD("dd", DATEDIFF("dd", (DT_DATE) "1900-01-01", GETDATE()) - 1, (DT_DATE) "1900-01-01")
August 1, 2016 at 9:01 am
Have you tried using SSIS? It's great for this sort of things.
August 1, 2016 at 7:56 am
tskelley (8/1/2016)
August 1, 2016 at 7:51 am
Maybe like this? Why do you have different validations for names and other values?
UPDATE [MEMBER].[IMP_MEMBER_INT]
SET
[ContactLastName] = CASE WHEN LEN(LNAME) >...
August 1, 2016 at 7:31 am
To do what you're asking for, you need to split the values and store them in individual rows. Of course, you can split them and join them again in a...
August 1, 2016 at 7:20 am
You don't have a Code column in your derived table (subquery). Either you add it to the query or remove it from the join clause.
August 1, 2016 at 7:09 am
Here's probably the best option for versions 2014 or lower: https://www.simple-talk.com/sql/t-sql-programming/consuming-json-strings-in-sql-server/
Although, my suggestions would be to stop storing JSON in SQL Server and normalize the data.
In SQL Server 2016 there's...
August 1, 2016 at 7:03 am
The lack of mention of the Service Pack when querying @@Version might not be a bug from 2014, but one depending on the way it was installed.
My local installation of...
August 1, 2016 at 6:53 am
tskelley (7/31/2016)
Thank you Inspector Holmes. It's actually the SQL from a view being created that is part of a large deployment script.
You know? Sarcasm isn't a good idea when...
August 1, 2016 at 6:35 am
It's working as designed. If you try to concatenate a string with a NULL value, the result will be a NULL value.
Check the following example:
SELECT field,
field...
July 29, 2016 at 2:19 pm
Since Lowell already posted something, I'll just post the short version.
update Table1
SET Field1 = ISNULL( @Field1, Field1),
Field2 = ISNULL( @Field2, Field2),
Field3...
July 29, 2016 at 12:54 pm
ChrisM@Work (7/29/2016)
Sean Lange (7/29/2016)
ChrisM@Work (7/29/2016)
Sean Lange (7/29/2016)
ChrisM@Work (7/29/2016)
Sean Lange (7/29/2016)
Good grief...the spammers are out in force today.Reported as spam
Sweet!!! Maybe I can get banned!?!?!?!?!
It's Friday, you can get anything you...
July 29, 2016 at 10:02 am
DEEPAK GUPTA-378433 (7/29/2016)
How could I use Column for Table1 within subquery. I know this is not possible but there should be a nice way to achieve this.
SELECT *
FROM Table1...
July 29, 2016 at 8:52 am
Viewing 15 posts - 2,401 through 2,415 (of 8,731 total)