Quantcast
Channel: Forum Getting started with SQL Server
Browsing all 7129 articles
Browse latest View live

SQL Server db_ddladmin

Hi All, I have a user which is in the "db_datareader", "db_datawriter" and "db_ddladmin" DB roles, however when he tries to modify a table with SSMS he receives a message saying:You are not logged in...

View Article


CASE statement in a JOIN\UPDATE statement

I have two statements one for the "BatchNo = 110 case and another for the "not 110" case.  I'm trying to combine these into a single CASE statement but can't get the syntax right. Any help...

View Article


Sql query getting error ....

higuysi am getting error: ORA-00933: SQL command not properly ended 00933. 00000 -  "SQL command not properly ended"here is query.kindly helpselect RECEIPT_DATE from FILETRANS where...

View Article

Is it possible to make Scale Out DB Cluster(for perfomance!! and high...

Is it possible to make Scale Out DB Cluster(for perfomance!! and high availability)  like Oracle RAC by SQL server ?

View Article

sa job owner

HelloWhen we configure a SQL Server we disable the SQL SA user account (security resons). When I create a Job we make the Job owner sa...the job run with sucess, how can this be when the SA account is...

View Article


sqlnexus not able to import trace file genrated by sqldiag

Hi All,I am facing the issue in trace import collected by sqldiag. I already installed the RML utility on my system but still sql nexus not able to read trace file. Please help me to sort out the...

View Article

Restricting tempdb size

Hi,My tempdb sits on a 30GB drive of its own and is currently 29.9GB.I have a backup program which needs 300MB of free space on any drive that it runs on so was asked to restrict the max database size...

View Article

how to create unique row id without using Primary key oy composite key .

how to  create unique row id without using  Primary key or composite key .Deepak Gupta-(Project Manager)

View Article


provider : named pipes provider, error : 40 - could not open a connection to...

I having windows 8(64 bit) on my laptop. yesterday i install visual studio 2010 ultimate on my pc succesfully , which having sql server expess 2008 r2 within it.when i try to create new SQL server...

View Article


display records between 50 to 60

Hi, I have  one table  with 100 recordswrite a query to display the records between 50 to 60?

View Article

Developer Edition used in corporate environment?

I have a MSDN subscription and was wondering if it is ok or not to download, install, and use SQL Server 2008 R2 Developer Edition on my sole developer machine at my place of work without being in...

View Article

Sql Stumper

The following is not valid sql (looks more procedural thinking to me).   I need some help converting it into valid sql.  The SELECT statement is trying to set multiple fields (A.WId, A.MyId) in a table...

View Article

.MDF association errors

I am working with the sample adventure works database and My computer for some reason after I downloaded it associated all .MDF files with Daemon Tools. I have tried associating it with the Server...

View Article


Permissions of only read for all items in SQl Server 2008 R2 not to write or...

Hi Folks,I have to create a user in SQL Server 2008 R2 with only permissions to read, view all the programmabilities only not to execute them, and to view the jobs & maintenance plans not to...

View Article

Image may be NSFW.
Clik here to view.

Where correction is needed in below query ?

Hi,I am very beginner to SQL.I have 2 tables. one is 'Competitor' and another is 'new_competitorimplant' and they are having below fields.'Competitor' ->...

View Article


Help in Sliding Window Partitioning

Hi All,  I am in the process of partitioning a very large Table with 2 billions of records and using the sliding window technique(with No data archival,only loading) The table is partitioned on a date(...

View Article

Resource database bakup

Hi,How to take resource database backup.ThanksShashikala

View Article


Upgrade server version 2008 to 2008 R2

Hi,Could you please help me out to upgradation from sql server 2008 to 2008 r2.Thanks

View Article

How to solve it

I am passing @service nvarchar(50) ='4|7|8'.... and i wanted from @service only 4 7 8 because i want to insert these values in table one by one like..insert into service values(@id,4);insert into...

View Article

DBtime

Hi,I am trying to find the equivalent of DBTime (Oracle) in SQL ServerThis is the time when the connections to the instance are ACTIVE i.e. use CPU, wait for something (IO ...) (Idle wait are not...

View Article
Browsing all 7129 articles
Browse latest View live