|
Here's a few of the new posts today on the forums. To see more, visit the forums.
Full Backup - Restore point in time.
- Hello All,
Is it posible to restore to any time in point in restore. i am getting issues if i have...
How can we secure backup files ?
- Edit
Sorry.. I din't want to ask this question as I had got answers earlier.
Not seeing the option to delete the...
Generate Update statements for an existing table
- [b]Requirement:[/b]
A SQL Script that can be used to generate the 'Update' Statements for a Table which has data
I found a...
Update Recordset with foreach loop
- Hello all, I am very inexperienced with BI and SSIS.
Here's what I am doing, I have an OLE DB...
How to handle mutiple outputs in xml source
- Hi,
I'm trying to load xml data into sql table using xml source, the file has around 6000 fileds. When i...
SQL ADVANCE COPY/MOVE AND RENAME FUNCTIONS
- Dear Experts,
I am kinda stuck into a situation where i am planning to automate one manual process.
On the daily basis...
Plan Usage for stored procedures
- Hi,
I've been running the following script to capture plan usage stats.
[code="sql"]SELECT DB_NAME(st.dbid) DBName
,OBJECT_SCHEMA_NAME(st.objectid, dbid) SchemaName
,OBJECT_NAME(st.objectid, dbid) StoredProcedure
,MAX(cp.usecounts)...
SSIS Script task to change table name in data flow task
- Hello,
We need to change the table name of 'OLE DB Destination' task.
I am not able to use variable due to...
Issues With DB2 CHARACTER Field Source - SSIS 2008
- I don't see a forum for SSIS 2008, so I guess I will post here??
I have an OLE DB connection...
Creating Header AND Footer to a flat file destination file
- Hi Guys,
I am working on a financial project; the requirement is interface flat file should not contain any duplicated arrangement....
Test results report
- I am trying to generate a report showing which questions were missed on an online test for a given student....
Logical consistency error
- Hi,
Often am getting logical consistency error in one my production server. Recently i did DBCC with allow dataloss option, to...
Does Change Data Capture require a table have a primary key
- or can it record before and after column changes based on the LSN only?
An extract from a file based legacy...
Bulk Inserting Comma separated Quotation Delimited text file
- I am receiving a text file with comma separated data with quotation marks around certain fields that I need to...
four part naming not woprking
- select * from linkedserver.database.dbo.table where 1=2
Returns:
Non-interface error: Invalid schema or catalog specified for the provider
how can we get around this?
Thanks
Database Data File Physical Fragmentation From Small Auto-Growth Setting
- To All,
I need some advice. I've just started a new job and one of the first problems I've encountered is...
Problem with using SQL Server linked server to MySQL database
- I have a MS SQL Server that does a lot of data manipulation and staging and then I need to...
Transaction log SHRINK
- Hi,
There's been lots of posts about shrinking databases so sorry to tread over old ground but I have a fairly...
SQL Security Best Practices - Dealing With User Name Changes
- Are there any Best Practices from Microsoft or anyone else on how best to deal with SQL Logins & DB Users...
Multiple outputs from XML Source
- Hi,
I'm trying to load xml data into sql table using xml source, the file has around 6000 fileds. When i...
SQL Query
- Hi,
I have an issue with the SQL query I have created. The result that this query should generate should be...
what is Scalability of Database
- What is scalability of a database.I have googled it but I didn't get exact answere.
Local System Account=fast, domain acct=slow
- I am an ERP software specialist.
I have installed SQL Server 2008 R2 at several sites and generally have MSSQLSERVER service...
Replication without need of Snapshot
- Hi,
I hope someonecan help me with this.
We have a production server with a VLDB on it (~ 7 Billion rows, ~ 4...
Passing Object Type Variable to Child Package
- Hi Friends,
I am deriving a result set in a parent package and I have to pass the same to the...
Question about Optional Parameters in Stored Procedures
- Is this the standard way to deal with optional parameters in SP?
[code="sql"]
CREATE Procedure AddMonth
(
@EnterMonth as int,
@product int = null
)
AS
INSERT INTO X
SELECT...
Trigger Help
- Hi, I want to create trigger when i fore below code it should keep track of it..
SP_CONFIGURE 'SHOW ADVANCED OPTION',1
RECONFIGURE
go
SP_CONFIGURE...
How to rename the file on the base of the query output in SSIS
- Hi All,
I want to rename the file on the base of query output in SSIS.
Example:
File name: report.txt
Query: Select MAX(Batchlog) from...
SSIS Packages - Best Practice
- Folks,
I'm new to SSIS (2008 R2), and I've developed a handful of packages and want to know if I'm "doing...
DB Block Size
- What is the recommended block size of operating system on dss systems?
Also what is the recommended block size of oltp...
Index rebuild fragmentation criteria confusion
- There is tons of info regarding selective index rebuild/reorganize (with magic numbers 10-30%) depending on output of DMV sys.dm_db_index_physical_stats. But...
No Targets Found (policy Based Management)
- I have successfully configured a Group of 2 servers in Central management . when I evaluated 1 policy against that group....
Cannot login to Analysis Services 2008 from SQL Server Management Studio
- Last week I installed SQL Server 2008 developer edition with service pack 1 on windows 7 Home Premium. Before install...
Using a function on SELECT error
- Hello comunity
I have create this function to return total pairs:
CREATE FUNCTION [dbo].[fnQtRefCor]
(@bostamp varchar(25), @ref varchar(20), @cor varchar(50))
RETURNS int
AS
BEGIN
DECLARE @retval int
SELECT...
SELECT vs INSERT INTO
- I've been searching for pointers on SELECT..INTO vs INSERT..INTO around forums and the web and haven't been successful yet. Basically,...
Flattening a Parent Child Hierarchy
- Hi,
We are starting work on a BI project that is given data in a traditional Parent-Child Hierarchy format.
The Problem is...
ORDER BY non-sequential number sequence
- I have a table where a certain column contains a status id as an integer. I want to sort on...
Create Table and Bulk Insert
- Hi guys,
I have a .csv file wich has the following information (exactly like this):
List Name: User
Format Version:1.2.5.0
Date:12/11/2012 12:00:34...
SQL job error
- Anyone have any idea why I receive this error on SQL job?
Step ID 1
Server SRIN_SVRA
Job Name 1 Year Backup Maintain BDSBPM.Subplan_1
Step Name Subplan_1
Duration 00:00:34
Sql Severity 0
Sql...
how do I know files are backed up in tapes
- We have maintenance plan setup for back ups.
But we also have tape backup for the backup files.
My question is from...
SQL Server Not Using All Allocated Memory
- I am running SQL Server 2008 R2 on Windows 2008 R2 enterprise Edition with 64GBs of RAM. I have set...
2008 R2 SP2 Install fails with no messages
- I'm installing SP2 on my 2008 R2 servers and it has gone well for the most part. However, I have...
Report Parameters Selected Shown in Report and/or Footer
- Hi, I'm reasonably new to Reporting Services and still learning so A) bear with me and B) please excuse any...
Conditional joining of Table A nested ID/heirarchyid to table A or B?
- It's been a long time since I've dealt with complex database design, and in this case, I'd like to ask...
Script Component and Querying Database
- I need help understand how to use the Script Component to create a connection to the database, submit a SQL,...
Extract only numbers from string which contains special characters too
- Hi,
i have a column called phone numbers whose datatype is varchar(50) that means it contains integer values, string values, special...
logging output from Execute T-SQL task
- I have a Execute T-SQL task which purged records from table. I would like to record in a log file...
|