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...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
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...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
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...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
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
Good Hunting!
AJ Ahrens
webmaster@kritter.net
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
Good Hunting!
AJ Ahrens
webmaster@kritter.net
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...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
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...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
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...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
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...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
December 8, 2004 at 5:08 am
David,
as usual you show me where I still have MUCH to learn... ![]()
Good Hunting!
AJ Ahrens
webmaster@kritter.net
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
Good Hunting!
AJ Ahrens
webmaster@kritter.net
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...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
December 6, 2004 at 1:10 pm
Have you tried writing the word document to a BLOB (image/text) field??
Good Hunting!
AJ Ahrens
webmaster@kritter.net
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,...
Good Hunting!
AJ Ahrens
webmaster@kritter.net
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)
Good Hunting!
AJ Ahrens
webmaster@kritter.net
December 6, 2004 at 10:52 am
Viewing 15 posts - 661 through 675 (of 1,186 total)