Viewing 15 posts - 3,901 through 3,915 (of 26,490 total)
wdmm (5/2/2016)
Included in the original post:
--tblOrder
--Keysv
--72apple
--72orange
--73100
--73100
--desired end results
--idd
--7Value of apple 100
--7Value of orange 100
Below are the create and insert stmts:
--table create
CREATE TABLE [dbo].[tblOrder](
[Key] [int] NOT NULL,
[varchar](50) NOT...
May 2, 2016 at 3:02 pm
Jeffery Williams (4/30/2016)
So I build a dynamic query. In this case it is...
April 30, 2016 at 9:26 pm
Brandie Tarvin (4/29/2016)
Chad Crawford (4/29/2016)
Brandie Tarvin (4/29/2016)
you can do anything you put your mind to.
Reminds me of the strip that showed up on my Dilbert calendar this week:...
April 29, 2016 at 3:37 pm
Alan.B (4/28/2016)
CREATE TABLE LovelyTable(
Join varchar(50)
)
SQL Server is generally very good at dealing with reserved keywords as column names but its a terrible practice. Column names...
April 29, 2016 at 2:44 pm
Brandie Tarvin (4/29/2016)
Luis Cazares (4/29/2016)
Or install more memory.
Umm, that won't work. SSMS has the memory limitation. Not my desktop.
Per Microsoft:
Note SSMS is a 32-bit process. Therefore, it is limited...
April 29, 2016 at 9:40 am
Ed Wagner (4/28/2016)
Lynn Pettis (4/28/2016)
People can't format their code to make it readable, can't post enough information to really help...
April 28, 2016 at 5:13 pm
Learner44 (4/28/2016)
April 28, 2016 at 1:07 pm
Learner44 (4/28/2016)
Error message
Invalid column name 'cindex'.
SP
ALTER PROCEDURE Doc124NEW_new (@DMIGRATIONNEW nvarchar(255))
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result...
April 28, 2016 at 10:25 am
I think it is time for me to take a break.
People can't format their code to make it readable, can't post enough information to really help them with out guessing...
April 28, 2016 at 10:17 am
Jeffery, You said you recreated the problem with another table and some test code. That is what I want to see, not the code and table from the...
April 28, 2016 at 10:06 am
Learner44 (4/28/2016)
Msg 245, Level 16, State 1, Procedure Doc124NEW_new, Line 36
Conversion failed when converting the varchar value 'SELECT TOP (' to data type int.
Here is my...
April 28, 2016 at 10:03 am
wdmm (4/28/2016)
declare @i as int
declare @nmbrRow as int
declare @dM table(dM varchar(max))
insert @dM (select lname from names etc..)
set @nmbrRow = (select count(*) from...
April 28, 2016 at 9:57 am
wendy elizabeth (4/28/2016)
What format is the most efficient for executing the best? subqueries, temp tables, or cte?
It depends. The best you can do is test the different options and...
April 28, 2016 at 9:54 am
So what is the issue? You have given us the code but told us nothing else about the problem.
April 28, 2016 at 9:46 am
Jeffery Williams (4/27/2016)
Made another table varchar(8000)
I inserted few hundred characters then just did update where field = field...
April 27, 2016 at 3:00 pm
Viewing 15 posts - 3,901 through 3,915 (of 26,490 total)