Viewing 15 posts - 8,986 through 9,000 (of 13,882 total)
ScottPletcher (10/23/2014)
For temp tables, you must also consider:INTO #new_temp_table
rather than just CREATE.
Good point! I try to stop people doing that in production code, but a few get through the net.
October 23, 2014 at 11:47 am
Configure your flat file source connection with | as the column delimiter and let SSIS do the work for you. See here[/url] for an example.
October 23, 2014 at 11:45 am
p.shabbir (10/23/2014)
Thanks for the reply phil.Yes, always there will be 3 items and column length is not fixed.
It may be varied for example
ABCDE|ABCDF|BCDEF
BCDEF|ABCDF|BCDEF
ABCDEF|ABCDF|BCDEF
ABCDE|ABCDFE|BCDEF
Thanks
Is the data coming from a flat file?
October 23, 2014 at 9:45 am
Are there always three items?
Are the columns always the same length?
October 23, 2014 at 8:31 am
Grant Fritchey (10/23/2014)
Mandatory disclaimer (although I'm not sure why for a free...
October 23, 2014 at 4:37 am
d short (10/22/2014)
Does anyone know a way to find all stored procedures that use declared or temp tables, i.eDeclare @temptable TABLE as....
Create table #temptable
Thanks!
If you have your databases scripted into...
October 23, 2014 at 1:23 am
Can you expand on this bit please?
What I'm looking to do is turn the first query "getData" into the above loop, but rather in T-SQL.
I don't know what turning a...
October 22, 2014 at 9:02 am
John Mitchell-245523 (10/22/2014)
SELECT UserName, ServerOperation, SUM(DISTINCT p)
FROM #Operations o
OUTER...
October 22, 2014 at 5:13 am
Interesting.
If you could find a way of breaking down the permission at row level (eg, from 7 to (4,2,1)), it may be possible to do a SUM() on the UNIONed...
October 22, 2014 at 3:00 am
Resender (10/22/2014)
Txn,it was that simple
:smooooth: Simple is good.
October 22, 2014 at 1:12 am
Try using square brackets around the variable name.
October 22, 2014 at 1:03 am
johnix76 (10/21/2014)
i tried to use xp_cmdshell in order to execute a vbscript from a trigger and it works, but i notice that trigger wait until the vbscript was terminated.
i...
October 21, 2014 at 6:40 am
October 21, 2014 at 12:42 am
Eirikur Eiriksson (10/21/2014)
October 21, 2014 at 12:41 am
ScottPletcher (10/20/2014)
October 21, 2014 at 12:08 am
Viewing 15 posts - 8,986 through 9,000 (of 13,882 total)