Question: How we can specify a bool default value in the select query. I am doing a select using the below mentioned query.

```
 select null as [<TABLENAME>MyTable</TABLENAME>], 'true' [IsCancel], name, age, location from @TempTable

```

Now the 'true' is coming as string. But how can I get an exact true boolean value in the [IsCancel] column ? 

The @TempTable contains only 3 columns [name, age, location]. But 
I dont want to put a boolean column in the @TempTable.

```
  declare @TempTable table (
     name       varchar(20) default ''
    ,age            int
    ,location       varchar(50) default ''      
);

```

Answer: 
Your page layout is not correct, you are missing a div with `data-role='page'`

Basic page jquery mobile layout:
--------------------------------

```
<div data-role="page" id="foo">

    <div data-role="panel" id="mypanel">
       <a href="#doSomething">doSomething</a>
    </div><!-- /panel -->

    <div data-role="header">
        <h1>Foo</h1>
    </div><!-- /header -->

    <div data-role="content">   
        <p>I'm first in the source order so I'm shown as the page.</p>      
        <a href="#popupBasic" data-rel="popup">Open Popup</a>
        <a href="#mypanel">Open panel</a>   
    </div><!-- /content -->

    <div data-role="footer">
        <h4>Page Footer</h4>
    </div><!-- /footer -->

    <div data-role="popup" id="popupBasic">
        <p>This is a completely basic popup, no options set.<p>
    </div>
</div>

```

jsfiddle
--------

<http://jsfiddle.net/tronc/Sh6BF/>
It seems you are designing a site for mobile phones (as you are making use of jQuery Mobile).

Fixed positions on mobile phones don't work pretty well. The behavior of your fixed element will be different for each mobile browser.

Take a look at [this great study by Brad Frost](http://bradfrostweb.com/blog/mobile/fixed-position/).