Unix Technical Forum

prob with SQL script that work with Date/Time abd boolean

This is a discussion on prob with SQL script that work with Date/Time abd boolean within the SQL Server forums, part of the Microsoft SQL Server category; --> I convert my DB from Access to SQL Server , When i try to run my script (in ASP) ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 06:38 AM
m_peled@yahoo.com
 
Posts: n/a
Default prob with SQL script that work with Date/Time abd boolean

I convert my DB from Access to SQL Server ,

When i try to run my script (in ASP) it's not store the data at
Date/Time field!!!
And i have troble with insert the value TRUE in Sql Server (it's work
with access)

I want to know if i need to change my scripts(in ASP) or the type of
fields?

Please, Help

Best regards.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 06:38 AM
Simon Hayes
 
Posts: n/a
Default Re: prob with SQL script that work with Date/Time abd boolean


<m_peled@yahoo.com> wrote in message
news:1105944086.165336.223110@z14g2000cwz.googlegr oups.com...
>I convert my DB from Access to SQL Server ,
>
> When i try to run my script (in ASP) it's not store the data at
> Date/Time field!!!
> And i have troble with insert the value TRUE in Sql Server (it's work
> with access)
>
> I want to know if i need to change my scripts(in ASP) or the type of
> fields?
>
> Please, Help
>
> Best regards.
>


This article about Access to MSSQL migration covers which data types to use
for true/false and date/time data:

http://www.aspfaq.com/show.asp?id=2214

If you still have problems, you should probably post specific examples of
your problem data, along with any error messages you get when you try to
INSERT them into the MSSQL database.

Simon


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-29-2008, 06:38 AM
Dishan Fernando
 
Posts: n/a
Default Re: prob with SQL script that work with Date/Time abd boolean

change true/false to 1/0. Whats the date time format that u insert>?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:26 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com