Viewing 15 posts - 2,236 through 2,250 (of 3,543 total)
Provided your using sql2k you could create a function to return the concatenated descriptions and use it instead of the cursor
July 26, 2005 at 7:07 am
Create a function to return the concatenated contributor's names for a supplied bookid and use the function in your select
July 26, 2005 at 7:01 am
This will not work for 2 reasons
1. newid() has to be in the select for the order by to work (you will get an error)
2. order by affects the whole query...
July 21, 2005 at 4:20 am
As already stated you need a base table to join to get the range you require and without the data and query your using it is difficult to give a...
July 21, 2005 at 4:03 am
Would have to search for it, Antares mentioned it on several posts a while ago and it has to do with controlling ID's making sure only one user can get...
July 19, 2005 at 6:49 am
That depends....
Unless you use Antares magic bit of code you will still need a transaction for the SELECT/UPDATE and the lock will be implicit anyway
July 19, 2005 at 3:40 am
![]() | No offense, but the code I posted in my first post is the fastest way to extract that... |
July 15, 2005 at 7:59 am
Check the version of MDAC on both client and server, I used to get a lot of connection problems pre 2.7
July 15, 2005 at 7:53 am
![]() | A HOLDLOCK would be enough.... |
No it would not, HOLDLOCK will not stop another user using HOLDLOCK
I prefer...
July 15, 2005 at 7:42 am
![]() | I've 6 records with following date 2003-11-03 00:00:00.000 when i run ur second query it returns only 1 record!!... |
July 15, 2005 at 7:17 am
Create a scheduled job to run sp_detach_db and set it to run once at the designated date/time, plus set it to delete if successful if you do not want to...
July 15, 2005 at 6:54 am
Depends on whether this a one off, all the spreadsheets the same structure and where the six cells are in the spreadsheet.
SELECT * FROM
OPENROWSET('Microsoft.Jet.OLEDB.4.0',
'Excel 8.0;Database=C:\book1.xls', [sheet1$])
will get...
July 14, 2005 at 7:25 am
The nearest I came to chalk when I was young was when the teacher would throw it at me for not paying attention, closely...
July 13, 2005 at 7:52 am
Thanks AJ
Just returning the favour, you have set me straight on many an occasion
July 12, 2005 at 2:38 am
![]() | Where are the suck-ups? No votes for Andy, Brian or myself.... |
July 11, 2005 at 11:09 am
Viewing 15 posts - 2,236 through 2,250 (of 3,543 total)