all groups > sql server programming > july 2005 > threads for saturday 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
Difference in miliseconds
Posted by Jens Gotthardsen at 7/16/2005 11:49:37 PM
Hi there,
Can anybody explain to me why
select convert(datetime, '2005-07-16 22:05:27.332')
returns:
2005-07-16 22:05:27.333
Whichs has a difference at 1 miliseconds.
When I try to store time in a datetime field with miliseconds they
seldom gets saved with the correct miliseconds.... more >>
sp_executesql
Posted by Jan Hruz at 7/16/2005 11:43:54 PM
Hi,
Is there any way how to dynamically create ntext in procedure and pass it to
sp_executesql ?
My statement is longer than 4000 chars. I have found one solution :
add ntext parameter to stored procedure and create this statement on
application level. But I'd rather have solution how to cr... more >>
last updated column
Posted by Big D at 7/16/2005 7:47:05 PM
I have a database that stores computer assets with SystemName(computername)
being the primary key. I update this database from a Staging table. Below is
a script that gets all the records from the StagingSystemInfo table and if
the computername exists the row is inserted into System Info. If a... more >>
Error in msdn transact sql reference
Posted by MariusI at 7/16/2005 10:43:04 AM
Hi, i'm creating my own sql object model and parser. I'm using the BNF syntax
specified by the microsoft sql transact reference on the msdn library (see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_tsqlcon_6lyk.asp
for details). The syntax for table joins specif... more >>
Using Identity Columns
Posted by MD Websunlimited at 7/16/2005 8:54:53 AM
I'm attempting to move data from one database to another =
programmatically. But for the life of me can not get the identity =
columns to work correctly.=20
I create the table, then I issue a SET IDENTITY_INSERT OFF so that I can =
insert the existing data into the newly created table. Howeve... more >>
performance
Posted by Jan Hruz at 7/16/2005 12:52:54 AM
Hi all,
I created search query that combines fulltextsearch with some other
subsearches and other conditions. My problem is that SQL server also
evaluates conditions or some subqueries which are not needed. For example:
....
@search_string is null or contains(b.*, @search_string)
....
... more >>
HAVING!
Posted by Arpan at 7/16/2005 12:07:19 AM
Should a column that is being used in the HAVING clause always be
referenced in the GROUP BY clause even if that column is contained in
an aggregate function in the SELECT list (as shownin the second
example below) unless the column being used in the HAVING clause is
contained in an aggregate f... more >>
|