Viewing 15 posts - 8,731 through 8,745 (of 13,882 total)
sm_iransoftware (1/29/2015)
Most of the result are : PK_ ... ?
Why?
(note that in all our tables , we insert an id column - identical -...
January 30, 2015 at 1:16 am
umarrizwan (1/28/2015)
SELECT @dbid = DB_ID(DB_NAME())
SELECT OBJECTNAME = OBJECT_NAME(I.OBJECT_ID),
INDEXNAME = I.NAME,
I.INDEX_ID
FROM SYS.INDEXES I
JOIN SYS.OBJECTS O
ON I.OBJECT_ID = O.OBJECT_ID
WHERE OBJECTPROPERTY(O.OBJECT_ID,'IsUserTable') = 1
AND I.INDEX_ID NOT IN (
SELECT S.INDEX_ID
FROM SYS.DM_DB_INDEX_USAGE_STATS S
WHERE S.OBJECT_ID...
January 29, 2015 at 12:41 am
prasadau2006 (1/28/2015)
I need help with the following query, this query is taking more than 20mins to complete. I'm using a left join to
pull the data.
Query:
Insert into dbo.SecondTable
Select b.*...
January 29, 2015 at 12:40 am
A quick note: starting a CTE with a semicolon is like starting a sentence with a '.'
January 28, 2015 at 10:52 am
toraghubiz (1/28/2015)
Table emp has five columns (eid(int), mid(int), nme(varchar), did(int), city(varchar)).
Now I need to get the names of all departments having more than...
January 28, 2015 at 10:49 am
DonlSimpson (1/27/2015)
I got...
January 27, 2015 at 8:34 am
atul.jadhav (1/27/2015)
Dear Phil Parkinyes, that's why I created table and have separate Year and Month column in my excel/sql table
please give way
I told you the way. I'm not going to...
January 27, 2015 at 3:53 am
atul.jadhav (1/27/2015)
It seems that your ideal flow would be something like:
1) Process Excel file. For each row:
2) Does row exist in...
January 27, 2015 at 3:12 am
Is there a unique key in the source Excel data?
It seems that your ideal flow would be something like:
1) Process Excel file. For each row:
2) Does row exist in target...
January 27, 2015 at 12:11 am
sm_iransoftware (1/26/2015)
Which search? (select from dmv's or select from taht table)
I have no idea what you mean. Did you check the link?
January 26, 2015 at 5:58 am
sm_iransoftware (1/26/2015)
Then what is the best way to get Unused indexes?
January 26, 2015 at 5:46 am
k.allen.emt (1/25/2015)
Phil,that looks like it would work for data you give to the statement itself.
I'm looking to go through close to 6 million records in leadsdb.leads
not manually do it
There was...
January 25, 2015 at 7:28 am
Try the following:
with data
as (
select PhoneNo = '727-555-1234'
...
January 25, 2015 at 5:40 am
mister.magoo (1/24/2015)
Just click on the "Columns" node in Object Explorer, then press F7 to open the details view...
January 25, 2015 at 5:30 am
ScottPletcher (1/23/2015)
Phil Parkin (1/23/2015)
Steve Jones - SSC Editor (1/23/2015)
ProductId would...
January 23, 2015 at 9:23 am
Viewing 15 posts - 8,731 through 8,745 (of 13,882 total)