Viewing 15 posts - 436 through 450 (of 636 total)
Never mind... I found ....
http://stackoverflow.com/questions/14741054/delete-all-indexes-of-specific-database
No replies needed.. The above has the syntax.. COOL 🙂
September 29, 2015 at 8:53 am
Can you tell me how to get to this setting ?
( I mean how to navigate there )
September 29, 2015 at 8:14 am
OK, agreed!
Thanks for the HeadsUp!
Good work....
September 26, 2015 at 7:58 am
Luis, Yes
Reason: EXISTS is just a another subquery that runs for each row that was fetched. Subqueries take time.
The LEFT JOIN will figure out the data set just once (...
September 25, 2015 at 9:22 am
Beleive me, the LEFT OUTER JOIN is faster.
I deal with large tables and the "EXITS" make the query run for hours..
September 24, 2015 at 3:55 pm
Great stuff
Thanks
September 24, 2015 at 10:35 am
Thanks
Ahh.. but you still have to manually go and replace every single quote with a double single quote.
I was thinking whether there was a way to get around that easily......
September 23, 2015 at 5:26 am
Ahhh good point!
>>>>
Are you trying to set the Connection property of the Execute SQL Task or the ConnectionString property of the Connection Manager?
What I believe you want to do...
September 18, 2015 at 10:29 pm
Great! Works Well !
Thanks
September 18, 2015 at 5:33 am
Thank you dear!
Works like a charm!
Good job!
September 16, 2015 at 11:35 am
Sorry I figured out
SELECT
TABLE_NAME,
COLUMN_NAME,
DATA_TYPE,
CHARACTER_MAXIMUM_LENGTH,
IS_NULLABLE,
NUMERIC_PRECISION,
NUMERIC_SCALE, *
FROM
INFORMATION_SCHEMA.COLUMNS A
inner join SYS.tables B
on ( A.TABLE_NAME = B.name )
September 14, 2015 at 12:42 pm
Thnaks This works...
Hoewever can we limit it to showing only tables please. I see that It also lists the views.
SELECT
TABLE_SCHEMA, TABLE_NAME,
COLUMN_NAME,
DATA_TYPE,
CHARACTER_MAXIMUM_LENGTH,
IS_NULLABLE,
NUMERIC_PRECISION,
NUMERIC_SCALE
FROM
INFORMATION_SCHEMA.COLUMNS
September 14, 2015 at 12:39 pm
This is not a duplicate post.
This is separate from the one where I asked for fks
September 14, 2015 at 12:06 pm
Can you put together a SQL statement and using the variable please ?
September 14, 2015 at 10:27 am
Viewing 15 posts - 436 through 450 (of 636 total)