conversion

MySQL - Change date string to date type in place?

(Hi all. I'm new-ish to SQL and MySQL in particular. I know some PHP.) I have a table which contains a "date_string" column. For legacy reasons, this is a text field, containing the date in d/m/YY format. e.g. "22/11/09" for 22nd November 2009. Question: how could I convert all fields in this column to a standard MySQL date format (YY...

In asp.net code/tool used for converting video files to flv format

Asp.net web application best code/tool used for converting video files to flv format ...

How to convert a MySQL DB to XML?

How can you convert a MySQL database to XML? I want everythimg... data and there relation in XML schema file how to convert from sqlyog community 8.13(free version) ...

Converting float to double

How expensive is the conversion of a float to a double? Is it as trivial as an int to long conversion? EDIT: I'm assuming a platform where where float is 4 bytes and double is 8 bytes ...

Convert DataTable to List<>

Hello, I have an strongly typed DataTable 'MyType', I'd like convert it in an List. How can I do this ? Thanks, ...

convert byte[] to string

How do you convert a byte array to a string? I need to get the raw content, e.g. "96=A8=FC-=A8=FE", but when I use say Encoding.UTF8.GetString(bytes), it returns "96��-��". Thanks! ...

Regex to match tags in comments.

I want to get a regex which will match a tag in a java comment so I can replace it with a .net comment. eg I have this: /** * Some method description * * @param paramName Parameter description * which may span more than 1 line * @return return value. * @throws ExceptionName some exception description * again may span...

Render TIFF image in Flex?

I have TIFF images in the database, and I need to render them in Flex. Please consider server-side conversion options as falling outside the scope of this question. Client-side conversion options interest me, if anyone has anything. ...

Convert List of longs to string array

What is the best way to convert a List of primitive longs to an array of strings? I think I'm looking for something fancier than writing my own loop, etc.. ...

Derived tables in Linq to SQL

I would like to implement this in Linq to SQL: select * from ( select * from Orders) as A Obviously this is a pointless example, but I just can't figure out how to do it! ...

Migrate MS Access to MySQL

I'm getting data as an Access file. My application uses MySQL/Java. I'd like to parse the Access data, and stick it in MySQL. Is there a Java tool that will help me do this? ...

How do I convert double to string using only math.h?

I am trying to convert a double to a string in a native NT application, i.e. an application that only depends on ntdll.dll. Unfortunately, ntdll's version of vsnprintf does not support %f et al., forcing me to implement the conversion on my own. The aforementioned ntdll.dll exports only a few of the math.h functions (floor, ceil, log, p...

SQL - text conversion

I want to select some values from a table . I want a text output . Now what iam doing is iam writing a procedure to convert the selected values into text . But its really time consuming . Is there anythng , means any system functions or sp's in SQL to implement this....? ...

converting data to mysql database

i have set of 200 documents (*.doc) containing data as follows . I want to upload it to database (mysql). how to convert it? Is there any easy steps to do? i'm using ubuntu os 1) Name: MR RAMESH KUMAR Address: 23/64,PANKAJ RESIDENCY HYDERABAD ...

FFmpeg: "[h264 @ <hexnumber>]AVC: Consumed only n bytes instead of n+6"

When I'm converting an HD video, I get messages saying, "[h264 @ ]AVC: Consumed only n bytes instead of n+6" Is there a way to fix the problem? Or is there an option to get rid of those messages? ~ $ ffmpeg -i original.mp4 -ar 22050 -qscale 7 -s 480x270 result.flv FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al. ...

Visual Studio Conversion Wizard: Why put it in if it is broken? Whats the point?

I have tried converting many projects from vb.net 2005 to vb.net 2008, and not a single one has ever made it. Why do you think they even bothered to include this tool if it is very clearly broken? I mean, it can convert some code okay, but I can never load Design view properly, and it'll almost never compile without error. Whats the poi...

Good way to convert between short and bytes?

I need to take pairs of bytes in, and output shorts, and take shorts in and output pairs of bytes. Here are the functions i've devised for such a purpose: static short ToShort(short byte1, short byte2) { short number = (short)byte2; number <<= 4; number += (short)byte1; return number; } static void FromShort(short number...

MSSQL to MYSQL Migration tool

I want to migrate my MSSQL database into MYSQL. Is there any open source or free software for that? ...

Serverside solution for converting an SWF file to a VIDEO file

Right now i develop an RIA application, for online movie creating. Main data format it`s a server side generated swf files. I need an server side solution for automated swf to video converting. After some researching and experiments, i found two solutions: Rewrite a bit an open source flash player gnash Grab adobe flash player directl...

How can I convert a numerical value to text in JavaScript?

I would like to convert a numerical value to a text string. I am opening several windows with the window.open() command and I would like these windows not to be on top of each other. For that I use the argument "left" and "top" in the windows.open command but these parameters need to be text entities. for (var i = 0; i < final_number; ...