Viewing 15 posts - 10,381 through 10,395 (of 13,461 total)
i have this snippet saved from SQL 2000, which is supposed to add back Builtin\Administrators if it was removed;
i ran it on my SQL2008 without errors, but that doesn't technically...
October 28, 2009 at 7:18 am
ahh good point Ian; forgot about that one;
i just tested, and if anyone is connected, you need to kick them off with Ians command as well:
ALTER DATABASE [SandBox2000] SET OFFLINE...
October 28, 2009 at 7:12 am
here you go:
http://www.lmgtfy.com/?q=trigger+types+in+sql+server+2005
http://msdn.microsoft.com/en-us/library/ms189799.aspx
general, generic questions like this are probably best suited to a google query rather than asking a forum and waiting for an answer.
October 28, 2009 at 6:58 am
you don't really shut down a database, but you can kick everyone off so you have exclusive access; you might do that so you can restore the database, or detach...
October 28, 2009 at 6:51 am
I think packet size is a TCP/IP limitation; it's not really related to the program that sends the data(ie Word, SQL 2005, MYSQL,etc)
For Ethernet LAN/WAN, max packet size is 1500...
October 28, 2009 at 6:46 am
this was an order of magnitude faster: 8 minutes to create a text file to disk, then 20 seconds to bulk insert into a table
using the /b command, it was...
October 27, 2009 at 4:07 pm
here's something to get you started. Assuming you've enabled xp_cmdshell, and the SQL service is using credentials that can see the program files folder, this command would give you a...
October 27, 2009 at 3:42 pm
Henk Schreij (10/27/2009)
So I can't convert the NText column to a NVarchar(max).
And the 'large value types out of row' is set to...
October 27, 2009 at 8:36 am
ahh your right...you can change to varhcar(max), and make things bigger than 8000, but only in 8000 chunk bites.
here's my test code;
create table MyTable (
MyTableId int identity(1,1) not null primary...
October 27, 2009 at 8:20 am
works fine for me when i use a convert to varchar(max):
--pad my table with too much whitespace
update MyTable set myTextColumn = isnull(convert(varchar(max),myTextColumn),'') + replicate(' ',10000)
--use rtrim to get select without...
October 27, 2009 at 8:00 am
you can't, at least not directly. Javascript and HTML cannot run code on a server.
you can use asp/asp.net/php to receive information from the submit of a form, and the server...
October 27, 2009 at 6:30 am
there is this command:
Grant View Any Definition To MyUserGroup
but there is nothing granular, so if you wanted to do, say grant view definition of procs but not views and functions,...
October 26, 2009 at 12:16 pm
AFAIK, since the local service account never logs into the network/domain, it could never get to a remote share; I thought that even if you open a shared folder ...
October 26, 2009 at 11:05 am
sounds kind of like a DNS error more than anything; from that server in question can you ping 174.21.10.12?
October 26, 2009 at 10:38 am
UT- (10/26/2009)
My SQL Server Service & Agent Service are running as Local Service Account. I have a job that needs to get a file from a remote shared folder, but...
October 26, 2009 at 10:29 am
Viewing 15 posts - 10,381 through 10,395 (of 13,461 total)