No announcements
Found 2927380 threads
-
1 Votes
Cannot cast a SQL tinyint to [s]byte
I have SQL table data in a DataRowView from a DataTable, and I am attempting to cast what was a tinyint in the SQL table into ...Answered | 5 Replies | 5782 Views | Created by cgtyoder - Friday, October 5, 2012 3:40 PM | Last reply by cgtyoder - Wednesday, October 17, 2012 1:56 PM -
0 Votes
how to cast tinyint ?
you have to use the following expression in your Named Calculation CAST(mySystemInt32toTinyInt AS tinyint) this is pure SQL and has ...Answered | 1 Replies | 4811 Views | Created by light_wt - Monday, December 14, 2009 8:56 PM | Last reply by Gerhard Brueckl - Monday, December 14, 2009 9:32 PM -
0 Votes
CLR Int16 or byte in where clause and cast of tinyint field in sql
. When I have a simple where clause in linq on a tinyint, the generated sql is casting this field to an int. The ...Proposed | 4 Replies | 5206 Views | Created by Bart.NET - Saturday, August 7, 2010 12:15 PM | Last reply by Michael Sun [MSFT] - Wednesday, September 1, 2010 3:13 AM -
1 Votes
TINYINT in SQL Server
little remark : TINYINT needs a byte to be stored. BIT also a byte, but if you create 6 more columns with the type BIT, the 7 whole columns will ...Answered | 3 Replies | 30332 Views | Created by C. Tang - Wednesday, August 12, 2009 10:20 PM | Last reply by Papy Normand - Thursday, August 13, 2009 12:13 PM -
3 Votes
how to cast a byte* to a byte[]?
unmanaged memory block as a managed memory block and cast this memory to a class: aStructure s = ...Answered | 20 Replies | 4078 Views | Created by Juan Carlos Ruiz [perfil anterior] - Wednesday, May 6, 2009 7:07 PM | Last reply by Juan Carlos Ruiz [perfil anterior] - Friday, May 8, 2009 2:20 PM -
4 Votes
How to cast from double[,] to byte[]?
CryptHashData, etc. This would allow you to use unsafe code, turn your data into a double*, cast to byte*, and p/invoke with ...Answered | 7 Replies | 1276 Views | Created by Olaf Meding - Wednesday, January 30, 2013 8:31 PM | Last reply by Olaf Meding - Thursday, January 31, 2013 4:20 PM -
0 Votes
Cannot map tinyint to a SSIS data type in resultset
Byte does not work either, at least in 2005, so holen1Master's original question is still unanswered. If you are trying to assign a tinyint value from a ...Answered | 9 Replies | 22622 Views | Created by Simon Sabin - Thursday, December 15, 2005 10:52 PM | Last reply by SqlServerDeveloper - Friday, March 30, 2012 9:45 PM -
0 Votes
How to Cast from a System.DirectoryServices.PropertyValueCollection Value object to Byte[]
Greetings, I'm pretty new to C#, so sorry if this is a dumb question. I am trying to read a byte field on a ...Discussion | 1 Replies | 6250 Views | Created by Dave_mnak - Friday, December 1, 2006 4:33 PM | Last reply by Dave_mnak - Friday, December 1, 2006 5:23 PM -
0 Votes
method to cast to/from ubyte[]/byte[]
Hi;First off, thank you very much. This is a tremendous performance improvement.Second, I agree with Ujihara-san that it's unnatural that you have to do the double ...Answered | 7 Replies | 9126 Views | Created by DavidThi808 - Tuesday, November 22, 2005 3:35 AM | Last reply by Ryan Stemen - Thursday, March 15, 2007 2:57 PM -
0 Votes
Cast a string repsentation of a byte to a type byte
Hello I've a string of "0x5a, 0x4c, 0x5d" I can split the string by the comma, but how do I cast them back ...Answered | 2 Replies | 564 Views | Created by William256 - Sunday, February 22, 2015 3:45 AM | Last reply by Magnus (MM8) - Sunday, February 22, 2015 9:53 AM -
0 Votes
Cannot Convert from 'byte' to 'byte*' ?!
So tanks but, i need call the function using a byte, and i realy need to know the diference or the cast of unsigned char** to byte[]Unanswered | 2 Replies | 5011 Views | Created by Wagner Araujo - Saturday, September 23, 2006 7:14 PM | Last reply by Wagner Araujo - Sunday, September 24, 2006 12:37 AM -
1 Votes
Cannot implicitly convert type 'int' to 'byte'. An explicit conversion exists (are you missing a cast?)
Cannot implicitly convert type 'int' to 'byte'. An explicit conversion exists (are you missing a cast?) public static ...Answered | 2 Replies | 8508 Views | Created by hazz - Thursday, December 3, 2009 6:14 PM | Last reply by boothwine - Thursday, December 3, 2009 7:14 PM -
0 Votes
Linq to SQL doesn't support Identity TinyInt
Using the VS2008 RTM, and SQL 2005 I got the following error when I tried to add a row where the Primary Key column was of TinyInt. I was amused by theUnanswered | 1 Replies | 8469 Views | Created by Larry-K - Thursday, November 29, 2007 2:16 AM | Last reply by Andrea Azzola - Monday, October 13, 2008 4:14 PM -
0 Votes
Mapping SQL Server tinyint data type
SQL Server type tinyint to CLR type byte and if I change the CLR type to Boolean in the model designer, I get the following error: ...Answered | 1 Replies | 6987 Views | Created by Graham Hay - Monday, July 28, 2008 12:48 PM | Last reply by Noam Ben-Ami - MSFT1 - Monday, July 28, 2008 5:40 PM -
0 Votes
convert byte array to datatable c#S
misunderstanding, please provide more information about your byte array. It will help us to analyze your problem and make a test. Best ...Unanswered | 3 Replies | 702 Views | Created by Aditya BR Tiwari - Monday, September 16, 2019 9:58 AM | Last reply by Xingyu Zhao - Tuesday, September 17, 2019 8:29 AM -
3 Votes
Cannot Convert System.Data.Linq to Byte[]
Yes, the default CLR type mapping for the VARBINARY(MAX) SQL Server data type is System.Data.Linq.Binary and you can convert this to a byte[] by using the ToArray() ...Answered | 2 Replies | 2114 Views | Created by bbt2d - Tuesday, June 4, 2013 7:07 PM | Last reply by Magnus (MM8) - Tuesday, June 4, 2013 8:39 PM -
1 Votes
8 byte float cast error?
No, it is not a bug. All float(24) does is give you a value that is accurate to (approximately) 7 decimal significant digits. Float(25), which in SQL ...Answered | 4 Replies | 605 Views | Created by MarienK - Tuesday, February 17, 2015 7:46 AM | Last reply by Tom Cooper - Tuesday, February 17, 2015 5:15 PM -
0 Votes
Convert a byte Array (Byte[]) to byte
The error you are getting suggests the value of temp cannot be converted to a byte If memory servers a ...Answered | 1 Replies | 4054 Views | Created by Macerick - Monday, April 23, 2007 10:38 AM | Last reply by Zamial - Monday, April 23, 2007 1:11 PM -
0 Votes
How to cast a byte[] to TimeZoneInformation struct?
Have to programmatically set the correct time-zone. Reading the time-zone from the registry PPC2003 results in a byte[]. The time-zone ...Answered | 3 Replies | 4358 Views | Created by Wa1d0 - Friday, May 5, 2006 5:48 AM | Last reply by Mattias Sjögren - Friday, May 5, 2006 7:29 AM -
0 Votes
Datasource View converts tinyint to int
, “SELECT Cast(KeyID as Tinyint) as KeyID”. You can then create the relationship. Another solution is to just change the data ...Answered | 3 Replies | 566 Views | Created by Nick Ryan - Friday, May 19, 2017 2:25 AM | Last reply by willson yuan - Friday, May 19, 2017 5:19 AM - Items 1 to 20 of 2927380 Next ›
No announcements