Viewing 15 posts - 2,761 through 2,775 (of 3,544 total)
SELECT CHARINDEX('1','~'+@str)/2
Far away is close at hand in the images of elsewhere.
Anon.
February 26, 2004 at 7:16 am
I had similar problems with SQL7 SP4 server and was having to do daily reboot. In the end increased size of windows paging file (beyond windows recommended value) and problem went...
Far away is close at hand in the images of elsewhere.
Anon.
February 26, 2004 at 6:38 am
SELECT TAGNAME,
REVERSE(LEFT(TAGDESC,PATINDEX('%[0-9]%',TAGDESC)-2)) +
SUBSTRING(TAGDESC,PATINDEX('%[0-9]%',TAGDESC)-1,CHARINDEX(' ',TAGDESC,PATINDEX('%[0-9]%',TAGDESC)-PATINDEX('%[0-9]%',TAGDESC))) +
REVERSE(SUBSTRING(TAGDESC,CHARINDEX(' ',TAGDESC,PATINDEX('%[0-9]%',TAGDESC))+1,LEN(TAGDESC)-CHARINDEX(' ',REVERSE(TAGDESC))-CHARINDEX(' ',TAGDESC,PATINDEX('%[0-9]%',TAGDESC)))) +
RIGHT(TAGDESC,CHARINDEX(' ',REVERSE(TAGDESC))) AS 'TAGDESC',
EUDESC
FROM tbtxt
![]()
Far away is close at hand in the images of elsewhere.
Anon.
February 24, 2004 at 7:09 am
| After the first insert iCount is equal to one and not greater then one ???? |
True but the trigger...
Far away is close at hand in the images of elsewhere.
Anon.
February 23, 2004 at 7:09 am
The problem is the ROLLBACK in the trigger. It will stop execution of sql and therefore your test of @@ERROR wil not be performed.
If you remove the ROLLBACK you will...
Far away is close at hand in the images of elsewhere.
Anon.
February 23, 2004 at 6:42 am
Good article. Must admit though I have only used triggers once to implement cascade deletes (I know problems, problems
) when I converted an...
Far away is close at hand in the images of elsewhere.
Anon.
February 23, 2004 at 2:30 am
Yes, true but also check out 'Execution Plan Caching and Reuse' in BOL. Plan reuse and aging is dependant on several factors.
Far away is close at hand in the images of elsewhere.
Anon.
February 20, 2004 at 7:08 am
Money will always be displayed with four decimal places whether rounded or not
12.3456
will be 12.3456
or 12.3500 when rounded to 2 decimal places
if you want the values to have two decimal places...
Far away is close at hand in the images of elsewhere.
Anon.
February 20, 2004 at 6:30 am
Well the results are the same, the execution plan will be the same, so no difference. However the use of sp_executsql may be an issue. Any sql query has to...
Far away is close at hand in the images of elsewhere.
Anon.
February 20, 2004 at 6:06 am
Personally I would backup the databases, copy the backups to the new server and restore using MOVE option. If you keep the backups in a separate area on the new...
Far away is close at hand in the images of elsewhere.
Anon.
February 20, 2004 at 5:45 am
| Sorry, but the only creativity I have in the graphics world is a stick man for my 2yr... |
Far away is close at hand in the images of elsewhere.
Anon.
February 20, 2004 at 2:53 am
Hey Andy, bet you wished you never asked ![]()
What voting system you going to use ![]()
Far away is close at hand in the images of elsewhere.
Anon.
February 20, 2004 at 2:45 am
Layout #1 with the cube colours of #6
Far away is close at hand in the images of elsewhere.
Anon.
February 20, 2004 at 2:12 am
Just for reference, two possibilities
SELECT b.[Client ID],b.[Course ID],d.[Course Date]
FROM [Course Bookings] b
INNER JOIN [Course Details] d
ON d.[Course ID] = b.[Course ID]
WHERE b.[Course ID] IN (SELECT...
Far away is close at hand in the images of elsewhere.
Anon.
February 19, 2004 at 9:48 am
The query worked for me when I create a test table. ![]()
Unless the data is sensitive, can u post the result of the following...
Far away is close at hand in the images of elsewhere.
Anon.
February 19, 2004 at 7:57 am
Viewing 15 posts - 2,761 through 2,775 (of 3,544 total)