Viewing 15 posts - 26,146 through 26,160 (of 59,099 total)
cmerrell (8/21/2013)
Excellent suggestion. Also,insert into #tab
exec (@MyDynamicCode)
But "insert into" will only insert into an existing table. What about creating a new table?
Use SELECT/INTO with OPENROWSET...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2013 at 11:22 pm
SQL Show (8/21/2013)
Can you check this link.
Z'actly!
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2013 at 11:19 pm
weston_086 (8/21/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2013 at 11:17 pm
NM.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2013 at 11:03 pm
CleverSQLUserID (8/5/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2013 at 10:11 pm
jerome.morris (8/21/2013)
insert [dbo].[AlarmDet]
(JobStart)
select
--convert (Jobsatrt (),101)
--SELECT convert(datetime, '23/07/2009', 103)
--convert (datetime, Jobstart,103)
--CONVERT(varchar, CONVERT(datetime, JobStart), 100)
--cast(JobStart as date)
from...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2013 at 7:44 pm
What do you want to do if there are more than 2 funding sources?
Also, since you're new, have a look at the first link in my signature line below. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2013 at 5:05 pm
aykut canturk (8/21/2013)
I have a large table with more than 10 million records and all fields are "string". I import data from csv file once in a month and...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2013 at 4:28 pm
New persopn (8/21/2013)
here i am executing the query "select * from tmp_Brad_Product_Configuration_12months"
while executing this it is taking 25 mins above and it is still executing.
what may be the reason....
--Jeff Moden
Change is inevitable... Change for the better is not.
August 21, 2013 at 4:10 pm
T.Ashish (8/20/2013)
I understood that. And I have read the article you mentioned, its really nice.
Actually I meant this feature...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2013 at 7:07 am
I believe that one of the most important steps has been missed altogether. You must first confirm that the database appears to be slow by logging onto the app/website...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2013 at 7:01 am
The answer is "simple". You have too much data for Express to handle and will need to delete some or move to a different edition of SQL Server.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 19, 2013 at 11:24 pm
The missing months don't need to appear for any of the companies if you use a calendar table or a smaller table with just the months of interest in it...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 19, 2013 at 11:19 pm
The shared drive is normally some pretty expensive high speed hardware. I'd rather put the backups on a simple and much less expensive network share somewhere. A couple...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 19, 2013 at 11:15 pm
Erland Sommarskog (8/19/2013)
REORGANIZE essentially performs a bubble-sort of the index. The pages are not changed, so if a page is only 50 % full, it will remain 50% full.
I'm pretty...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 19, 2013 at 6:39 am
Viewing 15 posts - 26,146 through 26,160 (of 59,099 total)