Viewing 15 posts - 1,396 through 1,410 (of 2,044 total)
The condition is still
If you update or delete where col1 is one or five then rollback the transaction ?
The current code wants that one of the records contains col1=1 or 5,...
August 14, 2006 at 2:30 pm
CREATE TRIGGER TR_TEST_MANDATORY ON dbo.TEST
AS
SET NOCOUNT ON
IF EXISTS(SELECT col1 from inserted WHERE col2 = 'mandatory')
--IF EXISTS(SELECT col1 from inserted WHERE col1 in ('one','five'))
BEGIN
ROLLBACK TRANSACTION
END
August 12, 2006 at 5:52 pm
Does in only have to be 1 level deep?
SELECT TableA.ID,TableA.ParentId,TableB.ChildName
from TableA Parents
LEFT join TableB Childs
on parents.id=childs.parentid
order by parentname,childname
(still needs some testing)
August 12, 2006 at 5:47 pm
If you connect to the windows xp from another computer you may run into the maximum allowed inbound connections of windows xp: http://support.microsoft.com/?scid=kb;en-us;314882
Windows home:5
Windows pro :10
August 11, 2006 at 12:57 am
The optimalisation job is problably DBCC REINDEX (hold locks)/DBCC INDEXDEFRAG(online) (keeping indexes in shape, fills log quite nicely) en perhaps sp_updatestats (for a better query plan).
Log backups can be done...
August 11, 2006 at 12:53 am
I have no experience with switchboard but they look like forms with button. When clicking on a button it opens a new form (see the visual basic for applications code)....
August 10, 2006 at 2:47 pm
You mention the transaction log becoming full. Does it grow in small enough increments. Is the initial size large enough to prevent shrinking/growing.
During the optimization job, is the database mode...
August 10, 2006 at 2:31 pm
Does sql agent have sufficient permissions to access the file(s)? Does it have the same network administrator permissions?
August 10, 2006 at 2:27 pm
Could you repost the picture/description? My browser displays a red cross instead.
August 10, 2006 at 2:20 pm
Relax
Have a look at http://www.granite.ab.ca/access/autofe.htm for possible ways of automatically updating your access-versions.
At work we have a table with program versions. At startup the Access application verifies its current version...
August 10, 2006 at 2:18 pm
Something like this?
/*WILL hold names of linked servers*/
CREATE table #linkedservers
(
SRV_NAME sysname NULL /*Name of the linked server. */
,SRV_PROVIDERNAME nvarchar(128) NULL/*Friendly name of the OLE DB provider managing access to the...
August 10, 2006 at 10:08 am
run sp_server_info @attribute_id =2, that attribute tells which edition of sql server you are connected to
August 10, 2006 at 5:27 am
You can fill the server variable with a loop. (cursor) SET @ServerID=@OtherVariable
Can you write a couple of statements of wanted output for the statement to execute?
August 9, 2006 at 9:33 am
You can use bulk insert also. It's only named bcp-file (c:\bcptest.txt) because I've exported the data with bcp.
August 9, 2006 at 4:47 am
Viewing 15 posts - 1,396 through 1,410 (of 2,044 total)