Please help: How to report next 6 months' rent
Our accounting department wants to be able to run a report showing the next six months of rent payments due: Bldg 12/2012 01/2013 02/2013 03/2013 04/2013 05/2013 101 2000 2100 2100 2100 2100 2100 102...
View ArticleHow to found objects in rebuild maintainance plane?
We have a rebuild maintainance plane for around 40 selected tables... So how to get the list of those selected tables which are scheduled rebuild maintainance plane?
View ArticleHow to reduce LDF file size and give back free space to OS
Hi, i have 120 GB LDF file size and 23 GB MDF file size,please give me better solution, how do i reduce or clearup those space and provide back to Operating System for its normal Performance.
View ArticleSql Query Help
Hi Everyone, --Please find the attached script for table creation and table values I have the table like below cno cname phonenumber type 1 AAA 1234 P 1 AAA 3456 W 1 AAA 3456 H 2 BBB 5678 W 2 BBB 7894...
View ArticleReplication error of Non logged agent shutdown error how to resolve this error?
hi we are using snapshot replication in SQL agents, we are using SQL 2005. but we have receive below error on replication. i am new to this so any one suggest me what kind of error is this? and how to...
View Articlecpu usage high by Sqlserver? how to become normal??
HI I am a Junior DBA we are using SQL Server 2005, In our Server 32 GB of RAM CPU Processor EM64T Family 6 model 15 stepping 6 Genuineintel-1995 mhz windows server 2003 R2 **But last week we faced CPU...
View ArticleCan we upgrade sql server 2005 to sql server 2012?
hello All, I need experts advised who have already started to work on sql serevr 2012, i came across an article in MSDN stating that "90 compatibility level and upgrade from version 90 (SQL Server 2005...
View ArticleHow to shrink data file in small sizes?
I have data file with 52GB and it have free space of 5GB ... After I ran dbcc shrinkfile('databfilename',0)... It is taking long time to shrink (about 7min) and still running so I stopped it.... So...
View Articleis it possible to track who removed the sysadmin role to particular user?
hi I am using SQL SERVER 2005,We have 5 sysadmin role users are working in MY organization include me. I have a userid login credentials sysadmin role privileges in SQL Server. But My problem is...
View Articlehow to trace last apporach to a table of a database
Hi all, i have an issue to a specific table of a database, Explanation: 1.somebody updated the complete records of a table from the past entries, for finding that i tried to collect the details from...
View Articleaccessing returned values of table-valued UDF
Hi All, Is there a way to access values return from a table-valued function? Sample code: CREATE FUNCTION [dbo].[fn_MyFunction] (@ID INT) RETURNS @return_table TABLE (Col1 int NULL, Col2 int NULL) AS...
View ArticleCan this linear regression algorithm for SQL Server 2K5 be made reusable?
The following block of code calculates the formula for a trend line using linear regression (method of least squares). It takes as its input two columns of data (i.e. a table) representing the x and y...
View ArticleSSIS 2005 connection manager issues
I have a project with about 30 separate Pkgs. Each pkg has 5 connection managers to the same 5 connections. These connections are in a config file and each package is pointing to the same config file....
View ArticleSQL Server 2005 service startup is failed
I have both Sql server 2005 Standard and 2008 Express Edition servers. When i start SQL Server 2005 service, it throws error.(SQL server 2008 working fine) Error : Could not start SQL...
View Articlecode incomplete please help
here is the data Wat i wat is a little strange most of you will undestand from the code > SET XACT_ABORT, NOCOUNT ON;>> BEGIN TRY>> BEGIN TRAN>> DECLARE @Members TABLE (memb_id>...
View Articlequery out in sql server 2005 giving error incorrect host column number found...
please help me in this regard . Im exporting data from sql table to text with format file , but getting the above mention error , same file is used for bulk insert , insert was successfull.. Regards
View ArticleHello I want the output like attachment in sql server........ so help me to...
[link text][1] [1]: /storage/temp/584-new+text+document.txt Hello I want the output like this in sql server........ so help me to make a stored procedure
View ArticleGetting Error while running application on sql server 2005 on win server 2008...
I am running sql server 2005 on windows server 2008. I had .mdf and .ldf file in drive E: which is now showing full(0 bytes free). I also have F: drive(External USB drive) which has a lots of free...
View Articleget field x in database with sql query
i hope someone can you help me: I have 4 table as below: 1/ IMS 2/ Daily 3/ Weekly 4/ Monthly get field X with sql language. X = Weekly::K (relationship la monthly1 = weekly1) K = a1+a2+a3+a4+a5+a6...
View Articlehow to get the value used in SP or Views or Functions or SQL Jobs?
Hi, Another Challenge/New things to learn i have scenario like **I want to list the stored procedures,view,Function ,SQL jobs if used the IP address inside the stored procedure/views/Function/ SQL...
View Article