Viewing 15 posts - 1,891 through 1,905 (of 15,381 total)
You desperately need to do some reading about database design and normalization. This table is a mess and appear to be lacking any attempt at normalization.
As to the question...
January 11, 2016 at 8:44 am
For anybody else not wanting to download the text file here is the contents.
CREATE TABLE [dbo].[Name](
[ID] [varchar](10) NOT NULL,
[ORG_CODE] [varchar](5) NOT NULL,
[MEMBER_TYPE] [varchar](5) NOT NULL,
[CATEGORY] [varchar](5) NOT NULL,
[STATUS] [varchar](5) NOT...
January 11, 2016 at 8:40 am
Steve Jones - SSC Editor (1/8/2016)
Sean Lange (1/8/2016)
January 11, 2016 at 7:18 am
With that I am off to my son's school. He is in the spelling bee again this year. I think he is the only student in his grade to make...
January 8, 2016 at 12:24 pm
simon-hulse (1/8/2016)
January 8, 2016 at 8:21 am
Zohaib Anwar (1/7/2016)
I am trying to build attached query that is mentioned in the word document. I am struck on one point that is point number 3 in the document....
January 7, 2016 at 9:58 am
Maybe you should take a peek at this article about fragmentation. http://www.sqlservercentral.com/articles/Stairway+Series/72443/%5B/url%5D
There is a whole series on indexing in the Stairways section on the left side in the links.
January 7, 2016 at 9:28 am
Ed Wagner (1/7/2016)
Brandie Tarvin (1/7/2016)
BL0B_EATER (1/7/2016)
Jack Corbett (1/7/2016)
Ed Wagner (1/7/2016)
January 7, 2016 at 9:09 am
Agreed that rolling your own is very poor decision, especially for somebody new to sql server. You will make far too many mistakes. The one from Ola is a good...
January 7, 2016 at 7:39 am
Tallboy (1/7/2016)
Your right, but every row from the source table could and will have different dates , therefor I need to use a cursor to iterate over them! ...
January 7, 2016 at 7:37 am
Tallboy (1/6/2016)
January 6, 2016 at 3:26 pm
Luis Cazares (1/6/2016)
chrisn-585491 (12/21/2015)
I'm glad y'all enjoyed it, but ethically I can't see Disney movies due to their treatment of IT workers.Where can I read about that?
Agreed I would be...
January 6, 2016 at 2:19 pm
Phil Parkin (1/6/2016)
Michael L John (1/6/2016)
Ed Wagner (1/6/2016)
Sean Lange (1/6/2016)
Ed Wagner (1/6/2016)
Brandie Tarvin (1/6/2016)
Sean Lange (1/6/2016)
January 6, 2016 at 2:02 pm
Here is a pretty generic example of how you might do this.
if OBJECT_ID('tempdb..#Users') is not null
drop table #Users
create table #Users
(
Name varchar(50)
)
insert #Users(Name)
values
('Francisco'),
('Ashley'),
('Samuel'),
('Georgia'),
('Bernice'),
('Thomas'),
('Janice'),
('James'),
('Martha'),
('Marvin');
with NumberedValues as
(
select Name, ROW_NUMBER() over(order by Name) as...
January 6, 2016 at 1:36 pm
KGJ-Dev (1/6/2016)
I have a table called Users and have column called Name. The table has 50000 rows and i want to update the name column as 'Sample'+sequence number like below
Sample1
Sample2
Sample3.....
Any...
January 6, 2016 at 1:31 pm
Viewing 15 posts - 1,891 through 1,905 (of 15,381 total)