Viewing 15 posts - 1,966 through 1,980 (of 2,268 total)
Check the strored procs and front-end code that you use to insert data for a bug that may be causing this.
If you are not allowed to have duplicates of IDs...
August 21, 2008 at 5:32 am
You will need to run through the setup process again to create an instance, if you have access to the SQL server install disks then run through these again.
August 20, 2008 at 10:30 am
you are using the text data type so you will need to cast to varchar to convert
UPDATE tbl1847
SET ...
August 19, 2008 at 10:53 am
try this code to update
Update tbl1847
Set YourFieldName = '00' + YourFieldName
I was unsure what your field name was, so subititue it in..
August 19, 2008 at 10:11 am
this should get you the latest value based on time-stamp
SELECT top 1 *
FROM YourTable
ORDER BY timestamp DESC;
August 18, 2008 at 10:42 am
do you have any indexes for data1 and data2?
how many rows are in the table?
August 18, 2008 at 9:49 am
if there are no rows in your table for def----failure and ghi---succes then it will not be able to cout these at all.
do you have a master table that...
August 18, 2008 at 9:48 am
How big is the table?
What indexes do you have defined?
August 13, 2008 at 7:49 am
clive.norman (8/13/2008)
If all I need is SQL Server why do I need C#? AS alot of books seem to indicate.
Look forward to...
August 13, 2008 at 7:20 am
try casting the weeks to integers
Select Property_Name, Sum(cast(week_1 as int) + cast(week_2 as int) + cast(week_3 as int) + cast(week_4 as int))
from Profit_Records
where Type_Property = 'CASTLE'
Group by Property_Name
August 13, 2008 at 5:28 am
I think this is what you want
Select Property_Name, Sum(week_1 + week_2 + week_3 + week_4)
from Profit_Records
where Type_Property = 'CASTLE'
Group by Property_Name
August 13, 2008 at 5:01 am
I have done something similar using PATINDEX and a while loop, try this code.
DECLARE @i int
DECLARE @String varchar(100)
SET @string ='Starsky & Hutch Ltd.'
SET @i = (SELECT PATINDEX('%[^a-z^0-9 ]%', @String))
WHILE...
August 12, 2008 at 9:51 am
It looks like it is an issue with the data that is currently in the tables, are you able to clear out the tables then create the relationship?
August 12, 2008 at 7:35 am
ISNULL requires two arguments;
ISNULL ( check_expression , replacement_value )
so to replace the value ISNULL as 0 use
ISNULL([T_ICPAudit.Amount],0)
August 12, 2008 at 5:27 am
Enable SQL browser on the SQL server..
August 12, 2008 at 3:21 am
Viewing 15 posts - 1,966 through 1,980 (of 2,268 total)