Time Arithmetic
I have a column named [DateAdded] I am trying to find all records posted in the last hour.I thought putting the following WHERE clause would workSELECT T1.[FAXID], T1.[FilePathTIF], T2.[DateAdded] FROM...
View ArticleHi All,
What are the best practices for TEMPDB recommended by MicroSoft?i have googled for this and got lot of stuff but i did not understand it well.can anyone jot down few best practices which has been...
View ArticleExporting perfmon (get-counter) values to a SQL database
Hi,I would like to capture some performance counters from a few Exchange servers and write them to a SQL 2008 R2 database.I found a powershell script on the internet that can do this (it 's partly...
View ArticleHuge memory utilisation in our production server
Hi all,Please I would like to share with you our serious problem concerning the performance of sql production server that hosting sales Database (about 1.5 GO).DetailsOLAP systemMicrosoft SQL Server...
View ArticleHi
see when we configure Database mirroring,the databases which are in mirroring will be like PRINCIPAL\SYNCHRONISED and MIRROED\SYNCHRONISED\RESTORING states in mirroring.But in logshipping what we will...
View ArticleJoining the same table 5 times to the same column in a master table using...
Hello,I'm using SSRS 2008 to query an Oracle database.I have a master table EQUIP that holds equipment, with the primary key being EQUIP_NO.Another table NAMEPLATE, holds different values under an...
View ArticleSales System Backup & Recovery strategy
Hi All,We have an OLAP sales system runs 7/7 & 24/24 with DB size 1024 MB and more than 400 users connected and it has critical data ( Customers payment, quota, Invoices, sales orders.....).here in...
View ArticleReplication Issues.
if we face replication issue like,DUE TO NETWORK ISSUE,DATA IS NOT BEING REPLICATED TO THE SUBSCRIBER AS DESIRED.Here my question/s are:how do we know that it is due to network issues are preventing...
View ArticleInsert values into a table with multiple select query
Hi,I have a table called MailTo, Below is the structure of the table.To the To_mail column i should insert mail ids from a multiple select queries. Below are the two queires where i get two mail IDS...
View Articledata transfer from one sql server to another sql server in 2005
Hi,Im trying to transfer only one table data from one server database to another server database table.both are in 2005 .Can anyone help?
View ArticleHow do I change the instance root directory?
I should have installed my SQL 2008 R2 instance onto the E: drive but I have it on C: instead.It's just a clean install, how do I move it now to the E: drive please?
View ArticleSql Server Database
Hi All, Bit of background First :So i have been tasked with the set up of a database to manage data validation externally to a system that is already in place.I am not fully sure where to start, my...
View ArticleRecognize the first character of column then insert that value to specfic...
I've this table menu with which I want to save the data in a specific divwhen I press save. the query must recognize or read the first later of primary key likeif its 101. It reads first letter 1 and...
View ArticleI cannot connect to my basic SQL server from Visual Studio Ultimate 2013?...
I just started learning ASP.NET through a book, and it asks to connect to "your" SQL server and explore a .mdf file. I've been trying to install SQL, but I only just now got a working installation, and...
View ArticleSQL Server Connection issues
Hi I've a windows user was able to access the SQL servers before, all of sudden yesterday we had issues with connecting for 2 servers and the errors says Login Failed. The login is from untrusted...
View ArticleSales questions
I am in southern California and have called several times, I am disconnected soon as the IVR answers. I have tried from 2 different phones. Can someone contact me please
View ArticleNamed Pipes Error with Remote Connection Problem for Maintenance Plan
OS: Win 2003 Service Pack I on 2 boxesSQL: SQL Server 2005 Clustered System Situation: I have created a maintenance plan to backup my transaction log every hour. This runs fine for some time and then...
View ArticleSQL Express: Trouble connecting Management Studio 2012 to PC...
I'm currently taking a SQL Server online course offered by the Database Training Academy. I'm stuck at the very beginning where I need to connect SQL Server Management Studio to SQL Server Express...
View ArticleTo know the Login details of SQL 2008 R2
What is this error and how can i Solve this please give me a Quick replyA network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or...
View ArticleEngine database not free resources: ram and cpu
Hiif execute a big process that works 10 minutes,after the process have finished sqlserver not free the resources, and i have to reset sqlserver for free the cpu and ram.And why with SSIS the server...
View Article