Viewing 15 posts - 13,411 through 13,425 (of 13,838 total)
SQL authentication requires more user admin than Windows authentication - but in a mid-sized company that might not matter so much, as it's not that much more when there are...
August 1, 2005 at 8:50 am
If you replace your SELECT * INTO and ALTER TABLE statements with a single CREATE TABLE statement containing the new column and constraint, your problem will go away. But why? ...
August 1, 2005 at 8:45 am
Just following this one up. So this query:
SELECT a.Municipality_No, a.Id_No
FROM TableA a
WHERE not exists (select x.Municipality_No from TableX x join TableA a on x.Municipality_No = a.Municipality_No)
Is faster than this one
SELECT Municipality_No,...
July 27, 2005 at 7:25 am
Is it about time that your users started using something like Access instead?
With that much data (as you've found), Excel just starts getting ungainly.
July 26, 2005 at 9:12 am
The Excel row limitation is way more than 10,000 - 65,535 rings a bell - so I am surprised that you are getting an error.
July 25, 2005 at 3:51 pm
It may be possible to do all of this in one step through DTS, but my DTS is not good enough to know. What I would do is
a) Create a...
July 25, 2005 at 11:14 am
Is the primary key an identity field? If not, you need to populate it (uniquely) as part of the import - otherwise SQL Server tries to create multiple records with...
July 25, 2005 at 9:47 am
Convert your month to an integer between 1 and 12 (1 = Jan, 2 = Feb etc) using datepart and then use that in your ORDER BY clause:
select datefield
order by...
July 25, 2005 at 2:20 am
Try running this code and you'll get the idea:
declare @a varchar(120), @b-2 varchar(120)
set @a = 'COMPUTER CORP 45474'
set @b-2 = 'SQL IMAGING, INC 90159S'
select reverse(left(reverse(@a), charindex(' ', reverse(@a))-1))
select rtrim(left(@a, len(@a)...
July 22, 2005 at 7:23 am
Hi Jesper
I was actually answering the previous message; not yours, which made perfect sense. Your solution effectively replaces my view idea with a standard (non-corelated ?) subquery and is the...
July 22, 2005 at 4:43 am
This is not strictly a corelated subquery - the subquery runs independently of the outer query, as the subquery's results do not depend on values from the outer query. I can't...
July 22, 2005 at 3:27 am
Yuk, your problem here (if you hadn't already realised!) is stripping the filepath out of medialist.media to leave you with just the filename, which you can then join to MobileVideo.
Here's...
July 22, 2005 at 3:14 am
I think that your requirement for row aggregation rules out a simple join query directly. However, why not create a view of
select orderID, sum(quantity) from [order details] group by orderID
and...
July 22, 2005 at 2:55 am
Viewing 15 posts - 13,411 through 13,425 (of 13,838 total)