Viewing 15 posts - 46 through 60 (of 66 total)
You could easily write a DTS for this.
Jan
August 30, 2006 at 12:34 am
John,
You could replace them with char(13)
create table #test(test varchar(8000))
INSERT #test (test) VALUES ('This ' + char(13) + 'is a ' + char(13) + 'test' )
select * from #test
drop table #test
Jan
August 25, 2006 at 9:10 am
All,
This is the solution I implemented. It can probably be done more simple. I have one stored procedure that logs all security events. It runs when the server is started....
August 23, 2006 at 9:11 am
Wayne,
Thanks, but I do not understand it completely yet. From which query string?
The URL parameters are not part of a dataset. I tried to do this on your suggestion, and...
May 9, 2006 at 8:46 am
Indeed Brian, these are all great books.
But I also certainly want to mention the new books of Itzik Ben-Gan that are very good to get a deeper insight in the...
May 9, 2006 at 6:31 am
I believe it is a one-way encryption and this cannot be done.
Jan
January 31, 2006 at 3:39 am
You could do something like this:
SELECT field
FROM table
GROUP BY field
HAVING COUNT(field) > 1
January 31, 2006 at 3:32 am
Kishore,
You can use master..xp_fileexist. Problem with that is that is its return code. You might have to go for something like:
CREATE TABLE #fileexists ( exist int, dir int, parent int)
INSERT...
January 16, 2006 at 9:01 am
I'm experiencing the same error.
However, I have installed the certificate, and my IWAM_ has sufficient rights. Also, I'm not installing on a DC.
After installing, I get a message that I...
December 1, 2005 at 8:08 am
Isn't there a primary key in your table?
Can't you do something like:
UPDATE mytable t1
SET name = newname
FROM (SELECT TOP 5 t2.pk
FROM mytable t2
ORDER BY name)
WHERE t1.pk = t2.pk
or use a...
November 25, 2005 at 9:08 am
DECLARE curDBs CURSOR
READ_ONLY
FOR select name from sysdatabases
DECLARE @name varchar(40)
DECLARE @cmdstr varchar(8000)
SELECT @cmdstr = ''
OPEN curDBs
FETCH NEXT FROM curDBs INTO @name
WHILE (@@fetch_status <> -1)
BEGIN
IF (@@fetch_status <> -2)
BEGIN
EXEC master..xp_sprintf @cmdstr OUTPUT, 'select...
November 25, 2005 at 7:05 am
If your data is allready in a SQL server format, it is easy:
Hust copy the data on disk & use sp_attach_db
EXECUTE sp_attach_db @dbname = N'test_db',
@filename1 = N'c:\program files\microsoft sql...
November 25, 2005 at 4:02 am
Hi,
Concerning SQL2K, I once read in the reasource kit that it was possible to encrypt the .mdf & .ldf files on NTFS, and have the account that run the SQLServer...
November 25, 2005 at 3:59 am
Ilan,
It is not clear to me if this is a question or a solution you give us.
The only problem I have with xp_cmdShell MOVE & xp_cmdshell REN is that there...
November 23, 2005 at 4:18 am
Miguel,
When executing a trigger, you are in fact logically in a transaction. This means that there is a lock on at least one record of your table. You can check...
November 17, 2005 at 3:48 am
Viewing 15 posts - 46 through 60 (of 66 total)