Viewing 15 posts - 10,036 through 10,050 (of 15,381 total)
sqldba20 (11/16/2012)
insert into #tblSDetails values ('Invoice_Archive','CSS','Location','Action','Read')
OR
Updates the Access column from Read to Modify where FolderName =...
November 16, 2012 at 2:15 pm
As previously stated the type of splitter you have is very slow and if at all possible replace that denormalized table with something easier to work with. You can parse...
November 16, 2012 at 1:36 pm
sqldba20 (11/16/2012)
November 16, 2012 at 1:20 pm
No offense but that link is horrible. The script there is strangely complex and doesn't actually return correct results. It is not too far off but it is wrong. The...
November 16, 2012 at 12:50 pm
Great job posting ddl and sample data!!! Unfortunately your question is very unclear. What does a mismatch mean? Is it possible to normalize this stuff and add something that can...
November 16, 2012 at 12:00 pm
SQLTestUser (11/16/2012)
tables as
Location
Customer
Books
the view...
November 16, 2012 at 11:54 am
Of course I didn't actually test it but since the issue was with a deprecated type I made the assumption....which certainly made one out of me. 😉
It does appear to...
November 16, 2012 at 9:35 am
That is an interesting script. The easiest way to avoid the collision is to stop using the deprecated text datatype. Use (n)varchar(max) instead.
November 16, 2012 at 8:14 am
jerome.morris (11/15/2012)
Hi Micheal, I did test it and it worked but wanted to understand how it was workingThanks
J
Jerome,
I borrowed heavily from the article Lynn Pettis wrote on dates. http://www.sqlservercentral.com/blogs/lynnpettis/2009/03/25/some-common-date-routines/%5B/url%5D Read...
November 16, 2012 at 7:42 am
(*) Will I have to cursor through the table, and process each record ... or is their an alternative?
Yes the alternative is what I showed you. You should be able...
November 15, 2012 at 2:22 pm
Reading your post again it sounds like you want to make copies of a survey? You could use the same logic I posted above but it would all be within...
November 15, 2012 at 12:32 pm
Assuming my understanding posted above is correct here is an example of doing this type of thing without using a cursor. What you have to do is add a column...
November 15, 2012 at 12:31 pm
Jeff Moden (11/15/2012)
November 15, 2012 at 10:58 am
This doesn't sound too bad but there is really nothing anybody can do to help based on the limited details you have posted. Are you looking for specific query assistance...
November 15, 2012 at 9:44 am
jbm6401 (11/15/2012)
Actually, i cannot provide the code. Let me see what I can do with a do while loop.Thanks,
A while loop is no better than a cursor for performance....
November 15, 2012 at 8:49 am
Viewing 15 posts - 10,036 through 10,050 (of 15,381 total)