Viewing 15 posts - 226 through 240 (of 489 total)
Once you kill a process it will not go away until it has rolled back any uncommitted transctions. During this time when you view the process you will see...
October 16, 2002 at 2:37 pm
If the slow part is when you move the data (item 2) you can try using a data pump in a DTS package. That could make moving the data...
October 16, 2002 at 8:48 am
Try this:
SELECT LEFT(fullname,CHARINDEX(' ', fullname, 1) - 1) AS fname,
SUBSTRING(fullname,CHARINDEX(' ', fullname, 1) + 1, LEN(fullname)) AS Lname
FROM tablename
Robert W. Marda
SQL Programmer
bigdough.com
The world’s leading capital markets contact database and...
October 15, 2002 at 1:57 pm
I don't think you can set priority levels for stored procedures.
Robert W. Marda
SQL Programmer
bigdough.com
The world’s leading capital markets contact database and software platform.
October 15, 2002 at 12:08 pm
If the ahoo.com is always at the beginning and always the same length then something like this should work:
UPDATE tablename SET email = RIGHT(email,len(email) - 8)
WHERE LEFT(email,8) = 'ahoo.com'
Robert W....
October 15, 2002 at 12:04 pm
I think this will work fine as long as you always have 8 digits. Such that the date 1/1/2002 shows as 01012002 and not 112002 and the time for...
October 15, 2002 at 8:30 am
Replication is usually set to update changes more frequently than DTS and will comence every time a change is made if that is how you set it up.
However, I believe...
October 15, 2002 at 8:14 am
That is the setting that must be changed in order to delete the login from sysxlogins.
Here is the T-SQL command that will set that setting to allow you to delete...
October 15, 2002 at 7:26 am
If the login is appearing it has to be somewhere. You can try looking in sysxlogins in the master database. If you don't find it there then you...
October 14, 2002 at 7:47 pm
Where I work we have 3 major programming departments. One is SQL, another is Cold Fusion for our web site, and the last is VB for our researchers. ...
October 10, 2002 at 7:30 pm
We used maintenance plans on servers that used SQL Server 7.0 with SP 1 and later with SP 2 before upgrading to SQL Server 2000.
The only problem I remember having...
October 10, 2002 at 7:18 pm
You can do it like this:
order by
case when x = 1 then col1
when y = 1 then col1
end,
case when x = 1 then cols
end
Robert W. Marda
SQL Programmer
bigdough.com
The world’s leading...
October 9, 2002 at 7:14 pm
Glad to have been of service.
Robert W. Marda
SQL Programmer
bigdough.com
October 8, 2002 at 12:33 pm
This might work for you after you modify it a bit more:
DECLARE @numcols tinyint,
@count tinyint,
@cmd varchar(200),
@tblname varchar(50)
SET @tblname = 'test'
SET @cmd = 'CREATE TABLE ' + @tblname + '(colid int...
October 8, 2002 at 12:12 pm
If the intent of this section is to run something like this:
INSERT INTO tablename
EXEC SERVERNAME.DATABASENAME.dbo.spGetEvents @param1
It is failing because it is actually executing this:
EXEC SERVERNAME.DATABASENAME.dbo.spGetEvents @param1
INSERT INTO tablename
You would...
October 8, 2002 at 11:56 am
Viewing 15 posts - 226 through 240 (of 489 total)