Viewing 15 posts - 2,386 through 2,400 (of 6,036 total)
I'm afraid you're wrong with you requirements.
🙂
These 2 statements contradict each other:
On the other side an Oracle DB, also with staff, but only active.
when a staff member leaves and...
_____________
Code for TallyGenerator
March 17, 2010 at 9:36 pm
Only option which allows you to read recordsets from files with no looping is BULK INSERT (bcp).
But to use it you need to expose the file location to the SQL...
_____________
Code for TallyGenerator
March 16, 2010 at 3:21 pm
Spencer Evans (3/12/2010)
Execute as follows:
EXEC [dbo].[ProcTest] @Table = '{table}'Hope this helps
No, better like this:
EXEC [dbo].[ProcTest] @Table = '{table}; exec sp_resetpassword ... '
Just to make sure you take control over those...
_____________
Code for TallyGenerator
March 12, 2010 at 4:49 pm
Is this what are you looking for?
CREATE TABLE #MoveDetail (
ID int,
MoveDetail varchar(50)
)
INSERT INTO #MoveDetail
(ID, MoveDetail)
SELECT 1, 'Paint Location'
UNION
SELECT 2, 'Clean Location'
UNION
SELECT 3, 'Supply Setup'
UNION
SELECT 4,...
_____________
Code for TallyGenerator
March 11, 2010 at 9:17 pm
UPDATE workorder
SET targstartdate = @ts, targcompdate = @tc
from inserted
WHERE workorder.wonum = inserted.wonum
I'd advice you not to use subqueries. Ever.
There is another way in almost every case.
And that...
_____________
Code for TallyGenerator
March 10, 2010 at 2:03 pm
Is it for some kind of report?
If yes what is the exppected format of the report?
_____________
Code for TallyGenerator
March 7, 2010 at 9:38 pm
Update P
Set -- check the column names, probably they are not correct here
LastName=S.S_Last_Name,
FirstNames=S.S_First_Name, ...
_____________
Code for TallyGenerator
February 22, 2010 at 10:18 pm
Microsoft SQL Server 2000 - 8.00.2055 (SP4)
Collation SQL_Latin1_General_CP1_CI_AS
_____________
Code for TallyGenerator
February 22, 2010 at 8:57 pm
Jeff Moden (9/20/2008)
Ok... like I've done before when this controversy of Select/Into...
_____________
Code for TallyGenerator
February 7, 2010 at 5:29 pm
Temp tables work perfectly for this purpose.
_____________
Code for TallyGenerator
January 28, 2010 at 11:02 pm
REPLACE(
STR(sum(amount), 11,2),
' ', '0')
Is it what you are looking for?
_____________
Code for TallyGenerator
January 22, 2010 at 2:36 pm
January 22, 2010 at 2:24 pm
Did you try simple UPDATE?
_____________
Code for TallyGenerator
January 22, 2010 at 2:18 pm
It's on server's C: drive inside temp folder.
_____________
Code for TallyGenerator
January 16, 2010 at 2:47 pm
What does it mean "unique"?
_____________
Code for TallyGenerator
January 12, 2010 at 3:17 am
Viewing 15 posts - 2,386 through 2,400 (of 6,036 total)