RIght Outer Join not working as expected
I have selected two record groups (217,244) and want to perform a query that will list all the records, whether matching or not. What am I doing wrong? I cannot get recid=4 to show in the result...
View ArticleIs there a way to get long running SQL Agent jobs information using powershell?
Hi All,Is there a way to get long running SQL Agent jobs information using powershell for multiple SQL servers in the environment?Thanks in Advance.--Hunt
View ArticleUnable to login to sa account
Hi, I inherited database admin duties from a previous employee who is no longer with us. The program currently used is SQL Server Manager and it has a database that I need to back up. Problem is, he...
View ArticleHow to update Junction Table
I have trigger setup on the sql server end, which inserts data into the tables products and prices, however my junction table 'Product_Prices', is not automatically updating with the records, when the...
View Articlewhich index will it take and why ?
Hi, I have a table Employee and i have an index on EmpID on this table. Now i have created a view EmpView on this table. I have created an index on this view for the same column EmpID.Now my question...
View ArticleCalculating fractions of hours from time date range
Hello friends, I'm using sql server 2008 r2 and I have a table called attendance with the following fields attendance_no int attendance_date date attendance_timein time(7) attendance_timeout...
View ArticleTransactional Server Replication
Hi,I created Publisher on instance "A" and Subscriber on instance "A/alternate".Strange thing is that replication copy all tables but without data... Here is a error that occurs, can anybody suggest...
View ArticleAdding numbers from text onto a date
Hi lifesavers!I am writing a report where my people have used a text field to state the number of days for an audit to last.I am trying to develop a schedule that shows AUDIT START DATE + number of...
View ArticleInstallation of SQL Server device client accesses
Hello,Please help me out for the below query.Actually I don't have an idea of User & Device CAL Licenses. I joined newly in a company as SQL DBA but I don't know about the licensing part. So, In my...
View ArticleWildcard certificate in mssql 2008R2
Hello, I have installed wildcard certificate in Certificates(Local Computer)\Personal in sql server. We are using Windows 2008R2 server and 2008 R2 SQL server. Certificate is issued by StartCom. With...
View Articlecolumn store index and table designer
Is it possible to create a column store index using table designer , not code?thankssukai
View ArticleImporting schema+ data using a text file containing sql commands
I have the 2012 SQL SVR Mgmt Studio installed. I received a file--snippet below... from an export of our current DB provider, Advantage. I know I have to edit a lot of commands, but my question is...
View ArticleListing Size of all user Databases in SQL2005
Can anyone please tell me of a way of generating a list of all user databases and their size with one command or view?Thanks,
View ArticleCannot Log in locally to SQL Server 2008 R2 SP2, Can log in remotly.
Hello, Domain Admins has been added to the sysadmin group. My domain account is a member of Domain Admins. I can log into the database engine via Managment Studio from a remote computer however i...
View ArticleHow to find instance name
Hi I just start to learn SQL server now. I am trying to migrate data from oracle to SQL server 2005 using SQL server migrant assistant for Oracle. But I don't know how to fiill this connection...
View Articlehow much memory each instance is currently using during the business day
how to find out how much memory each instance is currently using during the business day?Thanks in advance.
View Articlexp_logevent permission
Hi,I am getting below error The SELECT permission was denied on the object 'ServiceAgent', database 'HOFHUB', schema 'dbo'. The EXECUTE permission was denied on the object 'xp_logevent', database...
View ArticleStore stored procedure values in temp table
I am using stored procedure to get the values but column headers are not fixed..since I am using pivot function.So is it possible to create temp table according to the random header and store values to...
View ArticleSSDT/VisualStudio requirements for SQL Server 2014
HiWhat is the minimum version of SSDT (VS Shell) is required for the creation of BI solutions in SQL Server 2014?I have VS2010 (was installed from SQL Server 2012 installation media) but this will not...
View ArticleExport data using stored procedure to excel
How to export and save data from SQL Server to MS Excel using stored procedure.Thanks in advanceAbhinav
View Article