Backup Error
Hi All, several month ago I suddenly have a strange problem. In the middle of a backup, I get an error that the media is write protected. Error reported: The media is write protected. operating system...
View ArticleInterfacing SQL 2012 Express with Visual Foxpro Tables
Hi!I have started my development: I have tried using the Import and Export Wizard 32 Bit.When I select the Microsoft OLE DB for Visual Foxpro, and click Next: I get the error "Invalid Path"If I click...
View Articlelooking for a hosting
Hi all:I use several User defined table type for passing table values to some stored proceduresI also use TVF I have 3 databases. I call 1 of them as databasename.dbo.tableDo u know a hosting that...
View ArticleHow to get Running Process in Sql Server along with Name
HelloI have following querySELECT COUNT(*) FROM (SELECT DB_NAME(dbid) as DBName, hostprocess, loginame as LoginName --program_name FROM sys.sysprocesses WHERE dbid > 0 and...
View ArticleHow to group by an aliased field?
Hi thereWhy the following SQL clause is not working for the MS SQL 2012 (BTrieve is Ok with it):select a, b, 'Hint: Processed '+a as Hint, Sum(s) from MyTable group by a, b, HintThe error message is...
View ArticleCreating a query to copy a database in MSSQL 2003 - not working!
Hi, I'm creating a query with Coldfusion that is supposed to copy a database with MSSQL 2003, but is not. It works when I run it on my test system, which is MSSQL 2005. But for some reason, not...
View ArticleRetain changes made in the Grid View with Paging
Consider the situation where the Grid View is having 2 Columns and 30 rows which display 10 rows per page. Here all the fields in the Grid View are Editable Text Box. We can make whatever...
View ArticleUnable to shrink tempdb in 2005
The current database size as displayed by sp_spaceused is 23398.51. MB and unallocated space is 22245.69 MB. dbcc shrinkfile does not shrink this file. Also Management Studion shows the size of 1024...
View ArticleRestore only one database from SQL database backup file
I have a SQL Database backup file which holds a set of databases. How can I restore only one of them ( extracting from the backup file ) ? I use the Management Studio to do the restore but it fails...
View ArticleGrant permission
Hello, How do I grant the permission to my windows account that I log on ? I am unable to find a working command for that..thanks
View Articlestart-up Error (ssms/resetseting)
Dear All,I am getting Error in sql start-up Error is Like : ssms.exe/resetseting Please help me out!!as per require i attached the screen shot !Please Please !!Thanks . Rajesh Kumar email-Id...
View ArticleHow to restore the latest backupset in sql server 2008
Friends, Server: Win2k3 DB: Sql server 2008 Ent. Edition Client pc: winxp sp3 & Sql Server 2008 Dev. EditionDaily i am taking full backup from server and i am restoring it in my local pc.i am using...
View Articleinstalled SQL 2012. When i open using SSMS - it still opens the SQL2008R2...
since i installed sql2012 - it should open 2012. how can i update it?
View Articlequery formation
HI This is senthilraja working in TCS. I'm new to SQL. kindly help me in framing a SQL Statement for below scenario.I have 2 tables and would like join both the tables.. Below u can find the statement...
View ArticleUpgraded from Windows 8 to Windows 8.1: Now SQL Server 2008 & 2012 Cannot...
Both instances of SQL Server Developer were working fine until the Windows 8.1 upgrade. Is uninstalling & reinstalling the only & best solution?
View Articleperformance of a query
kindly let me know which query is better in terms of performance out of the below said 2 query. Both the query gives the same output Query 1 Select a.BT_TYPE,a.appln, max(Case when A.BT_TYPE =b.Field...
View ArticleSelect as Login counter for sessions in a period of time
Hello all,I have a SQL database and there is a table with all login sessions (with beginn and end in UNIX timestamp).I now try to find a select query or something to count the logins in a period of...
View ArticleIO Timing problem
Hi. I have real problem with getting right "Write time" statistics. I'm trying 2 different approaches: 1. base on dm_io_virtual_file_stats and io_stall_write_ms column 2. base on @@IO_BUSY...
View ArticleSQL Licensing - Processor, Multiplex of Device CAL?
Good day,We are a Certified Microsoft Partner that develops SCADA software which is used to collect data from any number of field devices (from one or two, up to the thousands), parse that data and...
View Article