|
Here's a few of the new posts today on the forums. To see more, visit the forums.
LDF is IDF instead
- The production database has 1 MDF and 1 log file.
The log file extension is idf instead of LDF. Would this...
How to delete any backup files based on CURRENT day in a daily schedule.
- How to delete any backup files based on CURRENT day in a daily schedule.
I create a sql script as follows....
Avoid DEADLOCK for concurrent DELETE
- Hi ALL,
I have a table called Products which has many columns.
It is a temporary table used for reporting purpose. The...
Problem with connecting 2 SQl 2005 Servers
- Hi
I am running SQL 2005 Standard edition under Windows Small Business Server 2003.
Everything, that I need runs just fine from...
Replication and mirroring can be working for New VM server
-
With this new concept, is there any new approach regarding SQL database replication/mirroring in the virtual server concept?
As today, we...
Named Pipes Provider: Could not open a connection to SQL Server [53]
- I am running SQL Server 2005 - 9.00.3042.00 On a Windows 2003 server service pack 2. I have a VB application...
What Windows PerfMon Counters Should be Monitored
- We are using BMC Patrol. What Windows PerfMon Counters should be Monitor SQL2005 by it to ensure SQL is running...
Backup Failed but backup file is created
- Hey guys,
I have an issue with backing up a 80GB database over the network,
Here is the error:A nonrecoverable I/O...
Restore failed for Server. (Microsoft.SqlServer.Smo)
- I have been trying to restore a backup to my test server and keep getting the following error. I am...
Table Level Rescovery/Restoration
- HI All,
Can we restore/recover individual Table in Microsoft SQL Server. As far as i know it is not possible Out...
Partitioned Tables
-
i have one table it contains 30 million records, Now I have partitioned the Table, I could not find much...
How to get the inner XML from an xml element using XQuery
- DECLARE @XML XML
SET @XML = '<root><Books><Book><ID>2</ID><Name>Sql Server Admin</Name>
<Author><Name>Joseph</Name><Age>35</Age></Author></Book></Books></root>'
I have a XML like this; I would like to get the Result as...
Help with Replication between two sql 2005 servers
- Hi guys
I need a little help, I am new to SQL
I have setup replication between two sql 2005 servers internally...
Tip needed - Change Connection on several containers at the same time
- I have a DTSX package that I need to change the connections on for about 30 containers. Is there a...
SQL Task Fails - confirmed Connection and SQL is fine.
- I have a DTSX package that is a copy of another one. There are a lot of import steps so...
Calculate an expression
- Hello, I need help to calculate an expression in sql.
For example I have to send (248/5)*30 to a store procedure...
In a Jam - Need Some Help
- Hello,
I'm urgently working away at this but not able to solve my problem. I'm at the point of needing...
Database to Database Connection - Unsecure?
- Hello, I work for a government agency and I'm trying to implement some automated data pull procedures and I was...
MySQL Forums ?
- I've just inherited some MySQL databases with some problems. Does anyone have any favorite forums ?
Moving data from one server to another
- I have read permissions on a production server and admin rights on a dev server. I am working on a...
Data Verification after a Migration
- Hi all,
We are about to migrate one of our core data repositories (a Data mart of Person & Organization contact details)...
Size of temp db
-
Hi
Is there any effect on performance if I empty the temp db by restarting SQL server,and increase the size...
delete database
- iam unable to delete the database as we are getting error 1222 and delete backup history
how to proceed ?
Testing scenario, physical reads.
- Hello in a testing scenario, I want to have access to the physical reads for every individual query.
With statistics io...
Trace flag 2371
- Hi All
I want to enable trace flag 2371 for update statistics.
The application generates a lot of queries. As enabling the...
What is best practice- load data then transform it, or load as needed?
- I have a loader application that loads rows into a database with one column in the form: aaa/bbb
The end user...
Fragmentation
- Performance Slow.. how do i check the fragmentations, i mean which DB/tables to be reindexed :w00t:
SQL server 2008 query help
- Hi guys im trying to show all the duplicate data from a table how would one do this. this is...
update columns from another Database
- Hi Team,
Am having two databases in one instance, Names are
SCC
SCCL
both are in sync, regularly we are using SCC for regular...
Is SQL Server 2 tier architecture or 3 tier architecture
- Hi Team,
Can anybody please let me know Is SQL Server 2 tier architecture or 3 tier architecture ?
Data Modeling Exercise - To Help Both Performance and Concurrency
- Hello All,
I am looking for your thoughts/corrections/modifications on the following:
I am currently working on re-designing an existing data model. Currently,...
conditional sort in sql
- i have this table
CREATE TABLE [dbo].[HRCandidateProject](
[ProjectId] [bigint] IDENTITY(1,1) NOT NULL,
[orgid] [int] NULL,
[uid] [int] NULL,
[CandidateId] [bigint] NULL,
[FirstName] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS...
Datatype varchar(MAX)
- I am now implementing an update of a large table by looping all the databases in my server instance. Its...
SQL Query help
- Hello
I have attached images with the sample data.
Basically I want to break notes column based on the ItemName coulmn....
get the first and last day of any Year/Month
- Hi,
i have a view with two columns, lets say SpecYear and SpecMonth, both are integer.
How can I build two...
Need help with dynamic sql query
- Hi, I need help with this dynamic query to execute the sql statements but it gives the following error when...
Cannot open database “” requested by the login. The login failed. Login failed for user 'sa'
- Hello I am trying to use [b]SQL Authentication[/b] to connect to a database . I am having extreme difficulties and my...
Find first appointment after discharge from hospital
- I need to find the first doctor's appointment after a patient is discharged from the hospital then, include the number...
how to put my sql request within an application to disaply result?
- Hi i have some request i would like to put them in one application so it's can display all the...
Does the query optimizer make use of transitive equality?
- Does the query optimizer make use of transitive equality? By that I mean if A = B and B = C, then...
Sql server 2008 R2 , Database growth setting
- Hi Friends,
I am observing a around 100 GB growth in the database size due to database growth setting of around...
Installing sql server 2008 in command line
- I am using command line to install sql server 2008 automatically in silent mode.But if i select mixed authentication then...
Need help with a select, insert
- GOAL: insert into tblcompanyassignments from tbluserassignments. Only attempt the insert for userid that exist in both tbluserassignments and tblexistingusers. For...
Virtualization reviews
- i have to Assess server landscape
–Server reviews
–Virtualization reviews
–OS/patch level reviews
can any one help me out regarding Virtualization reviews.
what does it...
What, if any, is the best type of replication for implementing on hundreds of databases on one server?
- Hi all,
We have a 2 node (active/passive) SQL 2008 SP1 Enterprise Cluster that hosts about 500 databases.
Now while the Cluster...
Multiple SQL servers Consolidation to one Single SQL 2012 Cluster
- Hi, Experts.
I have a project which includes different 180 databases on around 18 different SQL servers with different versions (2000,2005,2008,2008...
Declared Variable in WHERE clause weird behavior
- I'm seeing a huge performance difference between two queries that are almost identical. The only SQL difference is in the...
Need help comparing two execution plans
- Hi all,
We're testing an upgrade from SQL 2005 to SQL 2008 R2 in our data warehouse environment. I've run into...
Failed to initialize the Common Language Runtime (CLR) v2.0.50727 with HRESULT 0x80004005
- This lovely error happens frequently when I need to add articles to my transactional replication setup. After making the changes...
Query to list all jobs
- Hello,
We are consolidating servers and I was asked to write a query that returns a list of jobs on a...
Right align Alpha field in msdb.dbo.sp_send_dbmail
- I'd love to have some pointers on this problem. I see postings on the 'net claiming to correct the problem...
dynamic sql- insert (error)
- I am looping through all the databases for a table and trying to insert data into two columns in that...
Log File full / Database Down
- I am a newbie and we ran a script that made our logfile drive go to 100%. We tried to...
Updating specific rows
- I am having a problem, but think I may be making it harder on myself. I need to update a...
Interesting Question in SQL
- Hi Everyone....
I have a table (no Primary Key defined) with some value and I need to create a view on...
How to shrink TempDb
- I have read a few posts on how to shrink TempDb but I am not even sure if "Shrink" is...
Hierarchy example - Ken Henderson's book - not working
- I’m working on the hierarchy lesson in Ken Henderson’s The Guru’s Guide to Transact-SQL. He wants to show two things....
Show all data from four tables joined or matched on a particular column
- Hello all.
I am trying to select computer names from a number of tables and display them ordered. I have been...
Require serial access to table, Stored Procedure, TABLOCKX
- Hi all. Database newbie.
I have a one off requirement to rename all our computers on the domain. (hundreds)
Part of the...
UDF Help
- Hi Guys,
I want to create UDF. Below is my logic. Please guide me where i am wrong.
Alter Function [dbo].[udf_GPList](@EID int,@PID...
Case Statement
- Good Day To All I'm a Newbie so please be patient.
I don't know if this is possible or am I...
SQL Locks
- Hello Masters,
In my new environment of SQL Server 2008, I got an alert from one server "Total_Locks>=4000 ", I checked and...
Query Using Multiple table
- I have two table ACINF and ACPMNTA
ACINF
COMCODE ACTCODE ACTDESC
3305 130000000000 CURRENT ASSETS
3305 130100000000 Loans
3305 130100010000
3305 130100020000
3305 130100090000 Loan to Others
3305 130100090001 Loan to Others
3305 130200000000 Loan to Employee (RHEL)
3305 130200010000 Loan to Emplyee...
Exclude duplicates, keep the value with the latest date
- I'm trying to create a query with multiple columns. The CandidateID column includes values that appear more than once. I...
SSIS error: version number in the package is not valid
- I installed SSIS 2008 (SSIS, SSRS, SSAS....not the database engine) on a server that already had SQL Server 2005 installed...
Sqlserver 2008 R2 Mirroring failed to failover when the primary server got stacked.
- Question:
Sqlserver 2008 R2 Mirroring failed to failover when the primary server got stacked.
Environment: 3 virtual servers: Primary, secondary and witness
No...
conflict resolution in merge replication in sql 2008
- I was working with merge replication and found conflict occurring for the same row update and used conflict resolver component...
Wht components to watch in Replication monitor
- I am working with Merge Replication when I use RM not understanding the usuage of it.Can anyone in simple manner...
how to configure DB Mirroring Endpoints
- I have one System (box)on which I have two databases which are to be mirrored on another instance on the...
Mirroring Strange Behaviour Question
- Hi all
Last night one of our mirrored databases failed over and then failed back automatically. This seems strange behaviour to...
SQL Cluster - Multi Instance
- I have a SQL 2008 R2 Cluster name of say SQLCluster1 on NodeA with an instance name of Instance1 ie....
sqlserver service is not being started
- sqlserver service is not being started.
1.checked startup parametres and all the files(master data and log files,errorlog file) existing in the...
data loss for all published tables by adding article to replication?
- Hi there,
I'm not sure if this is the right forum but I try:
yesterday I added an article to our transactional...
Is database backup in multiple strips faster than in single strip?
- Hi i heard that Database backup in multiple strips is faster than database backup in single file. Then I tested...
database size plannig
- Hi All,
Would like to know what is the correct procedure in planning the database size over the period.
Do i...
Application does not work with named instances?!
- So I just have to ask this because I am a bit baffled and flabbergasted by this situation. In 9...
SQL server SP1 update
- We installed SQL server 2012 SP1, and there is a non security update.
http://support.microsoft.com/kb/2793634
After install this update , where can I check...
SQL installatin SLIPStrem
- I am the first time trying to use the FullslipStream download file to install SQL server 2012. the download is...
UCP and MDW Data Collectors / SQL Jobs
- I have set up MDW and UCP - can someone clarify if the 'collection_set_5_noncached_collect_and_upload' SQL job is acually related to a...
export to flat file is failed
- Dear Experts
I am trying to export data from table to a flat file but this error recured on several fields
Error...
find the status of SQL Services on multiple servers
- I have a scenario where our DBAs and Server team planned for Maintenance, tonight.
We have more than 800 servers that...
Role and Responsibility of SQL Developer
- Dear Friends,
Can any one pls tell about Role and Responsibility of SQL Developer.
And also know about BI deelopment.
I am having...
Run SQL Server Job from Command Line
- Good afternoon,
I need to daisy chain a SQL Server job with an AS400 job (have the AS400 job kick off...
column selection on dynamic basis
- Hi,
How can i select columns of a table dynamically through a select statement if the column name need to be...
Getting printers on a remote PC in a workgroup
- I'm trying to learn PowerShell. So I did a [b]Get-Help Get-Printer -examples[/b] and saw that I can issue the command...
Are the posted questions getting worse?
- Is it me, or are the posted questions getting worse these days?
I just read a post by someone apparently in...
double hop issue for one db server and not for other
- i have report server/iis installed in one machine and different db servers (locally on another machines and in branches ). to...
Deleting the contents of a text file before import
- Hi All,
Is there way to in SSIS to delete the contents of a text file before importing data into...
Use a variable to dynamically specify the table name
- Hi folks,
This is my next challenge: I'm using an Execute SQL Task to run an update. The source and target...
Experiences using Wherescape Red on SQL Server?
- I am struggling to find much content out online so I was wondering if anyone wanted to share their experiences...
Data flow mapping - ETL
- Hi,
I was wondering what do you guys use to map the data flow in ETL. I am looking at the...
How to handle historical data change in SSAS
- I am a novice to SSAS and I was wondering if there is a way to process historical data change...
|