Viewing 15 posts - 2,956 through 2,970 (of 3,638 total)
Look on the bright side Frank. Germans have been voted the most desirable tourists in Europe and British the least! This means an extra £1,000 on the cost of a holiday...
December 6, 2004 at 2:40 am
If you can identify a particular column that will cause a negative result then simply multiply your entire formula by
sign(sign(MyNegativeColumn)+1)
The sign function returns
December 3, 2004 at 8:34 am
The defense for this was that SSWUG were acting as a collation service so that all relevant links were present within their site. There is something to be said for...
December 3, 2004 at 2:23 am
Here in the UK anti-fit jeans are being marketed![]()
I've been wearing them for decades and I can buy 6 pairs for the price of...
December 3, 2004 at 1:59 am
I don't have a SQL7 box to hand but in 2000 you do the following within Enterprise Mangler
December 2, 2004 at 4:07 am
Grant permissions to a role rather than a user and then assign users to the role. A user is more likely to leave than a role is to become obsolete.
USE...
December 2, 2004 at 2:41 am
try exec sp_changedbowner 'domain\user'
The thing with sp_addalias is that many logins can be aliased to one user.
December 1, 2004 at 3:23 am
Does your ASP page use SQL Authentication or Windows Authentication?
I've found that in some cases I have to fully qualify a stored procedure name with the database.owner.storedprocedure.
December 1, 2004 at 2:01 am
exec sp_addalias 'domain\username' , 'dbo'
These days the correct method is to make your user a member of the db_owner role.
The downside (and I use the term loosely) is that they...
December 1, 2004 at 1:57 am
Yes it is possible, just don't do it.
http://www.sqlservercentral.com/columnists/rmarda/letsblockthedba.asp
Change you SA password and see who complains, then shoot them.
November 30, 2004 at 9:45 am
If you don't want to go down to the second you could try SMALLDATETIME which has half the storage requirements.
The strange thing is that both types store two numbers, in...
November 30, 2004 at 9:41 am
Yes, it is an unusually poor effort from Microsoft.
One particularly annoying function is that when you script a trace one of the first comments is that you cannot script to...
November 30, 2004 at 9:13 am
I tried the following
DECLARE @sText VARCHAR(250) ,
@sRep VARCHAR(250)
SELECT @sText = 'This is'+CHAR(10)+CHAR(13)+'is a'+CHAR(10)+CHAR(13)+'test' ,
@sRep = REPLACE(@sText,CHAR(10)+CHAR(13),' ')
PRINT @sText
PRINT @sRep
You've probably tried this already but try replacing just the CHAR(10) and...
November 30, 2004 at 4:52 am
I've not had a problem with
DECLARE @vbCRLF CHAR(2)
SET @vbCRLF = CHAR(10) + CHAR(13)
SELECT REPLACE(@myVarChar,@vbCRLF,' ')
November 30, 2004 at 4:21 am
Viewing 15 posts - 2,956 through 2,970 (of 3,638 total)