Viewing 15 posts - 11,506 through 11,520 (of 14,953 total)
Is it a For Each loop from a list, or a For Each File loop? A For Each File loop will exit gracefully if there are no files. ...
January 15, 2009 at 2:32 pm
Yep. If you need them done in a particular sequence, you pretty much need to start staging stuff into temp tables.
January 15, 2009 at 2:29 pm
First, check for IsNumeric. On the rows that pass that test, check the range with a Between statement.
Run each test as a series of checks. Rows that pass...
January 15, 2009 at 2:23 pm
One thing you can do is set those as variables, pull data from a table, and set the values of the variables from the values in a table.
January 15, 2009 at 2:18 pm
ScottPletcher (1/15/2009)
If SQL Server evaluated left to right, in the above query, it wouldn't have to evaluate the second condition if the first was false (short circuit) because it would...
January 15, 2009 at 2:17 pm
ScottPletcher (1/15/2009)
Forgetting that the order that AND clauses are evaluated in at run-time has nothing to do with the order that they are written.
I thought SQL Server did...
January 15, 2009 at 1:24 pm
All the products I've heard of that do that for you are quite expensive. You can find them by searching in Google/Live/whatever.
January 15, 2009 at 1:14 pm
There are a couple of different ways. I like:
select Names.ID, Names.Name, Height, Weight
from
(select ID, Value as Name
from dbo.Table
where Key = 'Name') Names
inner join...
January 15, 2009 at 1:13 pm
On the font and the config file, ask the hosting service about those. They're almost certainly in charge of those, unless you have a whole server/virtual machine of your...
January 15, 2009 at 12:40 pm
I guess I'm not clear on what's happening with your form. You are setting the sort-by property of the form, and it's not sorting? Or something else?
I built...
January 15, 2009 at 12:36 pm
You'll have to enable distributed transactions (and possibly RPC) on the remote server. Books Online has instructions on both of those things.
January 15, 2009 at 11:54 am
Just to check something on this, I put together this test:
create table #T1 (
ID int identity primary key,
Col1 int);
insert into #T1 (Col1)
select number
from dbo.numbers;
select *
from dbo.Numbers
cross apply
(select col1
from #T1
where col1...
January 15, 2009 at 11:52 am
Jack Corbett (1/15/2009)
GSquared (1/15/2009)
Loner (1/15/2009)
10:15 - messing around on SQL Server Central
10:21 - help desk ticket #35104
11:30 - lunch
12:50 - building view dbo.JoesNewReport
13:07 - emergency help desk ticket #542138
13:17 -...
January 15, 2009 at 11:44 am
Viewing 15 posts - 11,506 through 11,520 (of 14,953 total)