Viewing 15 posts - 1 through 15 (of 23 total)
DesNorton (1/3/2017)
However, your proc declares @userid as INT, and then tries to assign a GUID to an...
January 4, 2017 at 4:31 pm
Forget returning the user id or data from any other columns, is it possible to amend the code to just return one value, i.e. either -2, -1 or 1? I...
January 3, 2017 at 6:54 pm
Hi, happy new year, been away and just coming back to this now.
What I'm not understanding is why the return value is not either -1, -2 or 1. Why is...
January 1, 2017 at 2:57 pm
Hi Wryan, no I've not tested before but just ran it in SSMS and got the following:
Msg 245, Level 16, State 1, Procedure Validate_User, Line 18
Conversion failed when converting the...
December 17, 2016 at 5:48 pm
Hi Rob, I don't have a field call NormalizedUserName in the table.
December 17, 2016 at 4:28 pm
I tried the code from ChrisM@Work on page 1 of this thread and it compiled OK. I'm getting the same error though. Not sure now if it's my vb code...
December 16, 2016 at 6:24 pm
Thanks again, pleased to see so many willing to help. Maybe cos it's Christmas 🙂
I will reply to the comments soon, just to let you know that I haven't abandoned...
December 15, 2016 at 6:28 pm
Hi, thanks for the replies.
This code returns the user id but what I want it to return is either 1, -1 or -2. My vb code then uses a CASE...
December 11, 2016 at 6:20 pm
Yeah that's all fine, the connection is made fine but as I said if I add in those three lines of code the server cannot be found.
October 28, 2016 at 4:31 pm
Hi, thanks Nick's solution sounds the simplest way (to me) to get the data in, and I've now imported into a new table. However being new to SQL I don't...
June 15, 2015 at 11:21 am
Thanks tried the import wizard and it said 10 out of 11 rows successfully imported but no new rows appear to have been added. This method anyway seems to only...
May 29, 2015 at 6:43 pm
I don't understand that. Why do you think it worked for you? If you don't mind, what happens if you import the XML with every field as varchar(50) and then...
February 4, 2015 at 3:35 pm
Below is the XML. PRICE and RRP convert fine to Decimal(18,2). However LENGTH, DIAMETER, and WIDTH will not but they will convert to float in SQL Server.
<?xml version="1.0"?>
<STOREITEMS>
<CREATED>
<CATEGORY id="127" name="Category...
February 4, 2015 at 2:53 pm
Viewing 15 posts - 1 through 15 (of 23 total)