Viewing 15 posts - 1 through 15 (of 35 total)
Lynn Pettis (9/6/2016)
Sean Grebey (9/6/2016)
September 6, 2016 at 1:22 pm
Ah I see I am trying to use a local path and run it from the server...thanks
March 31, 2016 at 2:06 pm
@@ROWCOUNT did it thanks for the help guys
March 11, 2016 at 8:38 am
Phil Parkin (3/11/2016)
Perhaps you could do the INSERT followed by
DECLARE @RwCount INT = @@ROWCOUNT
IF @RwCount = 0
BEGIN
--Insert here
END
Thanks
March 11, 2016 at 8:24 am
TheSQLGuru (3/11/2016)
At first blush I can't think of a way to do this in a...
March 11, 2016 at 8:23 am
Union maybe?
March 11, 2016 at 8:11 am
dwain.c (4/20/2015)
With regards to your thread's subject:The only stupid query questions are the ones you don't ask.
Lol I feel like it was an easy question but I'm also a programmer...
April 20, 2015 at 8:58 pm
CELKO (3/30/2015)
I hope not! Lists are not part of SQL or RDBMS. Rows are identified by a...
April 7, 2015 at 9:54 am
Here is the actual T-SQL I think this will work:
INSERT INTO [notes]
([projectID]
...
March 30, 2015 at 7:22 pm
The SQL Browser Service was off that seems to have been the issue thank you!
July 24, 2014 at 9:02 am
Thanks for the replies. Out of curiosity, this is the approach I took. Is there an issue with it?
select ROUND(sum(ContractValue),2) ContractValue, MONTH(ContractDate), YEAR(ContractDate)
From Reporting.dbo.PrgSum
Group by YEAR(ContractDate), MONTH(ContractDate)
August 6, 2013 at 8:35 am
I was asking because from what I understand if there is a clustered index non-clustered indexes use the clustered key, otherwise it uses the rowID (file number, page number and...
July 2, 2013 at 9:04 am
Viewing 15 posts - 1 through 15 (of 35 total)