Viewing 15 posts - 181 through 195 (of 267 total)
You could also calculate this in an aggregated table that way there's no calculations in the report
I've used this technique a number of times in the past and it works...
November 1, 2016 at 2:47 am
Thanks for the responses
Just about to try the SP with OUTPUT method
Both parameter based suggestions seem to continue to return the same error
hmm, looks like output doesn't work either
Bit frustrating...
October 31, 2016 at 9:01 am
Perfect, pointed me in the right direction and now working
Also found this useful link as a result
https://www.simple-talk.com/sql/database-administration/setting-up-your-sql-server-agent-correctly/
Thanks
October 28, 2016 at 2:58 am
This might help:
https://technet.microsoft.com/en-us/library/ms190421(v=sql.105).aspx
bcp will attempt to load in one transaction so use bcp -b <transactions> e.g. 10000
October 27, 2016 at 6:34 am
Thanks Phil, on with your suggestion now
October 21, 2016 at 1:49 am
Thanks for the response
How would I use a foreach Loop if the files are structurally different?
October 20, 2016 at 9:08 am
I tend to do all my merging via T-SQL as it's much more efficient (certainly for what I want to do)
There's a very good tutorial here (with all 4 SCD...
October 20, 2016 at 6:39 am
Agree
I've done this sort of thing using the BI tool (for me, Cognos or SSRS)
Add a prompt for what you want to sort it by and present accordingly
It's not that...
October 14, 2016 at 9:24 am
Using your suggestion sergiy, I've managed to get it working
One question
You have:
declare @MaxID bigint
select @MaxID + MAX(ID) From TargetTable (TABLOCKX)
This returns NULL
I've amended it to (changed + for =)
declare @MaxID...
October 12, 2016 at 7:55 am
Thanks for the advice
Unfortunately, it is 2008 so SEQUENCE is not an option
I'm going to look into the proposal by sergiy
For my purposes, I think I can remove all the...
October 12, 2016 at 4:03 am
I've just mocked up a quick report (in report builder)
Picked a column and set hidden to =IIF(Globals!RenderFormat.Name="EXCELOPENXML",True,False)
Now exported to Excel and the column is missing as expected
Is there something else...
October 4, 2016 at 1:52 am
Think you need to be looking at the hidden property
=IIF(Globals!RenderFormat.Name="EXCELOPENXML",True,False)
or EXCEL in 2008 R2
October 3, 2016 at 2:11 am
Stairway tutorials are great
Also look on youtube there's loads of tutorials on there
I quite like the wiseowl videos
September 22, 2016 at 3:43 am
You could use Generate Scripts
In SSMS, right click on the database
Select Tasks -> Generate Scripts
From here you can select specific database objects
User-Defined Data Types is an option
Does that help?
September 19, 2016 at 2:21 am
Thanks Eirikur
I basically get 3 tables that are fed from our source system and have no control over these
all_rating_notes contains an attribute (full_description) that is actually varchar(max) when it's written...
July 21, 2016 at 6:13 am
Viewing 15 posts - 181 through 195 (of 267 total)