Viewing 15 posts - 13,156 through 13,170 (of 18,923 total)
You can do that in an sp using a linked server like so :
P.S. This basicaly downloads the new bills since the last transfer
CREATE PROCEDURE [dbo].[SPNFacturationTransfererNouvellesFactures]
AS
SET NOCOUNT ON
DECLARE @NouvellesFactures...
September 19, 2005 at 6:49 am
Please do not cross-post, we monitor all boards.
Finish the thread here : http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=19&messageid=221028
September 19, 2005 at 6:42 am
What's not working exactly??
September 19, 2005 at 6:41 am
Select * from dbo.TableName where 1 = 0
September 19, 2005 at 6:25 am
What the h3ck are you testing then if you're not ommiting some columns in one view that you are selecting in the other???
September 17, 2005 at 6:04 am
Not gonna mail this to you.
Simply do a single select :
Select columns from dbo.YourTable where DateCol between @StartDate and @EndDate.
Then simply present the data monthly if requested that way.
September 16, 2005 at 9:38 pm
You pretty much answered your own question. Insert the records that don't exists in master.
Update the ones that exists and have a greater date version than the one in...
September 16, 2005 at 9:35 pm
execute that string in the foreach sp :
'use ?
execute sp_addrolemember ''db_owner'',''adcnt\SQLAdmins''
execute sp_addrolemember ''db_owner'',''adcnt\SQLFull''
execute sp_addrolemember ''db_owner'',''adcnt\SQLRW''
execute sp_addrolemember ''db_datareader'',''adcnt\SQLR'''
September 16, 2005 at 9:32 pm
You think I'm actually stupid enough to fall for that one???
September 16, 2005 at 9:30 pm
Are you trying to start an infinite loop???
Post the link back to this post but not from this one to the cross one
.
September 16, 2005 at 10:13 am
ALTER TABLE TableName {ENABLE | DISABLE} TriggerName
However you cannot tell it to stop firing on delete but continue firing on inserts and updates.
September 16, 2005 at 9:01 am
Or actually you could simply change the altvalue to a decimal datatype (assuming it's doable and still the correct design).
September 16, 2005 at 8:42 am
Viewing 15 posts - 13,156 through 13,170 (of 18,923 total)