Viewing 15 posts - 1 through 15 (of 110 total)
I totally agreed with Lynn Pettis. Criticizing is too easy and everyone can do this. But be a mentor and/or helpful to other is not everyone domain?
May 13, 2015 at 6:06 am
The Victor T. Alvarado is right.
You can put the saqure braket [] arround the user and it will work fine.
But I would like to suggest and make...
March 6, 2008 at 7:15 am
I agree with soultower that you don't need any WHERE clause condition on 2nd column if you want to include all record of that column.
Your query will look like
SELECT
...
March 6, 2008 at 7:04 am
You desire query will look like.
SELECT
Data_ID
, DateTime
, Batt_Vltg
FROM
tableName
WHERE
DateTime = CAST((CONVERT(VARCHAR(10),GETDATE(),103) + ' 04:00AM') AS DATETIME)
Current...
December 20, 2007 at 9:17 am
I would like to suggest that initially have look on BOL (Book online) provided with SQL SERVER on any artical. It will really save a much time and develop the...
November 6, 2007 at 5:19 am
You can use the bellow syntax; to replace the table name with your desired table name.
if exists (select * from dbo.sysobjects where id = object_id(N'[TableName]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop...
November 6, 2007 at 3:07 am
I believe that you don't have a complete overview of the trigger. Have you imagine the implication of this you are doing?
Trigger normally used for the data to be...
November 5, 2007 at 10:21 am
You can use the ISNULL function provided by the system;
Here is the example
SELECT ISNULL([Last Date], GETDATE()) AS [LAST DATE]
October 30, 2007 at 7:37 am
You are using the start position by the variable @iPos1, which holds the first occurence position of require character. That why I get the position of the next occurence rather then the first...
January 20, 2007 at 12:11 pm
You misplace the BEGIN 's END for the INSERT CASE. It should be before ELSE
January 20, 2007 at 12:02 pm
I think you are asking for
INSERT INTO table1 ( columns) SELECT coulmns FROM table 2
WHERE fpartno LIKE rtrim(@partno1) + '%'
January 2, 2007 at 12:26 pm
Can you explain what you mean by system date change. You know every second the date is change and what you want to achieve by this. Detail description of problem...
December 22, 2006 at 4:22 am
Your table stucture does not show any unit information of product. Can you explain how the units stored in these table?
December 21, 2006 at 6:26 am
If Date already stored in the database table then why are you modifying and restoring it again. If you need the format somewhere to show the date then you need the...
December 21, 2006 at 4:10 am
Viewing 15 posts - 1 through 15 (of 110 total)