|
Hi ,
I need help for oracle datatype-
I am using TEMP_STRING VARCHAR2(32767);
but while stroring in it I am building string more than 32767(so exception) ..which is around 40000+
So I used LONG datatype - but still the same.
Will it be appropriate or is there any other one in Oracle ?
Can you please suggest.
Thanks and regards,
- Ajay K
|
|
|
|
|
You may find you get a faster answer if you post this in the correct forum; i.e. DataBase.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
You Can use CLOB. Refer this http://www.codeproject.com/KB/database/C__and_Oracle.aspx
|
|
|
|
|
Oracle Datatypes[^]
As barmey as a sack of badgers
Dude, if I knew what I was doing in life, I'd be rich, retired, dating a supermodel and laughing at the rest of you from the sidelines.
|
|
|
|
|
I am taking a course in programming. They give you practical tests where they actually ask you to write programs for the tests. On one particular test we were asked to make a simple web site that had a user sign up with email and verification and also allowed them to retrieve their password if they forgot it. There also needed to be a login page and an internal page that could be accessed only by those that were logged in as well as an admin page that was only accessible by admins. They failed me on the basis that my database was not in the app_data folder and therefore didn't work right away. No where on the test instructions did it mention anything to do with having to be made in this way and not only that, I contend that the best way to write web apps is to have the database hosted in sql server. It takes a little setup, but it has much more versatility than file based. They contend however that if this was a customer they wouldn't be able to open it and maybe could have bad ramifications. I contend that this is ridiculous since if it was a customer, they wouldn't even own a copy of visual studio rather I would host the web site on my machine for demonstration purposes or if i had a web server i would put it there. I would like to see what people think about this.
|
|
|
|
|
You are right and you are wrong.
You are right in that it is ridiculous to bring a customer experience into a test scenario. You are wrong in that you did not give your customers (the examiners) what they wanted. Stating that the instructions were not explicitly defined in the test is not valid either, you are supposed to think about how the client is going to consume your web site.
And for gods sake will you PLEASE use the enter key and create some paragraphs, I very nearly didn't bother reading this.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
It sounds like the real test was to make a functional frame work within the alotted time and you missed it.
A customer will often ask for things in a short amount of time it is up to you to make design decisions that allow you to get to your presentation and show your customers they made the right choise in hirering you.
Give them something that works first, specially if the deadline is short. You can always add to the work later or if that is the last deadline, speak with them and point out issues that you have, with using a flat file for example and talk them into upgrading to a database server, at and addition charge (we don't work for free). Then set a deadline for that if they agree, one you are certain you can make.
The first thing you must do with a customer is meet their expectations! Not yours.
All the Best,
Chris J.
BTW - on a side note and as a general rule I have. I never allow for password retrieval, I have security conserns with that. I instead have the password reset using the original email and email confirmation. I would provide a user profile editor that will allow a logged in user to change thier password at any time. When they reset a randome one is set and email to the user when the system gets a confirmation from the user. Of course I explain my concerns to a customer in this issue and if they still want retrieval I will make it.
|
|
|
|
|
This is my drop down list..If i select Others here..i need to dispalya text box..and pass that text box value to a java script variabble
<select id="dept">
<option value="Dept1">Dept1</option>
<option value="Dept2">Dept2</option>
<option value="Dept3">Dept3</option>
<option value="Others">Others</option>
</select>
|
|
|
|
|
If what you want to get is the value attribute then:
function getValue(){
var e = document.getElementById("dept");
var strDept = e.options[e.selectedIndex].value;
}
If you want to get the text of the selected value
function getText(){
var e = document.getElementById("dept");
var strDept= e.options[e.selectedIndex].text;
}
Then you will need to hook the function into the onchange event of your
<select id="dept" onchange="getValue();">...</select>
Greenridge Business Systems
|
|
|
|
|
|
|
|
Your select will need a onchange event to call a javascript function that will test the value of the selected option. If it turns out to be equal to "Others" then you can either, add the need html dynamically or just make it visible by using the css display property.
javascript
function test_selection()
{
var sel = document.getElementById('dept');
var val = sel.options[sel.selectedIndex].value;
if(val=="Others")
{
....you can figure the rest from here.
}
}
html
<select id="dept" onchange="test_selection();">
<option value="Dept1">Dept1</option>
<option value="Dept2">Dept2</option>
<option value="Dept3">Dept3</option>
<option value="Others">Others</option>
</select>
|
|
|
|
|
Thanx a lot..its working..
|
|
|
|
|
How to choose a standard open-source CMS tool that can work across the various different projects we may get?
The sites can vary from a microsite (with a contact-us) to sites with complex business logic with forms, reports, etc. In other words lot of customization for particular customer.
A CMS tool where multiple developers can work together.
modified on Tuesday, November 2, 2010 12:56 PM
|
|
|
|
|
Best thing I can suggest is that you create a wish list of features and requirements and test against various CMS tools
As barmey as a sack of badgers
Dude, if I knew what I was doing in life, I'd be rich, retired, dating a supermodel and laughing at the rest of you from the sidelines.
|
|
|
|
|
A couple of options for larger CMS projects come to mind.
OpenCMS
- Java based enterprise CMS
- Open source with commercial support available
- Extensible using Java API to build custom modules
- Concept of multi-site and micro-sites
DotNetNuke
- .NET based
- Both open source and commercial versions available
|
|
|
|
|
Hi,
Does anyone know where I can find an example of a horizontal menu bar, preferably using CSS, but I'm happy if some Javascript is required? I can find many single-level examples, but I want a nested list that has the nested items also displayed horizontally.
I would be happy to use the ASP.NET Menu control too, but I seem not to be able to find any really good help on this, beyond what MSDN gives.
I have tried both the ASP.NET way and the CSS way, and I have so far struggled with both, so maybe what I am really asking for is: does anyone know of any really good tutorials on either of these?
Any help would be very much appreciated.
Best wishes, Patrick
|
|
|
|
|
|
Certainly plenty to get my head round there. Thank you.
Best wishes, Patrick
|
|
|
|
|
Hello
what does this error mean?
"500-inernal server error .
There is a problem with the resource you are looking for, and it cannot be displayed."
This project has been written with visual studio .net 2010 and the database is ms sql server 2008.
Every few times I am faced with this error.
Can anyone help me to solve this error ?
Thanks
Davood
D.riazi
|
|
|
|
|
This will explain it all[^]
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC League Table Link
CCC Link[ ^]
|
|
|
|
|
Stop spamming the forums. Pick one and use it. Posting to multiple, three in your case, forums will just get you ignored now and possibly in the the future.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi,
I am having trouble getting a CSS selector to hit a target. The included HTML and CSS showing an image inside some layout divs. I have been trying to separate colour from layout using classes, and this seemed to work fine until I got to the problem of separating the colour of the border on the image. As the files stand, the image has the border colour I want, but if I comment out the line labelled 'Can't separate this colour' the image gets a white border from somewhere. Though I have tried adding both a class and an ID to the img, these seem to be ignored.
Why are these lines being ignored? And where is the image inheriting its border colour from?
I have experimented with many ways of trying to separate the border colour for the image into its own CSS rule, but none of them works. It seems that the colour has to be in the same rule as the border width to work.
I confess to struggling with CSS at the best of times, but this seems such a simple thing. Can anyone tell me what I am missing, and - hopefully - come up
with a way of allowing me to specify the colour of the image's border in a separate rule to the border itself?
Any help would be very much appreciated.
Best wishes, Patrick
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb">
<head runat="server">
<link rel="stylesheet" type="text/css" href="Screen.css" media="screen" />
</head>
<body class="baseColour">
<form id="homePage" class="borderOutlineColour" runat="server">
<div id="headerOuterContainer" class="borderColour">
<div id="headerLogo">
<img id="doesNotWorkID" class="doesNotWorkClass" src="NonExistantImage.jpg" height="100px" width="100px" />
</div>
<div class="clear">
</div>
</div>
</form>
</body>
</html>
body
{
font-family: arial, helvetica, sans-serif;
padding: 10px;
}
.clear
{
clear: both;
}
#homePage
{
width: auto;
border-style: solid;
border-width: 2px;
}
#headerOuterContainer
{
border-style: solid;
border-top-width: 0;
border-bottom-width: 0;
border-left-width: 150px;
border-right-width: 150px;
z-index: 3;
}
#headerLogo
{
float: left;
position: relative;
z-index: 20;
margin-top: 0;
margin-right: 1px;
margin-bottom: 0;
margin-left: -150px;
height: 150px;
width: 150px;
}
.baseColour
{
background-color: black;
color: white;
}
.borderOutlineColour
{
border-color: rgb( 246, 199, 21 );
}
.borderColour
{
background-color: rgb( 15, 10, 100 );
border-color: rgb( 15, 10, 100 );
}
#headerLogo img
{
border: 2px solid;
border-color: rgb( 246, 199, 21 );
}
#doesNotWorkID
{
border-color: rgb( 246, 199, 21 );
}
.doesNotWorkClass
{
border-color: rgb( 246, 199, 21 );
}
|
|
|
|
|
Hi Patrick,
I debugged this using FireBug and made it work by either prefixing either of the CSS rules #doesNotWorkID or .doesNotWorkClass with img:
img#doesNotWorkID
img.doesNotWorkClass
Why that did the trick only the CSS gods may know.
It may help you though!
Cheers
Manfred
|
|
|
|