Viewing 15 posts - 661 through 675 (of 1,186 total)
I hate to throw a wrench at the machine but this is VB6 that he has graciously inherited...
I have seen both cases of connection pooling and just open the connection/command...
December 13, 2004 at 4:53 pm
The problem is that the system cannot reconcile CI (Case INsensitive) with CS (Case Sensitive). Try the below
SELECT CAST([Name] AS VARCHAR(50)) COLLATE Latin1_General_CS_AS,
CAST(DescriptionTest AS VARCHAR(255)) COLLATE Latin1_General_CS_AS
This will convert...
December 13, 2004 at 2:12 pm
If you have monitoring software like <cough cough> Unicenter that checks services, HDD free size etc... you could use that to tell if the SQL server service dies too.... and...
December 13, 2004 at 9:04 am
Frank,
I would create/open it at program open and close it at program end. This way you don't have a bunch a open/close which eat the server alive
December 13, 2004 at 5:41 am
try researching User-defined function. You can use these in-line to retrieve data. There is pretty decent info in BOL
December 10, 2004 at 5:26 am
Just to add to the great code from Frank you may want to change the 'ping ' to 'ping -n 1 '. This will provide 1 ping, 1 ping only...
December 9, 2004 at 5:21 am
My problem is that not only is it not receding from forehead but... the hair is now apparently fighting an offensive in my ears, down the back off my neck...
December 8, 2004 at 7:39 pm
I also think that there may be a flaw in your @acno logic. see the below
IF ((@acno IS NOT NULL OR @acno <>'') AND (@actype IS NOT NULL OR @actype...
December 8, 2004 at 5:13 am
I agree with Frank. Another reason for the history tables is these rows are no longer reported on and over time I am assuming that these rows MAY outrank the...
December 8, 2004 at 5:08 am
David,
as usual you show me where I still have MUCH to learn... 
December 7, 2004 at 3:58 pm
Why not
SELECT FD.[ID], PG.Program
FROM Fund FD
INNER JOIN ProgramFundsList PF ON FD.Fund = PF.Fund
LEFT JOIN Program PG ON PF.Program = PG.Program
December 6, 2004 at 2:05 pm
DHaval I am sure that your query would work in Access and Excel. This is one of the areas that SQL differs from those applications. Once you get used to...
December 6, 2004 at 1:10 pm
Have you tried writing the word document to a BLOB (image/text) field??
December 6, 2004 at 11:26 am
Is there a rollback or something else that is sucking the memory off the server?
I would start with sp_who2 and go from there. It may be a long running query/statement,...
December 6, 2004 at 11:25 am
I would probably use the value that microsoft uses with a NULL date value (1900-01-01 00:00:00.000)
December 6, 2004 at 10:52 am
Viewing 15 posts - 661 through 675 (of 1,186 total)