Viewing 15 posts - 61 through 75 (of 92 total)
OK
i have created the linked servers on the server (SQL2005) and the links work fine. I am using Express 2005 where the links did work but no longer work. I've...
January 6, 2012 at 6:11 am
thanks
however, i need it to be dynamic so it runs on the first of every month. it's only an issue when its a new year.
January 4, 2012 at 7:04 am
Phil Parkin (12/3/2011)
spin (12/3/2011)
hiis it possible to get information about pc's, servers etc on my network i.e. hardware, software, computer name etc.
thanks
Yes, if there exists a user with sufficient...
December 3, 2011 at 3:32 pm
thanks both. i now understand update() and columns_update()
I found/modified this script which does the job...almost.
--
--DROP TRIGGER tr_SalesHistory
CREATE TRIGGER tr_SalesHistory ON SalesHistory
FOR UPDATE, INSERT
AS
BEGIN
DECLARE...
October 8, 2011 at 4:55 am
thanks that worked great.
following on from that (maybe a new post?) can i return the column name that was updated?
thanks
October 6, 2011 at 3:54 pm
ok, think i've sussed it.
I switched the section..
IF (SELECT count(StockCode) FROM inserted i WHERE StockCode LIKE 'Y%') >= 1
SET NOCOUNT ON
BEGIN
...to be....
IF (SELECT count(StockCode) FROM inserted i...
September 13, 2011 at 4:44 am
my laughing gland has burst and i can see a long stint in intensive care ahead. 😛
i mean something like..
select * from openquery('select * from thisTable where date >= '...
August 16, 2011 at 8:45 am
can i break out of the openquery and use tsql syntax??
August 16, 2011 at 7:41 am
wow. a little more complicated than i'd expected. trying to get my head around this now. i'll let you know if it works out. thanks.
August 16, 2011 at 6:59 am
thanks all (special thanks to the messiah),
yes i know the design is crap. it's from an old proteus db which it causing me serious headaches.
i've finally had to create a...
August 15, 2011 at 8:35 am
hi
the reason i wanted this...
select * from Sales.SalesOrderHeader
where OrderDate between 01/01/2004 and 31/12/2004
...is because i'm trying out SSRS using BIDS. i wanted the date to be a parameter value from...
August 15, 2011 at 8:24 am
thanks both
this now works fine....
declare @startDate as smalldatetime
declare @endDate as smalldatetime
set @startDate = '2004-01-01'
set @endDate = '2004-12-31'
select * from Sales.SalesOrderHeader
where OrderDate >= @startDate and OrderDate < @endDate
August 14, 2011 at 11:17 am
hi
firstly, love this series. great job.
I'm working my way through level 2 atm. i am using sql 2005, am i right in thinking that the Report Data Pane only...
August 5, 2011 at 7:39 am
Viewing 15 posts - 61 through 75 (of 92 total)