Advertisement

1 - 10 of 99 containing alltags:("smalldatetime") (0 seconds)
We migrated recently from a database that had a DATE type (4 byte) and and TIME type (also 4 byte).   We got hooked on this since so many of our queries were simple...    SELECT * FROM tblTable ...
Zones: MS SQL ServerDate Answered: 05/28/2001 Grade: A Views: 0
I have the following WHERE: WHERE      liabhist.logtime = '4/23/02' liabhist.logtime is a SMALLDATETIME and the WHERE does not work.  How do code the where so it will pick up all records fr...
Zones: MS SQL ServerDate Answered: 06/05/2002 Grade: A Views: 0
Dynamic SQL Statement not working - strange problem because if I PRINT the dynamic SQL and run it Query Analyser (or another sp) it works fine. Please help, should be extremely easy for an experie...
Zones: DatabasesDate Answered: 11/16/2003 Grade: A Views: 0
Here is my stored procedure: CREATE PROCEDURE summary       @startdate varchar(20),       @enddate varchar(20) AS select * from  SanderGroup where Entrydate between CONVERT(varchar, CONVERT(smalld...
Zones: MS SQL ServerDate Answered: 12/11/2003 Grade: A Views: 0
teams table CREATE TABLE [dbo].[Databaseteams] (       [DIV] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,       [id] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,       [TeamNam...
Zones: ASPDate Answered: 11/19/2004 Grade: A Views: 0
I'm haveing a problem updateing the smalldatetime column in SQL server 2000. i'm using C# asp.net The command string looks like string UpdateString= "INSERT INTO RISK_SCR (DateSCR, IMP, PROB) ...
Zones: ProgrammingDate Answered: 11/20/2004 Grade: A Views: 214
Hi, this is a rehash of an old propblem, I have a problem with the query below @surname varchar(150), @enddate smalldatetime AS SELECT     job.jobid, job.estimate, job.location1 + job.location...
Zones: MS SQL ServerDate Answered: 04/14/2005 Grade: A Views: 0
hello, I have a smalldatetime field and I would like to use CONVERT to convert it to time please help thanks
Zones: MS SQL ServerDate Answered: 10/27/2005 Grade: A Views: 0
I'm currently working on my company's intranet site that I recently took over from a developer that left us, the problem is that, he uses stored procedures in Microsoft SQL 7.0 to do his updates, t...
Zones: ASPDate Answered: 11/29/2005 Grade: A Views: 8
I have a database which contains a field of type SMALLDATETIME.  This field is filled with various dates.  I need to subtract one day from each date.  I thought I should be able to do something lik...
Zones: MS SQL ServerDate Answered: 11/29/2005 Grade: A Views: 4