Viewing 15 posts - 16 through 30 (of 206 total)
Look at the execution plans for contains (textField, '"Cat" or "Dog"')
and textField like '%Cat%' or textField like '%Dog%'
One should contain an index seek and the latter an index scan....
November 18, 2008 at 3:23 pm
Marshall, what's the size, free space and fragmentation levels on the D:\ drive?
DAB
November 18, 2008 at 2:58 pm
Yes, it is better to grow in fixed increments rather than in percent. While this may be fine for a small db (think <10 GB), that is a 500 MB...
November 18, 2008 at 2:56 pm
garethmann101 (11/18/2008)
I am a little disapointed in...
November 18, 2008 at 2:41 pm
This type of question is asked frequently and I always see similar responses. The problem is this solves a single instance. Therefore, the next time this occurs, the developer or...
November 18, 2008 at 12:55 pm
You can use the MySQLDump utility with the compatilbility set to SQL Server. That will create a file with necessary DDL and insert statements that can be executed in SQL...
November 10, 2008 at 9:05 am
MySQL provides the MySQLDump command. It can be run from both Windows (assuming the MySQL client/engine is intalled on Windows) and in *nix OS's.
mysqldump --host={host name or IP} --user={user name}...
October 31, 2008 at 12:54 pm
Declare @servername nvarchar(50)
Set @servername = 'somevalue'
SELECT * from OPENQUERY(@Servername,
...
October 31, 2008 at 12:26 pm
My bad. I looked at that three times and did not see the INT. Never mind...
October 31, 2008 at 12:22 pm
The problem is in the header ALTER PROCEDURE "dbo"."PROC_STUELI_NeuAendnr" (@id_stueli Int, @lastus int,@new_aendnr Int OUTPUT)
The @laststatus parameter does not have a data typpe...
DAB
October 31, 2008 at 12:20 pm
I copied and pasted this into a deummy db and it all compiled fine. Are you using SQL 2005? I If not, you'll need to change varchar(max) to something like...
October 31, 2008 at 7:40 am
Dave, check out a cleaner, reusable version at http://www.sqlservercentral.com/Forums/Topic594387-145-1.aspx
DAB
October 30, 2008 at 10:47 am
This type of situation is encountered frequently (see Dave's post re: Converting Numeric to String http://www.sqlservercentral.com/Forums/Topic594180-8-1.aspx )
The approaches listed there and in the previous reply work, but for singular occurences...
October 30, 2008 at 10:45 am
miodrag.sabljic (10/29/2008)
October 29, 2008 at 8:34 am
Try using UPDATE ONE instead of AUTO_FIX
October 28, 2008 at 2:35 pm
Viewing 15 posts - 16 through 30 (of 206 total)