Viewing 15 posts - 8,101 through 8,115 (of 13,876 total)
Jayanth_Kurup (9/20/2015)
Phil Parkin (9/18/2015)
Jayanth_Kurup (9/18/2015)
September 20, 2015 at 2:46 am
I have a table with some rows and columns what i want is i want to Show sum of particular column in the last row.
The last row of what? What...
September 18, 2015 at 4:07 am
Jayanth_Kurup (9/18/2015)
September 18, 2015 at 4:05 am
Chris Wooding (9/18/2015)
The project has the following;
[ModifiedBy] CHAR (8)...
September 18, 2015 at 3:42 am
GilaMonster (9/18/2015)
SELECT ufnGetAccountingEndDate()
Beat me to it.
What I would also suggest is that you always schema-qualify your DB objects:
select dbo.ufnGetAccountingEndDate();
September 18, 2015 at 2:43 am
Steve Jones - SSC Editor (9/17/2015)
Brandie Tarvin (9/17/2015)
September 17, 2015 at 11:45 am
Ok. Does your @sql begin with a use db statement? If not, please reread our original responses.
September 17, 2015 at 10:27 am
AarionSSQL (9/17/2015)
I am trying to use variables to generate the command:
USE DATABASE
GO
Code below:
DECLARE @DBName_Schema varchar(500)
SET @DBName = 'Test'
EXEC ('USE ' + @DBName )
GO
It does not seem...
September 17, 2015 at 8:22 am
BWFC (9/17/2015)
Phil Parkin (9/17/2015)
September 17, 2015 at 5:09 am
I'm with you, Jeff. Using the threat of leaving, directly or indirectly, as a means to increase your salary feels ethically wrong and akin to bribery. If you're leaving, leave,...
September 17, 2015 at 4:26 am
nick.latocha (9/16/2015)
I was going to do this - but can't find a way of building 2008r2 packages from msbuild. Is there something I'm missing?
Not at all. Devenv.com can be used...
September 16, 2015 at 9:16 am
nick.latocha (9/16/2015)
All our packages are run via dtexc on a dedicated server - so trying to...
September 16, 2015 at 8:28 am
toni 667 (9/16/2015)
Hello David,this looks very promising, unfortunately sometimes the value Grp repeats itself on different datetime / item combinations.
Thanks
Please expand the sample data query which I provided, to illustrate...
September 16, 2015 at 7:35 am
nick.latocha (9/16/2015)
September 16, 2015 at 7:08 am
Here's some setup SQL for anyone who wants to try this.
Hint: please do this in future when you submit forum questions 🙂
if object_id('tempdb..#tab1', 'U') is not null
drop table...
September 16, 2015 at 4:06 am
Viewing 15 posts - 8,101 through 8,115 (of 13,876 total)