KyaPoocha.com

Huge Collection of Interview Questions


Archive for July, 2006

How do I give a user the option of importing Excel and a delimited text file into a SQL Server Database without manually using SQL DTS? 

You can use the DTS object model to programmatically create, modify and run DTS packages. You can do this many ways, but essentially this object model has objects... Read more »

How do I list the available tables in a database I’m querying? 

You can get a list of tables in a database by calling the INFORMATION_SCHEMA.Tables view like this:Â SELECT * FROM information_schema.tables This returns the name... Read more »

Why does inline or embedded SQL run faster than my stored procedures? 

Recompilations might be the source of the slower stored procedure speed. To find out for sure, you need to do some performance investigation, such as looking at... Read more »

Why doesn’t SQL Server permit an ORDER BY clause in the definition of a view? 

A. SQL Server excludes an ORDER BY clause from a view to comply with the ANSI SQL-92 standard. Because analyzing the rationale for this standard requires a discussion... Read more »

Name some types of Scripting Elements. 

Types of Scripting Elements • Expressions: Evaluated and inserted into servlet’s output. You can also use expression • Scriptlets: Inserted into servlet’s... Read more »

Can we override jspInit() method? 

No as this method is generated by the container it cannot be overridde.  Read more »

How can I reduce the row height of an HTML table? 

Use the CELLPADDING and CELLSPACING attributes of the table tag.  Read more »

What is jrunscript? 

In JDK 6.0, jrunscript is a command-line scripting shell program. Supposedly, it is experimental and may not survive past JDK 6.0.  Read more »

Is it possible to set session variables from javascript? 

It’s not possible to set any session variables directly from javascript as it is purely a client side technology. You can use AJAX though to asynchronously... Read more »

What does the broken image icon mean? 

That means an image should go in that space, and there is a file by the name of the image that is supposed to go there, but the browser cannot display it. Most likely... Read more »

Do I need to have the # mark in front of color hex codes? 

Not by today’s browser requirements. However, there are still some older level browsers out there and it would be nice to allow them to read your pages with... Read more »

How do I make a graphic a link? 

Including the "img" tag between the "a href" tag and the "a" closing tag: <A xhref="http://www.snowhawk.com/wildlife.html"><IMG... Read more »

How do I know if my HTML is correct? 

It’s good to validate your HTML. Just because you can see the Web page ok on your browser doesn’t mean every browser will show it that way, or even... Read more »

How do I specify page breaks in HTML? 

There is no way in standard HTML to specify where page breaks will occur when printing a page. HTML was designed to be a device-independent structural definition... Read more »

Page 28 of 28« First...«2425262728