SQL Server 2012 AdventureWorks database attachment issue
Hi Folks,I have SQL Server 2012 installed on Virtualbox, and I have downloaded the AdventureWorks2012.mdf and I am having trouble attaching it with SS Management Studio.I copied the file on to a USB...
View ArticleCommand "ShowSqlServerObjectExplorer" is not valid
I am getting the message: Command "ShowSqlServerObjectExplorer" is not valid when I start SSDT.History: Installed VS2012, then service pack 4, then added SSDT-BII can click through the dialog, and then...
View ArticleI just downloaded SQL Express Server 2012 on my Windows 7 PC and...
I just downloaded SQL Express Server 2012 on my Windows 7 PC and...it says it installed correctly.1) I have two links on my "Start Menu" All Programs link: one is SQL Server 2012 and SQL Server 2008....
View Articlestored procedure
hi below procedure is for update or insert.but everytime it inserts new row with previous row data and updated one not updating existing row.ALTER PROCEDURE [dbo].[sp_WorkStatus] -- Add the...
View ArticleDeleting records from child to parent table
I have ran into a situation where i will have to delete all the records of the child table and then the records of parent table and i was able to write a query to get the column,table both for...
View ArticleTroubles Exporting SQL databases from Azure
1. If I connect via SQL Server Management Studio and choose Export Data Tier Application to local disk, it never ends 2. If I export via Azure web portal, it takes few hours 3. The only way that works...
View ArticleServer Error In '/' Application - Login failed for user xyz ...
Hi, I'm brand new here I would be ever grateful for help on this. It's probably something simple.I'm coding a website in C# ASP.NET (http://project.arcza.net). There is a registration page where you...
View ArticleSQL Bulk Update using Update query in SQL Table
Hello All,I want to update data in sql table depends on some condition. I am getting excel sheet from client and want to change value of field say Status = c.Client is sending excel sheet with 300...
View Articlequery to select only Y values , if all are Y, say All
Kinldy provide me the query select * from FILTER_UserCREATE TABLE [dbo].[FILTER_User]( [UserName] [nvarchar](128) NULL, [Is_Member] [char](1) NOT NULL ) INSERT INTO FILTER_User (UserName, Is_Member)...
View ArticleRunning sql job type {Operating System (CmdExec) as my account
how can i run Running sql job type {Operating System (CmdExec) in sql as my account?k
View ArticleMicrosoft Virtual Labs - NOT WORKING
I'm seeking forum's help assuming Microsoft keeps an eye.Issue: Virtual Lab is not working and is not in synch with the materials.Reproduce the issue.1) www.microsoft.com/sql 2) Click "Try" tab 3)...
View ArticleTroubleshooting Memory
Hi allWhen troubleshooting what I suspect is memory pressure, which performance counters would I look at together?I've been advised that just using PLE is not enough and that it needs to be used in...
View ArticleSQL Server 2012 + report builder - edition question
Hi,I need to implement small solution of DWH and reporting above it.I need to buy cheapest edition for that and my question is1a) Is it possible to have SQL STANDARD edition + SSRS reports + report...
View ArticleDUPLICATE VALUE
Hi,I have this column A, B, C, D...A B C DFW BASKETBALL 20 2012/04AP...
View ArticleData type conversion issue
Hi guysI exported some data from a text file to sql server. Here is the sample data.. This table has about 2 million rows.There is a date field in the table which comes as a 'nvarchar' in sql .When i...
View Articledatabase maintenance for sqlserver database to improve performance
In our company sqlserver 2008 R2 is working as a project server database.I want to know commands for database maintenance.Please let me know all command in order which i need to run in sqlserver for...
View Article2 sql server alerts.How to fix it? Thx.
Path: test1.tu.localLast modified by: SystemLast modified time: 1/15/2014 11:11:11 AM Alert description: D:\MSSQL\Data\tes1.NDF:MSSQL_DBCC10: Operating system error 665(The requested operation could...
View ArticleIs this message realy or scam ?
I recived an email from Microsoft Award Team , tell me I won a prize money of Five Hundred Thousand Pound for the New Edition 2008 Lottery promotion which organized by YAHOO LOTTERY INC & WINDOWS...
View ArticleHow do you Select data from two tables with similar data amd merge the output...
I have two Tables containing Sales Data. I want to read the Table a sort by date and accumulate dollars by order date. Then I want to read the second table and accumulate these dollar amounts by date...
View ArticleDatabase restore from backup--miss some transaction log backup files.How to...
One database with full recovery modelit runs full backup at 12:00 am on 1/1 one time.Then transaction log backup every 3 hours. 3:00 am, 6:00am,9:00 am, 12:00 Pm, 3:00Pm,6:00PM,9:00pm,12am......If we...
View Article