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

database files on network shares

can anyone tell me (a non-DBA), of any specific risks in placing database files on network shares on a windows server (2008 R2). I have read its a bad design, but unsure why, or what problems such a...

View Article


check which group the user belongs to

we  do get incidents saying user can't login even adding to the group.So is there any script to check which group the user xxxxx belongs to from SSMS?

View Article


Indexing script.

Hi All,Can someone please help me, I am in need to generate script of all the indexes in a particular database in the format "if not exist ....create index" format.I tried to google this I get for...

View Article

StarWinds vs. W2K12R2 iSCSI server

I'm setting up a cluster to test a new deployments of SQL2K14 on a WSFC cluster (W2K12R2).Can anyone recommend Starwinds VS. the built in iSCSI service?Will either one allow me to build a cluster...

View Article

How can I run a SQL job every 1 second?

I have an SQL Job which processes minimum amount of rows at a given time. Currently its running every 10 seconds which is the minimum available in Job Scheduler. But because of that the table used...

View Article


Iso-files for SQL2012 Standard or Enterprise

Hi there,next week I got to install a SQL-cluster for a customer. The customers got enterprise licenses but only sql2012-standard-ISO-files.As far as I remember I need enterprise ISOs for installing...

View Article

Any tips or experience with Prove it! SQL tests?

Hello, I am new to SQL, I have a job opportunity using it and I have learned a lot within the last three weeks. I have SQL 2008 installed and I can create databases, tables, search, etc.I am going to...

View Article

Error in instaling SQL Server 2012

Hi,I m getting error during installation of SQL Server 2012 on my Win 7 32 bit laptop. I have pre-requisite Microsoft  service pack 1 and .net frameworks 1.1 and 4 too.  the error encountered during...

View Article


MS SERVER 2003

I bought MS SERVER 2003 on December 23,2007. I have legal licence agreement No.43246681 and Licensee Authorization No. 63237527ZZS9012. Presently I have lost my media (CD) and I wanted to re-load the...

View Article


sql server developer cannot install, long file names

hi. a blind it developer, and needed to install sql server 2014 developer 64 bit, and did uinstall sql server express. a it student and needed to import data into a table, but said I needed the pro,...

View Article

Is there any solution for this situation ?

Hello !I have a server where I have installed SQL server 2008R2. I get internet from an ISP that has given to me a Dynamic IP address . ( the ISP can give also a static IP , but this will be a static...

View Article

How can I create a user with minimum privileges through SQL command?

I have a database for which I need the permissions to execute stored procedures, perform CRUD operations on tables, execute functions and SQL jobs. What should be the SQL command if I am to create a...

View Article

A Query on MS SQL

Hi, i would like to get help writing a cross join query:one table: Cities(City_name, X_coordinate, Y_coordinate)the result should be all combinations without reverse column returns SELECT * FROM...

View Article


Fastest way to pad a field with zeros

I have field seq in table aatest. aatest is wide and can have several hundred of million rows. seq is not varchar(5) and already padded with zeros. Now it is changed to varchar(7) and needs to be...

View Article

tempdb maxing out drive

Hi,I have tempdb on a drive of it's own. It is setup with 3 primary files and a log file.Lately it has maxed the drive. I shrank it once but it's done the same thing. Currently it's taking up all but...

View Article


Why can't user with SQLAgentOperatorRole delete his own SQL jobs?

I created a login and a user. I assigned the user as the db owner of the database "test". Then I granted him the role SQLAgentOperatorRole so that he can delete/create/modify the jobs belonging to the...

View Article

How to avoid Shrink file or database, what is an alternative way of doing this?

Hi experts, I am having DB with 4 ndf and 1 Mdf, In properties1.MDF- Intial Size 5GB and Autogrowth 5GB2. 5 NDF- Intial Size 20GB and Autogrowth 5GB.So we are using the template and creating DB's.S o...

View Article


Finding logins that have GRANT CONTROL and GRANT VIEW DEFINITION

Have a certificate and symmetric key that i have used the following to GRANT to logins. How can I find out which SQL logins have the GRANT CONTROL and GRANT VIEW DEFINTION?GRANT VIEW DEFINITION ON...

View Article

Filter in attachement of SP_SEND_DBMAIL.

Hi All,I'am working on SP_SEND_DBMAIL to send a mail with attached XLS sheet and I want apply filter on header of the XLS sheet and expand them. Could someone please help me out in doing this?Thanks in...

View Article

File group is running out of space

Hi!I am currently SQL admin since our ordinary SQL folks are at summer vacation.Yesterday SCOM alerted that File Group is running out of space on one not so critical database "The file group "PRIMARY"...

View Article
Browsing all 7129 articles
Browse latest View live