combining multiple rows
Hello,I have a delima, i have a table like lets sayid | data11 this2 that3 stuffi want to be able to return this as one row with the data from data1 in one column inside colons each seperated by...
View Articlequestion on setting up alert
Hello All,I want to set up an alert that sends out an email if a column value of a table is less than some value. Is it possible to create an alert based on tsql? Thanks in advance
View ArticleClarification about MemToLeave on 64-bit SQL Server
Hi all,I am reading a book about SQL Server that states:"The size of the Virtual Address Space on a 64-bit server guarantees that even after thebuffer pool memory has been allocated by SQL Server,...
View ArticleSQL Server backup with INIT options
Hi,Question : Draw back of using INIT option Vs taking the backup first and then deleting the older backup file (in particular SQL Server backup files)There is a great debate in getting the disk space...
View ArticleSQL Server 2012 Express instance not coming up
Hi Everyone, I have made a fresh installation of SQL Server 2012 Express with Advanced Services (SP1) onWindows 2008 Standard (SP2) but when I try to start the SQL Server service,sqlserver.exe goes...
View ArticleSQL Update Based on Date
Hi Experts ,I have Two Tables EMp and Mast Table .I need to Update ADCID of Emp Table with ID coulmn of Master Table where EffectiveDT of Emp Table is greater or Equal to MAstEffective date of MAst...
View ArticleServer 2008 physical database file size
Hi all, I will a SQL 2008 database install on Server 2008i run sp_helpfile for a databaes and it show 200MB for data and 1MB for logbut I look into the directory, the data file is 1GB and the log is...
View ArticleT-SQL Update One Table with Other Table ID based on DATE
Hi Experts ,I have Two Tables EMp and Mast Table .I need to Update ADCID of Emp Table with ID coulmn of Master Table where EffectiveDT of Emp Table is greater or Equal to MAstEffective date of MAst...
View ArticleSQL Update Required
Hi Experts ,I have Two Tables EMp and Mast Table .I need to Update ADCID of Emp Table with ID coulmn of Master Table where EffectiveDT of Emp Table is greater or Equal to MAstEffective date of MAst...
View ArticleSQL 2008 database compression performance degradation
Hi All,I have a compressed database which I'm currently working on, and what I have observed is that after compressing the database, the performance seems to have gone worse, what suprises me is that...
View ArticleSSD disks for the SQL Cluster?
Is it possible to use SSD disks for the SQL Cluster?Current setup : RAID 5 Array SAN for Cluster, Windows 2008 R2 Ent ,SQL2008 R2 Ent , Active passive Cluster setupNow is it possible to use SSD disk,...
View ArticleSQL Server ldf file size
Do we have any recommendation/best practice for sql server transaction log file size. If my mdf file size is 5 GB, what should be the approximate size of the ldf file. Or it all depends on the volume...
View Articlehow to restore particular table from SQL SERVER 2008 Backup?
Hi All,we are maintains the SQL SERVER 2008 servers . in that servers we have 2.5 tb database ,it's backup nearly 1.76 tb .my client request is restore the particular table to another 2008 server...
View ArticleError 3621 Transaction is rolled back when accessing version store
Transaction is rolled back when accessing version store. It was earlier marked as victim when the version store was shrunk due to insufficient space in tempdb. This transaction was marked as a victim...
View Articleinserting data from one table by splitting column-data into number of parts...
Hi ,i am posting so many problems but upto now i haven't get any solution can any one help me to resolve the below problemTable-1CREATE TABLE MASTERT(CODE INT,DRUGNAME VARCHAR(20),ROUTE...
View ArticlePoor performance with a query - what could be the reason
Hi MVPsMy query runs too slow and i did not capure deadlock graph. But i have this information. I have given a snippet only. but there are some 7000+ similar rowsSession IDUser ProcessLoginDatabaseTask...
View ArticleSQL Cluster 2005 virutal ip changing problem
I change the cluster sql Virtual IP after that the SQLserver is not able to bring upit says checkODBCConeectionERRORandSQL Native Client Unable to comlete login process dus to delay in opening server...
View ArticleHow to convert the Geography data into Lat&Lon?
How to convert the Geography Data type data into Lat&Lon?
View Articlehow to split the column data if spaces are not there and store it into new...
hi,i got one requirement i.e we purchased one database , before that we are using one database for application.now in new database the data for column is stored by merging unit+drugname+measure...
View Article