Viewing 15 posts - 5,401 through 5,415 (of 8,753 total)
SQL-DBA-01 (4/30/2015)
Whenever I'm runing query against the below database alone, it throws me the error. Any suggest why this happens?
use [AdventureWorks_2005]
SELECT * FROM dbo.sysFILES
OR
SELECT ...
May 3, 2015 at 4:01 am
Quick thought, it might be helpful to look at the sys.dm_db_index_usage_stats view.
😎
SELECT
*
FROM sys.dm_db_index_usage_stats IUS
WHERE IUS.object_id = OBJECT_ID(N'[SCHEMA_NAME.TABLE_NAME]');
May 3, 2015 at 3:53 am
ramana3327 (4/30/2015)
I have a table in Server A and it has 5 columns. One is Address & ID, CreateDatetime,..
I need to transfer data from this table from Server A to...
May 3, 2015 at 3:46 am
jellybean (4/30/2015)
Hope I'm in the right forum. Apologies if this is off-mark. I'm a little new to SSIS and need a little help.
I'm reverse engineering...
May 3, 2015 at 3:40 am
aprathour.89 (4/30/2015)
I have a shared Sql instance having multiple databases of different Departments.
I have created a login LoginDept1 and given db_owner permission on database Dept1Db
The development team wants...
May 3, 2015 at 3:32 am
MotivateMan1394 (5/3/2015)
OkThe results are equal
and your query has 24 cost in comparition 76 cost of my query.
more over :
the Eirikur Eiriksson's queries are very complete.
Thank you All
You are...
May 3, 2015 at 1:02 am
Quick thought, first of all, I think there is an error in the code as purchase registryid does not match the item id.
😎
SELECT (SELECT SUM(amount) from giftregistrypurchases gps where registryid=gi.registryid...
May 3, 2015 at 12:57 am
Few points
😎
polkadot (5/2/2015)
1) Import the file line by line into a staging table and parse it from there. This method is common when importing multi-document-type files.
The...
May 2, 2015 at 11:58 pm
Here is a partial solution, it matches the city/state but does not remove them from the address.
😎
Sample data
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo.TBL_ADDRESS_WORKTABLE') IS NOT NULL DROP TABLE dbo.TBL_ADDRESS_WORKTABLE;
CREATE TABLE dbo.TBL_ADDRESS_WORKTABLE
(
...
May 2, 2015 at 11:22 pm
Talib123 (5/2/2015)
How long should the latest TLOG backups be kept on tape before the media is recycled. Some suggest 2 weeks. This seems very short to me.
Corruption issues could be...
May 2, 2015 at 2:11 pm
Quick question, are you using Full Text Search?
😎
May 2, 2015 at 1:01 pm
Jeff Moden (5/2/2015)
May 2, 2015 at 12:22 pm
Such reliance on defaults never ceases to amaze me. First thought is ignorance and competence, finding databases on the OS drive when the server has 15K spinners for the data...
May 2, 2015 at 11:58 am
Quick suggestion, use cross tab aggregation, here is an example
😎
-- if temp table exists...drop it
if object_id('TempDB..#exams','U') is not null
drop table #exams
-- create...
May 2, 2015 at 10:02 am
jerald.wilks (5/1/2015)
I am using SSIS 2008 to attempt to send data to a web service. The web service contains complex types which are not supported within Web Service Tasks. I...
May 2, 2015 at 9:03 am
Viewing 15 posts - 5,401 through 5,415 (of 8,753 total)