Viewing 15 posts - 106 through 120 (of 141 total)
select subs_no from some_table where (isnumeric(some_column) = 0) OR some_column IN ('+', '-')
-- i believe these are the only exemptions from the isnumeric function. If there are othere caracters, just...
December 7, 2006 at 4:06 pm
Select UserID, SubscriptionID from YourTable
group by UserID, SubscriptionID
having count(cast(UserID as varchar) + '_' + cast(SubscriptionID as varchar))>1
December 7, 2006 at 4:02 pm
I would go for Gail's advice.
Before doing so, change your database recovery model to bulk-logged. Use bcp to copy the 1M rows, truncate your table, then use BULK INSERT to...
December 7, 2006 at 3:52 pm
Your problem may not just be in SQL Server. It shouldn't take 14hrs for 1.5million rows only. Can you give us your server specifications please? I'm thinking you might be...
December 7, 2006 at 2:38 pm
Hi, I'm an SQL DBA in The Philippines with MCDBA, MCSD, MCAD, MCT certifications.
Do you sponsor a working visa??
December 6, 2006 at 6:23 pm
Hi, I'm an SQL DBA in The Philippines with MCDBA, MCSD, MCAD, MCT certifications.
Do you sponsor a working visa??
December 6, 2006 at 6:18 pm
Good thing I read this thread. Now I know whom to consult when I pick my lotto numbers.
December 6, 2006 at 5:57 pm
You can alter an existing check constraint or change the constraint expression but only thru the Enterprise Manager.
December 6, 2006 at 5:26 pm
I see. I'm not sure if COLLATE can do the trick. I'm unable to test as I do not have the data for the different languages.
December 6, 2006 at 4:36 pm
ALTER PROCEDURE [dbo].[web_getCustomisedDetails]
(
@varProductCode
char(25),
@varCompany
char(10
December 6, 2006 at 4:23 pm
The best way to improve the performance is to analyze your query on the view. Try to see its query execution plan and find out what's causing the slow performance...
December 6, 2006 at 4:18 pm
Not the old syntax...
USE Northwind
select * from Customers c join orders o on c.Customerid = o.Customerid -- INNER JOIN
select * from Customers c left join orders o on c.Customerid =...
December 6, 2006 at 3:40 pm
Also, use a temp table instead of a table variable. You cannot use
insert @TableVariable exec ('select 1')
in SQL 2000.
Try
Create table #X (
c1 varchar(10) null
 
December 6, 2006 at 3:21 pm
"
I went in just now to look at some tables and I started getting all sorts of error messages...including one where I couldn't even look at the design of a...
December 6, 2006 at 2:54 pm
Odd... Hmmm...
Try this.
Select case when 'test' like 'test '
then 'The Same'
else 'Not The Same'
end
December 6, 2006 at 2:50 pm
Viewing 15 posts - 106 through 120 (of 141 total)