Viewing 15 posts - 1,816 through 1,830 (of 2,268 total)
for 2005 it is;
Click on TOOLS --> OPTIONS --> SCRIPTING
and set Script USE <database > to FALSE
I can imagine that it is the same for...
November 17, 2008 at 7:12 am
using a cursor to do this will be very slow, the better way seems to be to use a tally table and split the data up with this;
check out...
November 17, 2008 at 6:42 am
The SQL 2005 bible is one the best books out there in my opinion.
November 17, 2008 at 5:09 am
Change the password, if anyone is using it (they shouldn't be) then I am sure they will make themselves known fairly quickly
November 13, 2008 at 10:04 am
Loner (11/13/2008)
November 13, 2008 at 6:22 am
It's an undocumented stored procedure and does not appear in books on-line, am not sure why as i find it useful.
try this link for help
November 13, 2008 at 3:59 am
try this code to get the file paths for each db on a server.
DROP TABLE #DBFiles
CREATE TABLE #DBFiles
(
[DBName] [nvarchar](100),
...
November 12, 2008 at 5:24 am
For books the best one i have used is
SQL server 2005 Integration Services from Wrox
and I find this website very useful http://www.sqlis.com/
November 11, 2008 at 8:51 am
try this code out
DECLARE @name VARCHAR(100)
SET @name = 'firstname'
SELECT upper(LEFT(@name,1)) + lower(RIGHT(@name,LEN(@name) -1))
Though you have to be really careful with automaticaly just upper casing the first character of names, ...
November 11, 2008 at 7:26 am
CrazyMan (11/11/2008)
HI GregTry SQL Server Configuration manager and congigure port on TCP/IP, i havent tried this, hope this works
Cheers
🙂
That is for one...
November 11, 2008 at 7:16 am
To restore a differential backup, you first need to restore the full back up with the NO RECOVERY option.
November 11, 2008 at 6:40 am
It may be possible to do this without a cursor,
If you post your code , table structres and sample data then I am sure you will get a...
November 10, 2008 at 10:35 am
Restarting the server weekly sounds lilke a case of really bad code.
Is there one procedure that is causing the issue?
November 10, 2008 at 9:51 am
ajaykini (11/10/2008)
Barry:CTE works in sql 2005 and not in sql 2000 i guess.
I am having sql 2k as back end.
What is your advise
Post this is the 2K forum.
November 10, 2008 at 8:47 am
with SQL 2005 you can use TRY CATCH blocks for error handling, put the code for rolling back your changes in the CATCH block
November 10, 2008 at 6:10 am
Viewing 15 posts - 1,816 through 1,830 (of 2,268 total)