Viewing 15 posts - 1,381 through 1,395 (of 2,701 total)
and what was the result when you tried it?
Wizard might be able to sort it out for you - but YOU need to put some effort on testing it yourself...
October 17, 2020 at 11:58 am
I think you misunderstood what I explained or you didn't implement it correctly.
doing it the way I mentioned the temp table created on proc B will have the contents inserted...
October 17, 2020 at 9:09 am
not quite - it needs to be a temp table, not a table variable.
----THIS IS AN EXAMPLE OF PROC 2:
CREATE PROC dbo.Service_Data_Summary
AS
create table #MoreData
(COLUMN1 INT
,COLUMN2 INT
...
October 15, 2020 at 5:48 pm
temp tables can be defined on proc A and referenced by any proc called by it
proc A calls proc B
proc B can then use the temp tables defined by A...
October 15, 2020 at 4:13 pm
you would keep the same functionality.
pseudo code - without seeing the proc this may be incorrect but should give you an idea
original code
OldProc
insert into original table from openquery...
select * from...
October 14, 2020 at 10:37 pm
on the calling proc instead of doing an insert into define a temp table manually.
on the called proc detect and see if the temp table created on the outer proc...
October 14, 2020 at 9:22 pm
its 10k partitions according to the OP
October 14, 2020 at 4:23 pm
and 112 is wrong format for that date representation.
112 = YYYYMMDD
121 = YYYY-MM-DD HH:MI:SS.mmm
October 12, 2020 at 11:50 pm
that is an Oracle feature - not available on SQL Server although parts of the equivalent features (SSAS) exist on SQL Server and can be controlled from T-SQL.
October 12, 2020 at 3:49 pm
reading the documentation does help.
Link posted before on this thread
https://docs.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt?view=sql-server-ver15
Not only this contains instructions for 2019 but it also has, quite visible, a link to previous versions.
October 11, 2020 at 1:56 am
if you output onto a file or to text it should give you the desired result
if you are querying on SSMS to the grid it will remove those.
October 9, 2020 at 7:28 pm
do you have or can you create a calendar table that contains the weekday for each date?
that would make giving you an easier example rather than having to build it...
September 29, 2020 at 11:09 am
you need to provide a lot more detail - as you aren't doing any explicit conversion I assume that either A1.Entry is a date/datetime or test3.bref is - and the...
September 27, 2020 at 3:19 pm
nope - even if you don't upgrade yourself, the engine will do that on the fly - and will fail for same reason.
you need to figure out a way to...
September 26, 2020 at 11:45 am
Viewing 15 posts - 1,381 through 1,395 (of 2,701 total)