Viewing 15 posts - 196 through 210 (of 530 total)
Could this be a networking problem? Maybe your testserver1 has a slower connection for some reason.
First of all you can check response times using PING. Another possible issue is discovery...
July 29, 2003 at 9:04 am
You want something like a wildcard to match filenames. Don't think that is possible with BULK INSERT.
The only way I can think of is using xp_cmdshell, checking if a file...
July 28, 2003 at 9:55 am
Just reread your question, if you want to do the opposite, meaning that you pass in parameters for FirstName and LastName, you can use the same construct :
July 28, 2003 at 5:50 am
Not exactly using CASE, but this should do the trick :
SELECT *
FROM MyTable
WHERE IsNull(FirstName, <Name to look for>) = <Name to look for>
AND IsNull(LastName,...
July 28, 2003 at 5:48 am
If you 'add' two values of different data type, SQL Server will convert one of them so they are both the same.
I don't know the exact reason why SQL Server...
July 24, 2003 at 10:12 am
If you are 'sure' that this login is not allowed, try blocking the user. Someone is bound to start complaining... Hope it's not your boss
July 24, 2003 at 2:00 am
Yep. Mind you, if you do not include a join condition (ON ...) that binds table 1 and table 2, the data from table 1 will be duplicated for each...
July 23, 2003 at 3:34 pm
Duplicate thread!! Solution can be written in a single select statement :
SELECT
(DATEDIFF(d, <start date>, <end date>)/7) +
CASE WHEN DATEPART(dw, <start date>) = 6
...
July 23, 2003 at 3:31 pm
Just a small thingy in the query of jpipes. You need to switch the Count(*) = @counter to @counter = count(*)
July 23, 2003 at 3:29 pm
I would try to import the Excel sheet in a (temporary) table and then do the join that way. Probably offers the best performance.
If that's not possible, you could use...
July 23, 2003 at 3:28 pm
You can also use OUTPUT parameters for the stored procedure. This allows you to 'return' any datatype and to return more than one variable.
CREATE PROCEDURE OutputVars
@Output1...
July 23, 2003 at 3:19 am
Calculate the number of days between them and divide that number by 7.
Next, you will have to do some additional math to check if your interval starts / ends on...
July 23, 2003 at 3:14 am
Is there a VB application connecting to the server? Or maybe a developper working on one?
It is not all too uncommon to start and stop a connection for each database...
July 23, 2003 at 2:12 am
Using the dynamic SQL Statement is the only solution.
Be careful when using this technique, since the execution plan of the statement will not be cached. This will impact the performance...
July 22, 2003 at 3:58 am
I don't know exactly what you are trying to do, but it seems to me this is normal behaviour, due to your data.
If we are talking about one ccr_name in...
July 22, 2003 at 12:58 am
Viewing 15 posts - 196 through 210 (of 530 total)