trim value in column
HiI need the values as below using select query of my column.I need to find the text after the first space ' ' and before the first '('Source Column ================== 0636 KAVITHI (LOC) 0638 SRI...
View ArticleCount Distinct Issue - Basic
Hi Team,I have the below table structure.DECLARE @table Customer (Order_date DATE, Delivery_date DATE, CustomerID VARCHAR(5)) INSERT INTO @Customer (Order_date, Deliver_date, CustomerID) VALUES...
View Articlenested sql sorting
I have three fields as below: f1 f2 f3 b x 100.22 c y 150.15 a x 240.35 a y 130.25 b y 789.34 c x 199.89 I want to sort them like this: f1 f2 f3 b y...
View ArticleTrim to a \
Have table with a list of documents and their location in it, need to get just the document name (have over 64000 docs). Table looks like:\\Shared\db\A1\A1-422\EMAILDOC.000.HTML...
View ArticleCan I attach a 2005 database to 2008?
Hi, I have a bunch of database mdf's and ldf's that was running on 2005. Can I attach these to an instance running on 2008 without any problems? Thanks,ryan
View ArticleUntangling Sql Server & get my environment up and running
Please help1. I installed Visual Studio 2015 (from the Community section on the website) for Win8.1. As far as I am aware, it installed correctly. (It looks like a beast and doesn't resemble VS2005....
View ArticleAutomatical Performance Testing in SQL Server
Is it possible to make a automatic performance testing in SQL server in the production phase? When data in the database increase you need to gain feedback in proactive approach. I would like it do...
View ArticleAn error occurred in the Microsoft .NET Framework while trying to load...
Hi Team,I am facing below exception when I try to run a stored procedure,An error occurred in the Microsoft .NET Framework while trying to load assembly id 65536. The server may be running out of...
View ArticleHow do i take backup of last 20 days, or last 2 months
Hi,How do i take full backup of last 20 days transactions, and i can use that backup to restore those 20 days transactions. Can you suggest if that can be done?Thanks,AD
View ArticlePrimary keys and joining tables
I've created a table called Employees with a primary key called EmployeeID. The table contains EmployeeID, FirstName and LastName columns. I now want to create a table called Team which will contain...
View ArticleVerifying column definitions across tables and views
Let me explain in simplified terms. We have an ETL process: 1) download data from the iSeries table Cust into SQL table Cust. 2) Tran_Cust is a view created FROM Cust 3) Copy from view Tran_Cust to...
View ArticleHow to export certain columns from a SQL table out to CSV file
Hi allI have a requirement to export data from a SQL Server 2012 table, to a CSV file. This needs to be done either every hour, or ideally if it is possible, whenever a new record is created or an...
View ArticleMS SQL server 2012 not installing on windows 8 enterprise edition
I am getting below error message as soon as i execute setup. Microsoft SQL Server 2012 Service Pack 1 Setup The operating system on this computer does not meet the minimum requirements for SQL Server...
View ArticleCopy Schema
I want to copy a large DB schema to make changes for testing, but do not want any data.
View Articlehow to review somone else's code
I am looking at a SQL Query someone else set up. He used join statements but it doesn't say whether or not it is a inner join,outer join, left join, or right join.I also have not gotten a license to...
View ArticleMaximum row count of given table in SQL 2008R2 spannign across filegroups
I understand that SQL server 64-bit systems have upper limit on the filegroups (32K) per database. Given that a table can span across multiple filegroups, is there an upper limit on the number of rows...
View ArticleHow to get single table while using WHILE loop??
I was writing a query to get the age and the retirement year for all the employees.And thought of using while loop so that I don't have to write IF conditions or case statements for all the ages.I'm...
View ArticleAll in one media keyboard in windows 10
hi all,I bought Microsoft All in one media keyboard for the using new touchpad tech on Windows 10. (The computer also surface 3 pro.)I can scroll pages and etc. with keyboard's touchpad but not useable...
View ArticleAn Error Occred to load the Crystal Report Runtime
Hello Dears, I Have Using server 2003 on sql server management 2005.Client System is win7 64 bit Using. I have View The Any Report Using software Error Occured "AN ERROR OCCURED WHILE...
View Article