Viewing 15 posts - 301 through 315 (of 790 total)
kandevs (6/12/2009)
Thanks for your response.
These are the tables:
table customers has two columns:
CREATE TABLE [dbo].[customer](
[ocustomernr] [int] NOT NULL,
[onaam] [varchar](100) COLLATE Latin1_General_CI_AS NULL,
CONSTRAINT [PK_customer] PRIMARY KEY CLUSTERED
(
[ocustomernr] ASC
)WITH (PAD_INDEX...
June 12, 2009 at 7:38 am
Try this:
CREATE TRIGGER TEST
ON CUSTOMER
AFTER INSERT
AS
INSERT INTO articles
SELECT OCUSTOMERNR, 0 FROM INSERTED
June 12, 2009 at 7:36 am
Post the structure of your table, just in case and to write the trigger properly!
Don't forget some sample data!
:hehe::hehe::hehe:
June 12, 2009 at 5:51 am
wow what a chines DB creation ...and the problem is !? :w00t::hehe::w00t:
June 12, 2009 at 12:25 am
You can start from here >>>> http://www.jumpstarttv.com/clustering-sql-server-2005_33.aspx
This article is from Jumpstar TV, the author is Brian Knight ( SQL SErver MVP)
:hehe:
June 11, 2009 at 5:11 am
Yea, very nice article! It is in my briefcase now! Thank you for sharing! 😉
June 5, 2009 at 1:03 am
thepotplants (6/3/2009)
select id, name, length(name) from SAPR3.test_table
[font="Courier New"]ID NAME LENGTH(NAME) ...
June 3, 2009 at 12:12 am
Lynn Pettis (5/28/2009)
1) It makes the query itself cleaner. You define what...
May 29, 2009 at 7:48 am
izhar (5/29/2009)
SELECT
30.AString
,50.E-3AnotherString
,10.E0SomethingElse
into dbo.TempTable;
select * from dbo.TempTable;
You can see that SQL try to parse the number till the not numeric character and then...
May 29, 2009 at 7:33 am
...are you working for http://www.wolframalpha.com/ !!!
May 22, 2009 at 7:37 am
shanila_minnu (5/22/2009)
please advise how to create maintanence plan to clean databasemail history ........
Try this:
May 22, 2009 at 6:20 am
or try to use the code:
USE MSDB;
GO
DECLARE @DeleteBeforeDate DateTime
SELECT @DeleteBeforeDate = DATEADD(d,-30, GETDATE())
EXEC sysmail_delete_mailitems_sp @sent_before = @DeleteBeforeDate
EXEC sysmail_delete_log_sp @logged_before = @DeleteBeforeDate
May 22, 2009 at 6:12 am
shanila_minnu (5/22/2009)
How can i automatically delete the database mail logs older than 1 month
You can use the system sp for this...search in BOL for these sp:
sysmail_delete_mailitems_sp and
sysmail_delete_log_sp
and I'm sure...
May 22, 2009 at 6:11 am
In the Server properties - Connections you should put 0 and it means unlimited connections in Server!
Check it!
After changes you should restart your SQL services!
Let me know is everything...
May 22, 2009 at 6:05 am
S Hodkinson (5/22/2009)
May 22, 2009 at 5:58 am
Viewing 15 posts - 301 through 315 (of 790 total)