Re: Data structures question
Shwetabh wrote on 26/07/05 :
My question is, why are data structures implemented only with struct
data type?
Why not union when it is more efficient as compared with structures?
I don't see what you meant. Just implement the data structures in the
way that seems to be the best for your application. If you want an
union, 'just do it'...
--
Emmanuel
The C-FAQ: http://www.eskimo.com/~scs/C-faq/faq.html
The C-library: http://www.dinkumware.com/refxc.html
"It's specified. But anyone who writes code like that should be
transmogrified into earthworms and fed to ducks." -- Chris Dollin CLC
.
Relevant Pages
- Re: odd characters and symbols in one column
... like the union query I had -- a null for the length ID column in the first ... this can happen if Access misunderstands the data type. ... > performs the union, the binary numeric data is treated as text values, so ... >> are a number of select queries and several union queries. ... (microsoft.public.access.queries) - Re: Data type for nulls in UNION query
... (payments, invoices, and adjustments) ... UNION ALL SELECT LookupPayment.* ... Null in those two, it results in "Data type mismatch in ... expression) when running the UNION query. ... (microsoft.public.access.modulesdaovba) - Re: Union Query Long Datatypes and a "Placeholder" Corresponding Value
... UNION ALL ... I have one case where c2 is a long data type in one table and there is nothing corresponding in the second table (it does not have a long datatype column). ... In 10gR2 long columns in select list of union works, however according to documentation it should not. ... (comp.databases.oracle.server) - Re: odd characters and symbols in one column
... this can happen if Access misunderstands the data type. ... In this example, Access looks at the Null in the first query, and cannot ... UNION ALL ... > are a number of select queries and several union queries. ... (microsoft.public.access.queries) - Re: SQL Injection: Issue with UNION SELECT ALL
... What he found was where the first conversion clash occurred. ... It seems that your third expression is text field, ... For some reason SQL Server gives a higher priority on text is incompatible with int error or any casting problem than the equal number of expressions in a UNION clause. ... you can use the convert and sql_variant data type of MS SQL SERVER to ... (Pen-Test) |
|