Viewing 15 posts - 46 through 60 (of 205 total)
I tried the way from SSChasing Mays but got an error once I changed table name from "orders" to my table's name.
Where is "near '-'" from script?
(352866 row(s) affected)
Msg 102,...
December 6, 2016 at 11:55 am
Here is error message.
Msg 15281, Level 16, State 1, Line 1
SQL Server blocked access to STATEMENT 'OpenRowset/OpenDatasource' of component 'Ad Hoc Distributed Queries' because this component is turned off as...
November 21, 2016 at 10:16 am
So, I think that I need to create a table to store the item user selected and then use inner join to complete job in application.
March 9, 2016 at 8:14 am
In fact, this question is coming from a vb.net project.
All items in list is coming from one array list which user selects from a Gridview select column.
Once user clicks select...
March 9, 2016 at 7:44 am
Got an error said
Windowed functions can only appear in the SELECT or ORDER BY clauses
After comment out
--UPDATE #Order
-- SET FileOrder = ROW_NUMBER() OVER (ORDER...
March 2, 2016 at 8:18 am
Sorry, I realize that should create a temp table first.
After that, another error.
It seems to me IT will not allow me using sys.xp_cmdshell
SQL Server blocked access to procedure 'sys.xp_cmdshell' of...
March 2, 2016 at 7:43 am
When I try script below but got an error said: Invalid object name '#order'
select * from #order
March 2, 2016 at 7:27 am
D is in local drive.
Your answer help me.
Thank you.
February 17, 2016 at 11:55 am
The Count of ORDERID will be determined by run time.
In fact, table ORDER should name it as ORDERHISTORY.
Any adding, modifying orders will save to ORDERHISTORY using the same ORDERID.
What function...
August 3, 2015 at 8:00 am
I used code below, it works but I am not sure it is good.
select distinct ORDERID from (select top 100 percent ORDERID,ORDERDate from ORDER where ORDERID = '123456' order by...
August 3, 2015 at 7:43 am
In asp.net project, I need to declare variables using all these IDs. Like,
dim _0000001, _0000002...
June 18, 2015 at 6:33 am
Viewing 15 posts - 46 through 60 (of 205 total)