Viewing 15 posts - 1 through 15 (of 34 total)
Quite good, but there's a small problem: in a few places where specifying the @dbname you should enclose it in [], to avoid problems when dbname is contains spaces... like...
December 18, 2008 at 2:34 am
Hi, I've already rated this as excellent, though (adding to what kselic said) surrounding the dbnames with [] is mandatory because you can have dbnames with various issues, like 'REGISTER...
October 15, 2007 at 8:21 am
Yes, you're right, but you know, it was only my first half of the workday, the second half should be holiday...
August 24, 2005 at 3:38 am
Sorry, maybe I did'nt read very well... but for me it's around 10PM... still working (or better said learning from people on this forum...)
August 23, 2005 at 3:01 pm
Hi,
not to be too pedantic, but it seems to me that the real problem is to explain to Igor that you can build all those 'CREATE something' scripts, put each...
August 23, 2005 at 2:15 pm
Hey Frank, I tried.... but to no avail, the only result was an EMPTY (search like) page from groups.google.de.....
Gigi
May 30, 2005 at 5:08 pm
You said:
What if someone sells a product whose only purpose is to kill people? Should they be shut down?
think only about bombs and all that stuff, that's made for...
March 31, 2005 at 1:09 am
This is only to clarify the error message (the answer to your question was perfectly addresed by stephenkendrick ...)
In your query you use:
Sum(CAST(([Col014]/60)...
March 8, 2005 at 11:00 am
A different approach could be:
- MOVE the tables from Access to Sql Server
- change the Access application mdb to LINK tables (via ODBC) to the Sql Server, after using the...
February 2, 2005 at 2:44 am
After confirming what Frank says about 'resentation issue...' I just add that sometimes a 'vb format in tsql' can be usefule...
So take a look at:
http://www.novicksoftware.com/UDFofWeek/Vol1/T-SQL-UDF-Volume-1-Number-48-formatnumber.htm
HTH
Gigi
December 21, 2004 at 2:59 am
IMHO, maybe the problem lies in the 'LIKE' used to build the Sql stmt that searches your value...
The script has:
SET @VAR3=N'IF EXISTS( SELECT 1 FROM '+@VAR1+' WHERE '+@VAR2+' LIKE '''+
...
December 9, 2004 at 5:22 pm
Adding my 0.1c to AJ Ahrens work...
Why not
SELECT FD.[ID], PG.Program + (CASE WHEN PG.Program IS NULL '(empty)' ELSE '' END)
FROM Fund FD
INNER JOIN ProgramFundsList PF ON...
December 7, 2004 at 4:50 am
Just to add 1c to Steve's words.....
If your string contains any SINGLE quote you should change it from A SINGLE QUOTE to TWO CONTIGUOUS SINGLE QUOTE, as in:
Dim strSQL As...
November 24, 2004 at 5:36 am
If you're doing this in a stored proc you could try, instead of:
DECLARE Qrecipient CURSOR FOR @Qry.
the following:
DECLARE @Curs varchar(8000)
SET @Curs = 'DECLARE Qrecipient CURSOR FOR ' + @Qry
EXEC (@Curs)
HTH
Luigi
November 19, 2004 at 4:26 am
Viewing 15 posts - 1 through 15 (of 34 total)