Viewing 15 posts - 25,006 through 25,020 (of 59,099 total)
shashianireddy 30786 (12/26/2013)
BACKUP DATABASE databasename to disk='c:\databasename.bak'
That will not work to produce the backup on any machine other than the server itself. You have to use a UNC...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 26, 2013 at 5:59 am
anupamk (12/26/2013)
I have 5-6 Update SQL within a Procedure. These Update SQL are 3-4 liner and are updating Columns based on some other Column in same table and some are...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 26, 2013 at 5:48 am
ramana3327 (12/25/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 26, 2013 at 5:38 am
SELECT DISTINCT Name
FROM dbo.YourTable
;
But, beware... this type of logic is frequently due to bad table or data design and can lead to some mighty slow queries.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 26, 2013 at 5:10 am
Fun question and I screwed it up. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
December 26, 2013 at 5:04 am
yuvipoy (12/26/2013)
Pasting couple of rows is not a problem but what is the logic...?
Post the couple of rows and tell me what's in them and then we'll see what we...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 26, 2013 at 5:02 am
You're welcome and Happy Christmas Eve.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 24, 2013 at 7:12 pm
To borrow a concept from one of my favorite old Star Trek episodes, I long for the simplicity of play.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 24, 2013 at 7:03 pm
LinksUp (12/23/2013)
;with cte as
(
select *, ROW_NUMBER() over(order by old_ind_id) as RowNum
from #audit_Person
)
select 'old', old_ind_id, old_login, first_name, last_name, email_addr, created_dt, updated_dt,RowNum
from cte
union...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 24, 2013 at 6:52 pm
Core6430 (12/24/2013)
The recruiter spent an hour talking about his car. Didn't ask me anything about my skills, experience, or work history. Utter waste of time.
Heh... I agree. You didn't...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 24, 2013 at 5:58 pm
ScottPletcher (12/24/2013)
Jeff Moden (12/24/2013)
ScottPletcher (12/24/2013)
If you don't have any data longer than 24 bytes (or so), it might be easier just to "brute STUFF" it:
Awesome! I don't believe anything...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 24, 2013 at 5:41 pm
ScottPletcher (12/24/2013)
If you don't have any data longer than 24 bytes (or so), it might be easier just to "brute STUFF" it:
Awesome! I don't believe anything will come close...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 24, 2013 at 12:04 pm
Core6430 (12/24/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 24, 2013 at 11:41 am
Ah... while I agree with being paranoid about the use of dynamic SQL, it should not be something that keeps you from using it when necessary. It's an incredibly...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 24, 2013 at 11:33 am
ramana3327 (12/24/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 24, 2013 at 11:21 am
Viewing 15 posts - 25,006 through 25,020 (of 59,099 total)