Viewing 15 posts - 1 through 15 (of 20 total)
CREATE PROCEDURE usp_ors
@sqlquery VARCHAR(MAX)
AS BEGIN
SET NOCOUNT...
August 17, 2020 at 3:47 am
I should have replied yesterday,but was busy.So I tried a while loop it works for querying data but the data insertion to temp table part fails.I am still working on...
August 14, 2020 at 9:03 pm
table1 exists on 5 different servers and want to combine the result into 1 temp table.
August 13, 2020 at 2:17 pm
Yes it is inserting results into the temp table.I need a dynamic way of handling all the individual select statements one by one,execute them and insert into temp table.
August 13, 2020 at 5:21 am
My bad I should be more clear on this part.
Table name is connectiondetails
Sno and Sqlcommand are the columns
SNo sqlcommand
1 SELECT * FROM OPENROWSET('MSDASQL','Driver={MySQL ODBC 5.3...
August 13, 2020 at 4:02 am
@jeff Sorry for the typo.Corrected it.
July 13, 2020 at 4:59 pm
Here is the sample code.
DECLARE @var VARCHAR(100) ='CCLOGISTICS'
SELECT @var
, CASE WHEN CHARINDEX(' ',@var)>0 THEN SUBSTRING(REPLACE(@var,' ',''),1,5) ELSE SUBSTRING(@var,1,5) END AS substringoutput
Let me know for further questions.
August 27, 2019 at 8:18 pm
December 5, 2018 at 3:43 pm
hopefully this makes sense. i have 2 tables, a and b, and i am seeing...
November 9, 2018 at 12:23 pm
Sorry for earlier post
Do you need to group by ea.Asset Value??If not please remove it and run your code.
Thanks September 26, 2018 at 3:54 pm
SE
I'm hoping to get your expertise on this. I'm trying to populate a temp...
September 26, 2018 at 3:53 pm
I have a column in my oracle SQL table where user will city name...
September 10, 2018 at 2:58 pm
Viewing 15 posts - 1 through 15 (of 20 total)