Viewing 15 posts - 6,886 through 6,900 (of 7,466 total)
How about this :
Create Function dbo.udf_Get_Nth_DayNo_After
( @Start_DateTime AS datetime
, @End_DateTime AS datetime = '9999-12-31'
, @SearchDayNr as tinyint = 1
, @nth as tinyint = 1
, @hh_time as char(2) =...
August 9, 2004 at 2:41 am
Lets assume speed is the issue and the FK-cannot be touched over here and
Sheilesh Paliwal cannot wait until the normal maintenance time.
Maybe...
August 9, 2004 at 12:10 am
maybe you'll find your answer overhere : http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=127910
August 6, 2004 at 3:41 am
Check the connection objects to the server who's sa-pwd you've changed in your dts-packages !
After you altered the sa-password, did you stop/start that server's sqlagent ?
August 6, 2004 at 3:13 am
In EM :
Tools / Options / advanced :
you can set : - Login timeout
- Query timeout
- packet size
August 5, 2004 at 1:04 am
Create the PK in line with the create table statement.
create table #tmpMytable (col_id integer not null primary key
, col2 datetime not null default getdate()
, .... )
or
create...
August 4, 2004 at 12:28 am
Can you have them using a view ?
if yes, provide a view like this :
Create myschema.myview
as
select mycol1,..
from myschema.mytable (NOLOCK)
This way they will not lock the rows...
August 4, 2004 at 12:16 am
as you have noticed NULL <> ' '
If there is no symantic difference for your schema and apps, avoid the NULL.
August 3, 2004 at 2:11 am
Thanks for the good advice Offcourse one has to choose a wife who enjoys the bike as well
August 1, 2004 at 2:09 pm
400 to go
Now the weather is verry nice overhere (25°C, no clouds) so the bike is calling !
July 30, 2004 at 3:57 am
busy, busy, busy
I try to handle my daily portion of SSC, but don't always reach my...
July 30, 2004 at 3:39 am
Hi Frank,
Nice to have you back
Maybe even smsmon might help me a bit.
July 30, 2004 at 3:19 am
yep, yep, yep
Use a temporary table variable
use pubs
set nocount on
declare @Usernames varchar(5000)
set @Usernames = 'me,him,she,them,Karin'
declare @TblUserNames...
July 30, 2004 at 1:44 am
On our clustered instances, every once in a while the linked servers just give up
In our case that is not deadly because the...
July 30, 2004 at 12:16 am
could be something like this :
CREATE TRIGGER TrIU_T_Mytable ON dbo.Mytable
FOR INSERT, UPDATE
AS
IF MyEmailColumn is NOT null
begin
-- must be unique where not null
If exists (select * from dbo.Mytable...
July 29, 2004 at 8:17 am
Viewing 15 posts - 6,886 through 6,900 (of 7,466 total)