Equal columns in user_tab_columns
Hi,
I created a cluster "MyClusterOrTable" with column "mycolumn" (varchar), then, I created a table "MyClusterOrTable" with column "mycolumn" (number)
Select * from user_tab_columns
showed two equal columns. Including table_name, column_name and column_id.
So, who knows how to distinguish them later? What column is for cluster and what is for table?
I am looking for the correct SQL script. It has to be more complex than "Select * from user_tab_columns".
P.S. Desc "MyClusterOrTable" works correctly, unlike many GUI tools including Manager Console.
OK the only problem is that you cannot map columns to the object. From user/all/dba_objects you can get object_id. Unfortunately user_tab_columns hasn't it. To avoid that you can get the text from dba_views for all/user/dba_tab_cols and create your all/user/dba_tab_cols2 view containing the object_id for table/cluster/whatever.
And then grant select on the created object to whatever you need.
It is of course a bit clumsy and won't work on another db's where you haven't your very special view, but for me it seems usable solution.
And then raise SR for Oracle to include object_id column in user/dba/all_tab_cols view :)
Of course the another possibility is not to create objects with the same names ;)
Gints Plivna
http://www.gplivna.eu
Similar Messages
-
CS4: Automatically resize textfield to get equal columns?
Hello,
is there a option (or possible with a script) to resize a textfield in the vertical length to get equal column heights with such a result?
Thanks, CarlosAdobe has discovered a usability issue associated with running Adobe InDesign CS5 and InCopy CS5 GERMAN versions and all suites that include InDesign CS5 on the Mac OS X platform. We are addressing this issue as quickly as possible to ensure the best experience for our customers. For customers who currently have the German version of InDesign CS5, InCopy CS5, Design Standard CS5, Design Premium CS5 or Master Collection CS5 installed on the Mac platform, please reference the Adobe Knowledge Base article which provides a further description of the issue and manual workaround.
English - http://go.adobe.com/kb/ts_cpsid_84345_en-us
German - http://go.adobe.com/kb/ts_cpsid_84345_de-de
Swedish - http://go.adobe.com/kb/ts_cpsid_84345_sv-se (not live yet, but will be soon)
Message was edited by: Peter Spier -
Ok, im new to numbers but i cant work this one out. I have 4 columns. A and B have different values. Column C is an average of hours worked. When column C is less then 8 i need column D to equal column A. When column C is equal or greater then 8 i need column D to equal the sum of A and B.
Hi Lucas,
Try this:
Formula in D2 (and Fill Down) =IF(C2<8, A2,A2+B2)
The IF function follows the logic of if, then, else.
IF(this is true, then do this, else do that)
If it is raining, then stay at home, else hold a picnic .
Regards,
Ian. -
Labels and inputfields in equal columns
Hi, I have a hard time making my application look good. I want Labels and Inputfields to be sorted one under another in equal columns. Mostly I have a MatrixFlow with two labels and inputfields in a row. F.e:
Label1 Inputfield1 Label2 Inputfield2
Label2.1 Inputfield2.1 Label2.1 Inputfield2.1
and this is how I want it to be, now it looks more like that
Label1 Inputfield1 Label2 Inputfield2
Label2.1 Inputfield2.1 Label2.1 Inputfield2.1
and so on. Im aware of Padding left/right but since every single label or IF has different lenght it is hard to mach them in columns. thinking about setting it by pixels makes me sick as well. Ive been looking on example projects and there was no such problem like not even column so there must be some tool sorting it out and Im not aware of its existance. Please helpThanks for response. Im using Grid layout in some Transparent Containers but it does not solve the problem, making whole app as Grid would take way to much space Manoj.
I tried to put 1.1 and 2.1 labels in one Transparent and it worked well, made it stuck to the left side, problem began again with inputfields, seems they are dependand on label lenght that way. Funny thing is when you see at example from sap it all looks fine in simple MatrixFlow and that's it.
Screenshot below so you can see how it looks atm and I warn you it can make your eyes bleed
(sorry for blackened fields but Im not allowed to show it to people yet. Black field has same lengt as label)
[url]http://img147.imageshack.us/my.php?image=notitlehz5.jpg
Edited by: Wojtek G on Jan 28, 2008 9:37 AM
Edited by: Wojtek G on Jan 28, 2008 9:37 AM
Edited by: Wojtek G on Jan 28, 2008 9:39 AM -
CSS Equal Columns with a twist?
I need equal column heights for 2 DIVs, but here's the twist
- the
content in each must be bottom-aligned. All the hacks and JS
code I
found to make equal heights adds the extra space to the
bottom, meaning
content can't shift down to be bottom-aligned. Is this
possible (with
pure DIVs and no tables)?
Alec Fehl, MCSE, A+, ACE, ACI
Adobe Community Expert
AUTHOR:
Microsoft Office 2007 PowerPoint: Comprehensive Course
(Labyrinth
Publications)
Welcome to Web Design and HTML (Labyrinth Publications)
CO-AUTHOR:
Microsoft Office 2007: Essentials (Labyrinth Publications)
Computer Concepts and Vista (Labyrinth Publications)
Mike Meyers' A+ Guide to Managing and Troubleshooting PCs
(McGraw-Hill)
Internet Systems and Applications (EMC Paradigm)Alec Fehl wrote:
> I need equal column heights for 2 DIVs, but here's the
twist - the
> content in each must be bottom-aligned. All the hacks
and JS code I
> found to make equal heights adds the extra space to the
bottom, meaning
> content can't shift down to be bottom-aligned. Is this
possible (with
> pure DIVs and no tables)?
>
>
Hummmm...... you may be able to use absolutely positioned
layers in
association with the Project Seven equal height javascript to
achieve
this...but it's a bit hit and miss I would say. Probably not
worth the
effort.
I don't particularly know of a bullet proof method unless the
content is
images in which case you can use background images.
Tables are king :)....in some instances. -
Equal column heights ?? Help!
I am trying to use example from projectseven:
http://www.projectseven.com/tutorials/css/pvii_columns/col2fixed.htm.
It looks ok in firefox, but does not in IE . The left sidebar does
not equal maincontent div. Your help would be appreciated and if
you have a easy fix that would be great. Thanks. DenAlso, XHTML requires "onload" rather than onLoad.
Change this:
<body
onLoad="P7_equalCols2(1,'sidebar','P','maincontent','P')">
to this:
<body
onload="P7_equalCols2(1,'sidebar','P','maincontent','P')">
John
"carbiz" <[email protected]> wrote in
message
news:[email protected]...
>I am trying to use example from projectseven:
>
http://www.projectseven.com/tutorials/css/pvii_columns/col2fixed.htm.
It
> looks
> ok in firefox, but does not in IE . The left sidebar
does not equal
> maincontent
> div. Your help would be appreciated and if you have a
easy fix that would
> be
> great. Thanks. Den
>
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
> "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="
http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
> <title>PVII Equal Height Columns</title>
> <script type="text/javascript"
src="p7_eqCols2_10.js"></script>
> <style type="text/css" media="screen">
> <!--
> body {
> background-color: #FFFFFF;
> color: #333333;
> font-family: Arial, Helvetica, sans-serif;
> font-size: 100%;
> margin: 20px;
> padding: 0;
> min-width: 730px;
> }
> h1 {
> margin: 0;
> clear: both;
> }
> #wrapper {
> margin: 0 auto;
> width: 760px;
> }
> #sidebar {
> border: 1px solid #333;
> font-size: 0.75em;
> padding: 16px;
> width: 150px;
> float: left;
> background-color: #FF9900;
> height: 750px;
> background-image: url(IMAGES/sidebarfiller.png);
> background-repeat: repeat-y;
> }
> h2 {
> margin: 0
> }
> #maincontent {
> border: 1px solid #333;
> font-size: 0.8em;
> padding: 16px 30px;
> width: 508px;
> float: right;
> }
> #maincontent h3 {
> margin: 36px 0 6px;
> }
> #footer {
> color : #999999;
> font-size: 0.75em;
> padding-top: 6px;
> clear: both;
> }
> #footer p {
> margin: 0;
> }
>
> /*NAVIGATION BAR*/
> #navbar {
> margin: 0;
> padding: 0;
> }
> #navbar li {
> list-style-type: none;
> margin: 0 0 6px 0;
> }
> #navbar a {
> display: block;
> padding: 3px 6px;
> color: #FFFFFF;
> text-decoration: none;
> background-color: #F49300;
> border: 1px solid #333333;
> }
> #navbar a:hover, #navbar a:active, #navbar a:focus {
> color: #333333;
> background-color: #FFFFFF;
> }
> #uberlink {
> color: #333333 !important;
> font-weight: bold;
> background-color: #FFFFFF !important;
> }
> -->
> </style>
> <!--[if IE 5]>
> <style>
> body {text-align: center;}
> #wrapper {text-align: left;}
> #sidebar {width: 182px;}
> #maincontent {width: 570px;}
> </style>
> <![endif]-->
> <!--[if lte IE 6]>
> <style type="text/css">
> #navbar a {height: 1em;}
> </style>
> <![endif]-->
> </head>
> <body
onLoad="P7_equalCols2(1,'sidebar','P','maincontent','P')">
>
> <div id="wrapper">
>
> <h1>masthead</h1>
>
> <div id="maincontent">
> <h2>layout examples</h2>
> <p>A re-engineering of your current world view
will reaffirm your online
> presence enabling a more effervescent solution.
Upscaling voluminous
> networking
> exchange solutions will result in your achieving an
excellent systemic
> electronic data interchange synchronization, thereby
exploiting technical
> environments for mission critical broad-based
capacity-constrained
> systems.
> This will fundamentally cause a morphing into a well
designed and
> actionable
> information infrastructure whose semantic content is
downright null. To
> more
> fully clarify the current concept, a few aggregate
issues will require
> addressing to facilitate a distributed communication
venue. In integrating
> non-aligned structures into existing legacy systems, an
even more
> effervescent
> (bubbly) gateway blueprint in a backward compatible
package of tangible
> and
> immeasurable strategic value will result in right-sizing
the conceptual
> frameworks, but only when thinking outside the box. This
being said, the
> ownership issues inherent in dominant thematic
implementations cannot be
> understated vis-a vis David Bowie, for
instance.</p>
> <h3>additional content</h3>
> <p>A re-engineering of your current world view
will reaffirm your online
> presence enabling a more effervescent solution.
Upscaling voluminous
> networking
> exchange solutions will result in your achieving an
excellent systemic
> electronic data interchange synchronization, thereby
exploiting technical
> environments for mission critical broad-based
capacity-constrained
> systems.
> This will fundamentally cause a morphing into a well
designed and
> actionable
> information infrastructure whose semantic content is
downright null. To
> more
> fully clarify the current concept, a few aggregate
issues will require
> addressing to facilitate a distributed communication
venue. In integrating
> non-aligned structures into existing legacy systems, an
even more
> effervescent
> (bubbly) gateway blueprint in a backward compatible
package of tangible
> and
> immeasurable strategic value will result in right-sizing
the conceptual
> frameworks, but only when thinking outside the box. This
being said, the
> ownership issues inherent in dominant thematic
implementations cannot be
> understated vis-a vis David Bowie, for
instance.</p>
> <p>A re-engineering of your current world view
will reaffirm your online
> presence enabling a more effervescent solution.
Upscaling voluminous
> networking
> exchange solutions will result in your achieving an
excellent systemic
> electronic data interchange synchronization, thereby
exploiting technical
> environments for mission critical broad-based
capacity-constrained
> systems.
> This will fundamentally cause a morphing into a well
designed and
> actionable
> information infrastructure whose semantic content is
downright null. To
> more
> fully clarify the current concept, a few aggregate
issues will require
> addressing to facilitate a distributed communication
venue. In integrating
> non-aligned structures into existing legacy systems, an
even more
> effervescent
> (bubbly) gateway blueprint in a backward compatible
package of tangible
> and
> immeasurable strategic value will result in right-sizing
the conceptual
> frameworks, but only when thinking outside the box. This
being said, the
> ownership issues inherent in dominant thematic
implementations cannot be
> understated vis-a vis David Bowie, for
instance.</p>
> </div>
>
> <div class="columns" id="sidebar">
> <ul id="navbar">
> <li><a href="col2fixed.htm"
id="uberlink">2-col fixed</a></li>
> <li><a href="col4fixed.htm">4-col
fixed</a> </li>
> <li><a href="col2fluid.htm">2-col
fluid</a></li>
> <li><a href="col3fluid.htm">3-col
fluid</a></li>
> <li><a href="index.htm">Return to
Article</a></li>
> </ul>
> <p>Lorem ipsum dolor sit amet, consectetuer
adipiscing elit, sed diam
> nonummy
> nibh euismod tincidunt ut PVII excelsior magna aliquam
erat very cool. Ut
> wisi
> enim ad minim veniam, quis nostrud exerci tation
suscipit lobortis nisl ut
> aliquip ex ea commodo sound asleep.</p>
> <p> </p>
> </div>
>
> <div id="footer">
> <p>© Copyright information here
</p>
> </div>
>
>
> </div>
>
> </body>
> </html>
> -
Hello all,
Well once again I find myself turning to the greatest forum on the internet. HELP.....
I am trying to create columns in Pages, but when I do, they are not equal (refer to image). Whatever I do just does not work, how do I get them to be the same?
Thanks in advance.
Daniel
http://img839.imageshack.us/img839/2774/columnst.png
************ UPDATE *************
I found out that when the uneven column on the right was created, all I had to do was create a dummy bullet line above and then delete it. This allowed the formating of a new line to remain in place and therefore create even columns. It seems a bit silly that an additional step like this is required, maybe I did something wrong setting it up, if anyone has a solution to my original problem, please let me know.
CheersHi Daniel,
Page 50 of the Number'09 User Guide explains how to define columns. Download the Guide from the Help Menu in Pages. Inspector > Layout Tab > Layout Button shows details of the columns.
To see the column margins, View > Show Layout:
The blue upside-down triangles on the ruler show left and right margins for Column 1 (the active column where the cursor is). If you thought they were the left margins of both columns, I can see why the columns appeared unequal.
When setting columns, the default is that they are equal. Hope this helps.
Regards,
Ian. -
How to set equal column width?
In one report I have 5 tables with different number of rows etc. Is there any possibility or way to make columns inside of it equal? Problem is when report is being exported to .XLS file there are columns which are not visible or sometimes they are merged.
Is there any quick way to avoid it or they only way is to sit in front of SSRS report few hours and somehow manage to set it manually praying that it will be good?Hi glaeran,
The Excel renderer is primarily a layout renderer. Its goal is to replicate the layout of the rendered report as closely as possibly in an Excel worksheet and consequently cells might be merged in the worksheet to preserve the report layout. As per my understanding,
this behavior is currently by design. For more information about it, please refer to the link below to see merge cells section:
http://msdn.microsoft.com/en-us/library/dd255234.aspx
To avoid the merged cells, if we want to display multiple tables horizontally, the rows of the two tables must be aligned horizontally strictly. If we want to display multiple tables vertically, then the columns of the tables must be aligned vertically strictly.
The following thread about the similar issue is for your reference:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/7fbb3d31-fc1b-4c9b-8a7d-afc76cbb0291/ssrs-2012-report-export-to-excel-and-sort-thje-data-on-excel-spreadsheet?forum=sqlreportingservices
Hope it helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support
Well I do realise the point of "avoiding merged cells" however the points was to find a simply way to avoid it not just a summary "why SSRS report is behaving this way not another". Hoped that there's somekind of solution for my problem since in one report
as it was said I had to put 5 different tables and every time the report itself is exported to XLS file.. So I thought that maybe it's possible to set same align of cells using table/column/cell properties or whatever so I won't have to spend whole day trying
to match align of 5 tables column by column.. :) -
Global display options for equal columns of different tables
Hi,
is it possible to create some kind of templates for tables which are nearly the same! I mean different table names, different content and some columns are equal.
e.g. I've got a a lot of Error tables, in every table there is a column named Reload Flag, which should be displayed as a List of value, can i set this by default. Or for example I've got a column named Error message and i display it as a standard report column, but i always have to edit the column formatting, because the column is very broad. I have to change the CSS Style ( {width:30em;} )!
THX MatHi,
Yes, It must be working using rowid since its not mention anywhere, I could not post it. But I too think so.
check the below block
SQL> Declare
2 v_mydept1 emp.deptno%TYPE;
3 v_mydept2 dept.loc%TYPE;
4 CURSOR C1 IS SELECT e.deptno,d.loc
5 FROM emp e,dept d
6 WHERE e.deptno = d.deptno
7 and empno=7900
8 FOR UPDATE of e.sal;
9 Begin
10 OPEN C1;
11 LOOP
12 FETCH C1 INTO v_mydept1,v_mydept2;
13 Dbms_output.put_line(v_mydept2);
14 Dbms_output.put_line(v_mydept1);
15 EXIT WHEN C1%NOTFOUND;
16 UPDATE dept SET loc = 'NY' WHERE CURRENT OF C1;
17 select loc into v_mydept2 from dept where deptno=v_mydept1;
18 Dbms_output.put_line('Record updated '||v_mydept2);
19 End loop;
20 COMMIT;
21 End;
22 /
Declare
ERROR at line 1:
ORA-01410: invalid ROWID
ORA-06512: at line 16The logic doesnot make sense, but if you can notice the error speaks about rowid.
For update locks the specific rows listed in the cursor and Where Current Of Clause must be taking in account the rows as per thier ROWID.
Twinkle
Edited by: Twinkle on Apr 8, 2010 4:28 PM -
I am trying to implement the Project7 Equal (div) Columns
script. I have
applied it according to the instructions, but I still can't
get one of my
divs to "come down".
The following page is supposed to show a gray color below the
left column
and this gray color should extend all the way to the footer.
Any ideas why
this isn't working?
My hunch is that I don't have <p> tags in the content
so the script has
nothing to compare to . . . but I have tried using DIV (but I
get an error)
and I've tried placing a <p> tag int he content area,
but it still doesn't
work.
http://www.presentationsdirect.com/Carts/search_results.asp?categorycode=1
BrandonHave you asked on the PVII forums?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Brandon" <[email protected]> wrote
in message
news:ev374m$m9p$[email protected]..
>I am trying to implement the Project7 Equal (div) Columns
script. I have
>applied it according to the instructions, but I still
can't get one of my
>divs to "come down".
>
> The following page is supposed to show a gray color
below the left column
> and this gray color should extend all the way to the
footer. Any ideas
> why this isn't working?
>
> My hunch is that I don't have <p> tags in the
content so the script has
> nothing to compare to . . . but I have tried using DIV
(but I get an
> error) and I've tried placing a <p> tag int he
content area, but it still
> doesn't work.
>
>
http://www.presentationsdirect.com/Carts/search_results.asp?categorycode=1
>
> --
> Brandon
> -
var myDoc = app.activeDocument;
myDoc.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points;
myDoc.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;
var myTable = app.selection[0].paragraphs[0].tables[0];
myColumns = myTable.columns.count();
myRows = myTable.rows.count()
var myCs = new Array;
for (var c = 0; c < myColumns; c++)
myCMaxWidth = 0;
for (a=0; a< myRows; a++) {
if (myTable.rows[a].columns.length!=myTable.rows[a].cells.length) {
continue;
try {
myOutText = myTable.rows[a].cells[c].texts[0].createOutlines (false);
} catch (err) {
continue;
myC1Width = myOutText[0].geometricBounds[3] - myOutText[0].geometricBounds[1]
myOutText [0]. remove();
if (myCMaxWidth < myC1Width) {
myCMaxWidth = myC1Width;
myCs.push(myCMaxWidth);
myTable.columns[c].width = myCMaxWidth;
var myTableWidth = myTable.width;
var myTableColWidths = myTable.columns.everyItem().width;
var myColumns = myTable.columns.count();
var myTableParent = myTable.parent;
var myParentWidth = myTableParent.textFramePreferences.textColumnFixedWidth;
var myAdjustment = (myParentWidth - myTableWidth)/myColumns;
for (var c = 0; c < myColumns; c++)
myTable.columns[c].width = myTableColWidths[c] + myAdjustment;This forum is about scripts in Acrobat/Reader. You need the one for
InDesign Scripting, I believe. -
2 tables:
CREATE TABLE Requirement
reqID int IDENTITY(1,1) PRIMARY KEY,
req_result_id numeric(10,0) NOT NULL,
description varchar(200),
heading varchar(100),
GO
INSERT INTO Requirement VALUES (5296,'Cold pack','HH19_5');
INSERT INTO Requirement VALUES (5296,'Band-Aids','HH19_6');
INSERT INTO Requirement VALUES (5296,'First aid cream','HH19_7');
INSERT INTO Requirement VALUES (5296,'Tape','HH19_8');
INSERT INTO Requirement VALUES (5296,'Gloves','HH19_9);
INSERT INTO Requirement VALUES (5296,'Bandages','HH19_10');
INSERT INTO Requirement VALUES (5296,'Hand sanitizer','HH19_11');
INSERT INTO Requirement VALUES (5296,'Scissors','HH19_12');
INSERT INTO Requirement VALUES (5296,'Poison control information','HH19_13');
INSERT INTO Requirement VALUES (5296,'Name','HH02');
GO
CREATE TABLE Response
respID int IDENTITY(1,1) PRIMARY KEY,
req_result_id numeric(10,0) NOT NULL,
HH02 varchar(200),
HH19_5 varchar(20),
HH19_6 varchar(20),
HH19_7 varchar(20),
HH19_8 varchar(20),
HH19_9 varchar(20),
HH19_10 varchar(20),
HH19_11 varchar(20),
HH19_12 varchar(20),
HH19_13 varchar(20),
GO
INSERT INTO Response VALUES (33,'Mary',7,8,9,10,11,12,13,14,15);
INSERT INTO Response VALUES (35,'Barbara',7,8,9,10,11,12,13,14,15);
INSERT INTO Response VALUES (144,'Melissa',7,8,9,10,11,12,13,14,15);
INSERT INTO Response VALUES (146,'Missy',7,8,9,10,11,12,13,14,15);
INSERT INTO Response VALUES (5296,'Pamela',7,8,9,10,11,12,13,14,15);
GO
Result:
description
heading
response
Name
HH02
Pamela
Bandages
HH19_10
12
Hand sanitizer
HH19_11
13
Scissors
HH19_12
14
Poison control information
HH19_13
15
Cold pack
HH19_5
7
Band-Aids
HH19_6
8
First aid cream
HH19_7
9
Tape
HH19_8
10
Gloves
HH19_9
11
For now, I'm using where req_result_id = 5296. Only one row from the Response table is selected.
I'm playing with unpivot and cross apply. I might use two CTE's but am not yet sure how to join them. I would just like to see what others here suggest.
I only need help with T-SQL - not table design.
Let me know if you need more info or if I need to reformat the expected output to make it legible.
Thanks for any suggestions.CREATE TABLE Requirement
reqID int IDENTITY(1,1) PRIMARY KEY,
req_result_id numeric(10,0) NOT NULL,
description varchar(200),
heading varchar(100),
GO
INSERT INTO Requirement VALUES (5296,'Cold pack','HH19_5');
INSERT INTO Requirement VALUES (5296,'Band-Aids','HH19_6');
INSERT INTO Requirement VALUES (5296,'First aid cream','HH19_7');
INSERT INTO Requirement VALUES (5296,'Tape','HH19_8');
INSERT INTO Requirement VALUES (5296,'Gloves','HH19_9');
INSERT INTO Requirement VALUES (5296,'Bandages','HH19_10');
INSERT INTO Requirement VALUES (5296,'Hand sanitizer','HH19_11');
INSERT INTO Requirement VALUES (5296,'Scissors','HH19_12');
INSERT INTO Requirement VALUES (5296,'Poison control information','HH19_13');
INSERT INTO Requirement VALUES (5296,'Name','HH02');
GO
CREATE TABLE Response
respID int IDENTITY(1,1) PRIMARY KEY,
req_result_id numeric(10,0) NOT NULL,
HH02 varchar(200),
HH19_5 varchar(20),
HH19_6 varchar(20),
HH19_7 varchar(20),
HH19_8 varchar(20),
HH19_9 varchar(20),
HH19_10 varchar(20),
HH19_11 varchar(20),
HH19_12 varchar(20),
HH19_13 varchar(20),
GO
INSERT INTO Response VALUES (33,'Mary',7,8,9,10,11,12,13,14,15);
INSERT INTO Response VALUES (35,'Barbara',7,8,9,10,11,12,13,14,15);
INSERT INTO Response VALUES (144,'Melissa',7,8,9,10,11,12,13,14,15);
INSERT INTO Response VALUES (146,'Missy',7,8,9,10,11,12,13,14,15);
INSERT INTO Response VALUES (5296,'Pamela',7,8,9,10,11,12,13,14,15);
GO
;with mycte as (
select respID,req_result_id,response,heading from Response
cross apply (values
([HH19_5],'HH19_5')
,([HH19_6],'HH19_6')
,([HH19_7],'HH19_7')
,([HH19_8],'HH19_8')
,([HH19_9],'HH19_9')
,([HH19_10],'HH19_10')
,([HH19_11],'HH19_11')
,([HH19_12],'HH19_12')
,([HH19_13],'HH19_13')
,([HH02],'HH02') ) d(response,heading)
WHERE req_result_id=5296 )
select description,r.heading,response from Requirement r
inner join mycte m on r.req_result_id=m.req_result_id and r.heading=m.heading
Order by Case When len(r.heading)=4 then 1 Else 2 END, Len(Replace(r.heading,'HH19_','')) desc
drop table Requirement,Response -
Equal length, faux columns in the CS4 thrColHybHdr template
In this CS4 template ( three colum hybrid with header - footer, sidebar columns in em [or fixed] center column width in % capped with full span header and footer), I am trying to accomplish the look of equal column lenth (ie,the faux column technique). I'll admit I am coming up the learning curve with CSS, but I've tried to do alot of homework and read on the faux column technique. Honest! But I've yet to find an exact example of this though, and every close variation I try tweaking doesn't quite pan out.
Somebody PLEASE tell me how to get this to look just like the little pictograph of it in Dreamweaver!I dont know if it is possible to set up faux columns with fixed / % /fixed widths, I'd love to see the answer to that.
If you were to set your center to a fixed width, its pretty easy. You wrap the 3 columns in a wrapper div, You create a background image that matches the widths of the column, set it as your background image in the wrapper div, and set the overflow rule to hidden and set repeat to y in your css.
So for example if your cols are 200px, 400px, 200px, you create an image 800px wide, height is not all that important with first 200px being the color you want your first column, 400 your center and 200 your right, You have a faux column
There is a second faux technique that has a catch to it. If you leave the width a %, what you can to is to again create the wrapper, only make the background a color, again overflow to hidden, set no color for the left and right columns. Set the center div background color to whatever you want. The catch is that you would have to make sure that the center div is always the longest, and by a good margin, otherwise you see the differences at the bottom.
That is the only way I know with fixed and % widths, but would love to hear other opinions.
Gary -
My display has turned into 3 equal scrambled columns
Did my graphics card just bite the dust? I was watching a QuickTime video. The video started distorting, and now the display shows 3 equal columns (the outer columns are the same, the middle column is a different color) with symmetrical scrambled lines.
See picture: http://www.flickr.com/photos/28535101@N03/5539983950/
I just got this Mac last night!! -
Rules under columns of numbers in financials?
I am laying out columns of numbers in a financial section of a report...the columns are created with tabs. how do I make rules underneath each individual column. Underlining won't do it...I need to be able to control color, offset, etc. When I use paragraph rules, it makes a rule under the whole group of columns, not under each individual column.
I have done a lot of financial statements. Used to work in-house in an investment company. Tables are not an option unless you're doing something very minor: generally text needs to flow from column to column, and from page to page. It is possible that a single portfolio could run on for 10 pages. The other problem is that a typical layout can have several styles of ruling depending upon which row they're associated with: single rule under the left column; single rule under left two columns; double rule under the middle column; double rule under the right column. This makes regular paragraph ruling useless.
The best way I've found to handle this is to make your own custom rules with stroke styles (in the flyout of the stroke palette). Essentially, you make dashed rules that correspond to each different situation and apply them as paragraph rules in the appropriate style sheet. The gaps will be the columns without ruling and spaces between columns; the dashes will be the rules under the appropriate columns. Set up both single and double rules this way. (The rule weight of double rules includes both rules: if you want two half-point rules with a half point gap, you use a one-and-a-half point rule. Thick-thick is based on 33.3%,33.3%,33.3%, but the weights and spacing are as customizable as the dashes.)
With some planning you may be able to cut down on the number of strokes sytles you have to define. Generally the left column is text, the rightmost columns are figures, and only figure columns will ever have rules beneath them. A little tip is to use the paragraph rule indent to set the postion of the first dash. If you have equal columns you may be able to use one custom dash in different situations. For instance, you can use your three dash rule for just the last two columns by increasing the left indent. Increase it more and it's only applied to the last column. These indents can be defined in your paragraph styles.
Maybe you are looking for
-
Premiere CS6 Still Has a Long Way To Go
I'm in commercial editing and work as offline editor, assistant editor and compositor. I've been using Premiere Pro ever since FCPX came out, but not in the workplace as an offline tool because of certain major missing features: - a good EDL exporte
-
Dynamic variable in class declaration?
I've googled this endlessly but I can't find any syntax that helps with this particular question. I have (overly simplified): for (i=0; i<10; i++) { var pieceName:PieceName = new PieceName(); //this obviously isn't right I need it to create "pie
-
can anyone tell me the java code i would need to make a certian program run when the system clock hits a certian time? I just need it to run one program at 1 time, thx for the help in advanced.
-
Can't import HD video?!
Hi all, How can I import a MTS format video into IMovie 8? thanks little star
-
NB300 - Changing background on Windows 7 Starter
Hey, I have useless windows 7 starter on my nb300 and wan to know if there's a toshiba driver on my harddrive that will let me change my background picture as starter doesnt allow it. i dont want to buy an upgrade as i just bought the pc! Help!