Viewing 15 posts - 1,291 through 1,305 (of 5,356 total)
You can change this by script. You save the modifications EM is suggesting in the change script and run this whenever you want.
May I say that it is a huge...
January 6, 2005 at 2:05 pm
SELECT
*
FROM
sysindexes i
WHERE
i.indid BETWEEN 1 AND 254
AND OBJECTPROPERTY(id, 'IsUserTable') = 1
AND INDEXPROPERTY(id, name, 'IsStatistics') = 0
ORDER BY
OBJECT_NAME(id)
, i.indid DESC
should...
January 6, 2005 at 1:43 pm
Cute! But what a shameless plug this is, Adam! ![]()
What do you think of this slight modification?
CREATE FUNCTION dbo.PatternReplace
(
@InputString VARCHAR(4000),
@Pattern VARCHAR(100),
@ReplaceText VARCHAR(4000)
)
RETURNS VARCHAR(4000)
AS
BEGIN
DECLARE...
January 6, 2005 at 1:33 pm
May I add, that I strongly would consider having two columns instead on one?
January 6, 2005 at 1:13 pm
I might be wrong on this, but I suspect this is one of the few occasions where EM comes in handy. IIRC, you can do this in EM table design...
January 6, 2005 at 1:06 pm
Proud to give credit for the UDF to Jonathan van Houtte! ![]()
January 6, 2005 at 7:52 am
To correct be explicit in your datatyping. ...
Yes, like I stated somewhere above...![]()
But it was nice trick to confuse some people in the German...
January 6, 2005 at 7:07 am
INSERT INTO...SELECT... should help
January 6, 2005 at 5:12 am
See, if this helps:
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/ss2kidbp.mspx
January 6, 2005 at 3:52 am
Please refrain from multi-posting. See my answer here
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=153940
January 6, 2005 at 3:50 am
Have a look at "linked server" or OPENQUERY in BOL.
January 6, 2005 at 3:49 am
The answer lies within what you have done.
REPLACE apparently converts the whole second string to NCHAR, since NCHAR has a higher datatype...
January 6, 2005 at 3:47 am
I have the original MS training books, which I consider fairly good. Apart from them, do a search here in the fora (especially the certification forum). The question for good...
January 6, 2005 at 2:05 am
CREATE FUNCTION dbo.RemoveChars(@Input varchar(1000))
RETURNS VARCHAR(100)
BEGIN
DECLARE @pos INT
SET @Pos = PATINDEX('%[^0-9]%',@Input)
WHILE @Pos > 0
BEGIN
SET @Input = STUFF(@Input,@pos,1,'')
SET @Pos = PATINDEX('%[^0-9]%',@Input)
END
RETURN @Input
END
GO
SELECT 'a1sdsad124325143gffdfd4dgsf',dbo.RemoveChars('a1sdsad124325143gffdfd4dgsf')
DROP FUNCTION...
January 6, 2005 at 1:58 am
See, if this helps:
http://www.microsoft.com/technet/prodtechnol/sql/2000/deploy/mysql.mspx
January 6, 2005 at 1:46 am
Viewing 15 posts - 1,291 through 1,305 (of 5,356 total)