Hi all,
I have 2 questions regarding MsSQL + Delphi appllication here:
1) In my table, i have a field named 'PostDateTime', which is of type DateTime.
This field is basically to store the Datetime when record been update to the
database.
Now my question is :- What's the query to select only the records where
PostDateTime is
2 minutes earlier than current PC time ?
2) I have two .MDF database files (DB1.MDF and DB2.MDF). The path for DB1.MDF
is
C:\DB1.DBF, where the path for DB2.MDF is D:\DB2.MDF. Both of the database
have the
same Database structure , but differents records. Let's say now my
application is
connected to DB1.MDF. Is there any way for me to browse and connect to
DB2.MDF when
user click at certain button ? I know it can be easily done for Firebird,
Interbase etc. But
what about MsSQL ?
Hope someone can answer my question. Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/i7folB/TM
--------------------------------------------------------------------~->
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/delphi-en/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/