table

SQL one table aggregation

For the last few days I have been attempting to find a method to pull a very important set of information from a table that contains what I call daily counts. I have a table that is setup as follows. person|company|prod1|prod2|prod3|gen_date Each company has more than one person, and each person can have different combinations of prod...

Adjust fontsize in fixed-height/width table cells in javascript/jquery

Hi folks, I want to make a a printable schedule as table with fixed height/width cells. Cells contains names and i don't want that the names do line breaks. Is there a way to dynamically adjust the font-size so that there will be no linebreaks or hiding text? Maybe someone knows a good plugin or snippet for that issue? ...

accessing the next tr from an input in the row above using jquery

Dear jquery experts, Is there any way to access a tr from an input of a tr above without adding row specific id's or classes? <table> <tr><td>just another row</td> <tr><td><input name="inputToSerachFrom" type="text" /></td><tr> <tr><td>I want to acces this row without adding id's or classes</td><tr> <tr><td>just another row</td> </tabl...

How to get the value of a field in PHP?

I need to get the value of a field; I think I am along the right lines but not quite sure this is the proper code. The "Delete Movie" button is where I am trying to get the value of that row like so: value="'.$row['id'].'" Can you help? <?php //connect to database mysql_connect($mysql_hostname,$mysql_user,$mysql_password); @mysql...

Table borders don't display properly when converted from HTML page into MS Word 2003

Hello everyone, I've got a bit of a complicated set up. I specialise in XSLT which I write for 3rd party system. All CSS looks fine in the browser. Now that system provides a button that converts my generated HTML into MS Word 2003. However, table borders don't convert as they appear in a Browser. There are lots of tables and they have...

How can I determine the maximum row size just from the column datatype sizes?

How can I work out the maximum row size in a table, if I'm only given the datatype lengths (from all_tab_cols.data_length column) of the columns in the table (ie no statistics or ANALYZE)? There's extra complications in that this is an IOT, so there's index tree size to consider as well. ...

How do i create a table dynamically with dynamic datatype from a PL/SQL procedure

CREATE OR REPLACE PROCEDURE p_create_dynamic_table IS v_qry_str VARCHAR2 (100); v_data_type VARCHAR2 (30); BEGIN SELECT data_type || '(' || data_length || ')' INTO v_data_type FROM all_tab_columns WHERE table_name = 'TEST1' AND column_name = 'ZIP'; FOR sql_stmt IN (SELECT * FROM test1 WHERE zip IS NOT NULL) ...

TableSearch in ViewController not working!!!!

Hi I am a newbie to iphone programming. I took the sample code from TableSearch in apple documentation and tried working. I have a navigation controller and when i select one row to goes to another UITableviewController.I have made my table search in that view. But it doesn't load the table....please help. Error maybe in this part. (...

Why would a SQL query JOIN on the same table twice with the same condition?

I'm working on changes to a SQL Server v8 database developed by someone else, and have found something that seems (based on my limited SQL knowledge) strange and pointless. One of the views has a query that does a LEFT OUTER JOIN twice on the same table with the same condition. Is there any reason for doing this? The query is below. See...

postgresql table for storing automation test results

I am building an automation test suite which is running on multiple machines, all reporting their status to a postgresql database. We will run a number of automated tests for which we will store the following information: test ID (a GUID) test name test description status (running, done, waiting to be run) progress (%) start time of t...

Table cellspacing with CSS

hey, is it possible to add spacing between the cells? <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>test</title> <style> #wrap { display: table-row; /* there is no also cellspacing in CSS afaik :( */ } #wrap div { display: table-cell; /* margin: 40px; doesn't work for table-cell :( */ ...

Weird safari rendering

Hi everybody, i'm testing the new template for a website that i'm working for, and on safari i have a really weird behaviour where a piece of page (a table) goes far on the right, about 631 pixels, and i don't have any idea on why this is happening and how to fix it. Someone can help me? Here the page: http://www.ilsegnale.it/?tpl=502 ...

recipe for adding Drupal node records.

I am looking for a recipe for adding Drupal node records. I have identified three tables. node_revisions nid=249 - vid + 1? vid=248 - auto-increment node: nid=250 - vid + 1? vid=249 - auto-increment content_type_my_content vid=248 - from node_revisions table? nid=249 - from node table? Am I on right track? Is there some helpe...

Removing table prefixes on ASP.NET MVC DataModel entities

My database tables have prefixes on them and when the DataModel generates the EntityObjects they have the prefixes at the beginning of the class name. Is there anyway that I can have those prefixes ignored when the DataModel is updating/creating the classes? I've found the below question, but with no solution. http://stackoverflow.com/q...

Any problem will occur for SEO if i use tables for html forms?

I am finding tough to align the label and textboxes using Div's. If i use tables for forms, it will be easy. Does this affect my seo, or not? Thank You all who answered this question!, Im decided to go with tables for forms. ...

I have a standard table with text inside. How do I vertical align this?

Right now, the text seems not to be exactly vertical centered. It seems that there is more top-padding than bottom-padding. Although of course, there is no padding in the CSS. How do I make this completely vertical aligned? ...

Make UITableViewCell expand when text exceeds space

I have a UITableViewCell and it is UITableViewCellStyleDefault. When I try to put text longer than the UITableViewCell, it truncates it. How do I make the cell expand to accommodate this text? ...

Using Partitions for a large MySQL table

An update on my attempts to implement a 505,000,000-row table on MySQL on my MacBook Pro: Following the advice given, I have partitioned my table, tr: i UNSIGNED INT NOT NULL, j UNSIGNED INT NOT NULL, A FLOAT(12,8) NOT NULL, nu BIGINT NOT NULL, KEY (nu), key (A) with a range on nu. nu ought to be a real number, but because I only have...

Javascript table construction bug using JQuery in Firefox on Mac OSX

I'm using some code to build up tables using JQuery, but in Firefox 3.5.3 on Mac OSX, the table cells all appear on separate lines by themselves, instead of in their respective rows. Chrome 5.0.342.7 beta on OSX correctly produces the table, as does Safari 4.0.5. Here is a minimal reproduction case: <html> <body> <script type="text/jav...

jQuery: How to find and change multiply th classes between n & n

Hi everyone. I have some table structure: <tr class="row-2"><tr> <tr class="row-3">..<tr> <tr class="row-4">..<tr> <tr class="row-5">..<tr> <tr class="row-6">..<tr> <tr class="row-7"><tr> <tr class="row-8">..<tr> <tr class="row-9">..<tr> <tr class="row-10">..<tr> <tr class="row-11">..<tr> ...etc ...