﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 - General  / Insert a row in SQL table for SLX and STANDARDID type / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 21 May 2013 15:57:10 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Insert a row in SQL table for SLX and STANDARDID type</title><link>http://www.sqlservercentral.com/Forums/Topic1422981-391-1.aspx</link><description>The database is running user defined data type, so the selct you are running is attempting to convert the SECCODEID(varchar) to an INT, data type. If you did [code="sql"]SELECT * from PDW_SLX.sysdba.SECCODE where SECCODEID='1'[/code]This will run without a problem.</description><pubDate>Fri, 22 Feb 2013 06:40:15 GMT</pubDate><dc:creator>Jason-299789</dc:creator></item><item><title>RE: Insert a row in SQL table for SLX and STANDARDID type</title><link>http://www.sqlservercentral.com/Forums/Topic1422981-391-1.aspx</link><description>There's a Sage SalesLogix Forum at:[url]community.sagesaleslogix.com/[/url]They might be your best bet.</description><pubDate>Fri, 22 Feb 2013 04:57:48 GMT</pubDate><dc:creator>laurie-789651</dc:creator></item><item><title>Insert a row in SQL table for SLX and STANDARDID type</title><link>http://www.sqlservercentral.com/Forums/Topic1422981-391-1.aspx</link><description>Hi,I would like to insert a new row in a SalesLogix table with SQL however it doesn't work because[img]https://lh6.googleusercontent.com/-XFpco1Rdw5g/USdW_U3JOdI/AAAAAAAAAMo/EpoHel0CGys/s443/2013-02-22_12h29_32.png[/img][i]insert into sysdba.seccode (seccodedesc, seccodetype) values ('test', 1); -&amp;gt; Doesn't work because no SeccodeID.[/i]And if I try this : [i]insert into sysdba.seccode (seccodeid, seccodedesc, seccodetype) values (1, 'test', 1);[/i]The line has been inserted but I can't find it in my table :SELECT * FROM [PDW_SLX].[sysdba].[SECCODE] WHERE seccodeid = 1I've got the error (translate FR-&amp;gt;EN) : Can't cast/convert varchar value 'N6UJ9A00009' in int data type.Does anybody know how I can do?What is STANDARDID datatype ?Thanks</description><pubDate>Fri, 22 Feb 2013 04:38:05 GMT</pubDate><dc:creator>bibiche-04</dc:creator></item></channel></rss>