update sql server
Dear Microsoft team, please help that we had installed a evaluation version of sql server 2012 enterprises. and we had take a licence of of sql server 2012 standard. But i forget it to change from...
View ArticleRetriev Top to columns of table based on latest date
Hi all,I have the below tableDate Value1/1/2012 10001/1/2013 2000 1/1/2014 3000I need a querry which will fetch the latest two dates and values. ie it...
View ArticleChange the Date Format
I have a column called BusMonth where date is like:BusMonth201402201306201708From this I need to derve a column called season where it should look like:SeasonSP14SU13FA17Basically the idea here is to...
View ArticleHow to create indexed view ?
CREATE VIEW [dbo].[qlk_fact_opening_closing_stock_final31] AS SELECT a.period_key,a.reporting_period_key,a.product_key,opening_stock_unit,closing_stock_unit,std_cost_price,opening_stock_rand AS...
View Articledatabases named with trailing SID
I I have 5 databases visible each named WSS_AdminContent with trailing identifiers like a07991a0f45544d596xxxxxx on 4 of them. What is this , why , and what if anything should I do about it. PS I'm a...
View ArticleStored Procedure Executed Via SQL Job
I have a scheduled job which runs overnight on a SQL2005 server to execute a number of stored procedures to create transactions in one database from transactions in another server/database. All...
View ArticleSQL Database design for gymlog question
Hi,I am looking into making a Project with a weekly gym database.I was wondering what you consider would be the best way to set up my database and my tables. It's a Daily exercise log tracker with...
View ArticleSQL Server 2008 won't recognize copied database
I copied my mdf and ldf file to the cloud server, and the data path is correct. But the database does not show up in management studio. I have done this before between in house servers running SQL2008....
View ArticleUsing Access Form Control as SQL Function criteria
I have a combo box named [myControl] on an Access form that I can use to select/enter a site name (ABC). There is a button on the same form that runs a report. The underlying record source for the...
View ArticleSQL Server Connection over WAN Link
I am planning to setup a BlackBerry server and connect to a remote SQL Server over a WAN link with 150+ms ping time. Is there a known tolerance for SQL server connection latency? For example, I have...
View Articleedit DTS package in sql 2008 management studio
Hi i am trying to edit DTS Package in sql server 2008 management studio, note i found that i cannot find this path Microsoft SQL Server"\80\Tools\Binn\Resources\1033 i can see only Microsoft SQL...
View ArticleUnable to Login
Unable to connect with my SQL server, while installing it does not ask from me the login mode (windows / sql authentication). After complete installation unable to login on local machine. Kindly help me
View ArticleMS Access Upsizing wizard
Hello guys,I am not sure if this is appropriate forum to ask but I have the folowing problem:My client has MS Access database with about 116 tables in it. They need to transfer all tables to MS SQL...
View ArticlePassing Parameter Query from SQL Function to Access Project Report
I can pass a parameter from an Access Query to an Access Report (MDB) by entering [Select Date] in the Query criteria and by placing an unbound control with a control source =[Select Date] on the...
View ArticleHow do I set access 2002 Upsizing Wizard to create clustered-index on SQL 2005
Here is an extract from the Acc2Sql2.doc >>By default, the Upsizing Wizard transfers all indexes as nonclustered indexes. You can modify the Upsizing Wizard to transfer the primary key index to...
View ArticleRemote connection from mobile device...?
Hello, I try to connect the SQL Server from the mobile device.my connection string is:string conn_str = "Server= 10.0.0.11;Database=theDB005;uid=bahadir;pwd=abcd;Trusted_Connection=false;";when i try...
View ArticleError using Verify/Repair methods of SqlCeEngine
I have a compact pc program that uses a sql server database (sdf file).I want to check the database integrity when program starts so I added a call to veriy method of SqlCeEngine.The verify function...
View ArticleDelete values for a range
Hi , I want to delete records only for a given range. Below is the script it deletes the records based on the given MP range.And in this Switch table screen shot i have a switchID and...
View ArticleTransaction log backup job issue...
Currently the Transaction log backup job is stopped, because its giving performance issue. How i need to fix it..
View Article