all groups > sql server programming > july 2006 > threads for sunday july 16
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
how to convert int to time
Posted by vishwadh NO[at]SPAM gmail.com at 7/16/2006 11:17:19 PM
hi
I want to know, how will we convert int to time.let me show u by
example.
if i have int i=12435 then it will convert into hours,minutes and
seconds.....
let this i will be in seconds.so how can i convert this?is there any in
built function to convert this int(seconds) into time.
thanks... more >>
how to view date only from date/time date
Posted by vincentstudy at 7/16/2006 10:04:05 PM
hi,
i am using ms sqlserver2000 my date of birth data was stored in
date/time formate. when i use select query this date of birth date
shown date with time But now i want to using select query shown only
date how to change this format in select query.
by
vinci
... more >>
Block/lock issue caused by xp_sendmail
Posted by LBT at 7/16/2006 9:46:02 PM
Database block/lock issue always occurs in my live environment. We managed to
trace out that it is xp_sendmail that cause the lock/block (using the script
as given below with the help of sp_who2 to get the spid).
DECLARE @Handle binary(20)
SELECT @Handle = sql_handle FROM master.dbo.sysproc... more >>
Sort order problem
Posted by lara at 7/16/2006 8:58:55 PM
one of my field in my table contains lots of values separated with dots like
1
2
3
4
5
2.1
2.2
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.2.10
2.2.11
2.2.2.1
2.2.2.2
2.2.1.1
2.2.1.2
2.2.1.3
1.1
1.2
I want to sort them like this
1
1.1
1.2
2
2.1
... more >>
Need Help : Connecting Locally
Posted by Micus at 7/16/2006 2:40:19 PM
[WinXP Pro SP2, SQL Server 2000 SP4, VS C++ 2005 Express]
A humble hello to all,
I have spent days trying to simply connect to an instance of SQL Server
2000 SP4 from a program written in C++/CLI using VS C++ 2005 Express. I
originally had SQL server 2000 Dev Ed and SQL Server 2005 Express... more >>
Table ownership
Posted by zoltac at 7/16/2006 12:09:01 PM
When I create a table using Enterprize Manager is assigns ownership as dbo
but when I us Visual Studio 2005 Standard using the same login and password
it assigns ownership to the login. This of course cause programming issues.
Does anyone know what causes the server to use the login name for... more >>
Text concatination
Posted by evgenybr via SQLMonster.com at 7/16/2006 12:00:00 AM
Hi All,
I experienced some problems regarding text concatination.
Suppose i have table
CREATE TABLE Test
(
TName varchar(50)
,TDescription text
)
INSERT INTO TEST(TName, TDescription )
VALUES('aaaaa', 'ere rerr erwerwejrweirwerwer')
INSERT INTO TEST(TName, TDescription ... more >>
|