Viewing 15 posts - 3,886 through 3,900 (of 5,109 total)
Ok, let's start with why this is failing. You're setting the SET INSERT IDENTITY ON before the table exists. This isn't going to work, as there's no table to chaneg...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 19, 2017 at 2:37 am
I think you've missed everyone's point here. Our point is that your need isn't for answers, you need to learn, which you aren't doing.
I see someone in need...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 18, 2017 at 9:38 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 18, 2017 at 9:00 am
Most likely your charindex is returning a value of 0, and thus erroring. For example, if FULLNAME contained a value of 'Thom', charindex(',', U.FULLNAME) would return a value...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 18, 2017 at 8:38 am
Personally I found answering questions here really helpful. I'm not going to pretend I have anywhere near the level of expertise, or experience (I'm probably quite a few years younger...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 18, 2017 at 8:18 am
I know what is happening now
If I filter on...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 18, 2017 at 7:40 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 18, 2017 at 7:17 am
I believe that they honestly think they are paid to get answers from the internet, rather they learn and think for themselves... https://www.sqlservercentral.com/Forums/FindPost1871266.aspx
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 18, 2017 at 7:08 am
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 18, 2017 at 6:59 am
Perhaps:UPDATE [master]
SET checkin ='N'
OUTPUT inserted.* --You may need to adjust the * to the correct Column names if your tables do not exactly match
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 18, 2017 at 5:42 am
Duplicate of post https://www.sqlservercentral.com/Forums/1871233/Transactional-Replication-issue
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 18, 2017 at 3:59 am
You do also realise that the above SQL is only going to update 1 account right? You can't assign multiple values to a variable, but that seems to be what...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 18, 2017 at 3:13 am
paul 69259 - Thursday, April 13, 2017 9:47 AMNot sure how to post sample data....
Have a look at the link in...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 13, 2017 at 9:50 am
Could you post some sample data which shows the problem (CREATE, INSERT, SELECT statements). Also, I can't see the column ORDERDATEANDTIME in your original query, only ORDERDATE?
On a...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 13, 2017 at 9:37 am
The problem sounds more like that you're storing your datetime in your table as a varchar, rather than a datetime. Is my guess correct?
Also "gives you an error";...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
April 13, 2017 at 9:22 am
Viewing 15 posts - 3,886 through 3,900 (of 5,109 total)