Licennce key in asp.net
I am thinking of implementing a good licensing mechanism that has a good resistance against piracy in the asp.net platform. The required mechanism should use a licence key and the licence key must...
View ArticleCan we store procedure in a folder in text file using SQL QUERY
I want to create a folder in D drive and give folder name as current date. After that create no. of text files based on how many procedure are, text file name will be same as procedures name and...
View ArticleAX Invoicing Job Fails
Hi,My AX application has an invoicing job. If I restart the database, then run the job through my AX application it will complete almost instantly. However, if the database is left running for a while...
View ArticleIndexed views
Hi everyone,Say suppose I have created an indexed view.(view with schema binding and then created an unique clustered index on it)Now, the view occupies disk space right?So, when the original base...
View ArticleDefault date display format in Microsoft SQL Server Management Studio
How can I change the default date display format in Microsoft SQL Server Management Studio? test
View ArticleDifference between merge-Not matched and left outer join
Why should Merge-Not Matched be used instead of left outer join? I believe both will enable comparison of 2 tables. So what is the difference. Please advice.mayooran99
View ArticleHelp with function
Hi everyone,I am looking to call a function in my select statement that will grab information from each row, and return an appropriate email address based off of this information. I need to do this...
View ArticleMSSQL 2008 R2 SP1 failed to install
Overall summary: Final result: The patch installer has failed to update the following instance: MSSQLSERVER. To determine the reason for failure, review the log files. Exit code...
View ArticleIndicator using timestamp
Hi, I have data as below, I want the indicator to be displayed by using timestampsId task_id tsk_complete_ts task_due_date Id_end_ts tsk_indicator id_indicator50...
View ArticleIs it possible to trigger an error so that the running stored procedure is...
Hello all,I want to run an existing stored procedure and then I want to manually trigger an error/abort/interruption so see what happens and do some testing with that.Is it possible to manually trigger...
View ArticleDeletion of data within the database tables
The user is trying to clean up the 2014 data within the database tables. He is running a delete function which keeps causing the log files to exceed their limit. The tables are large and he is unable...
View ArticleCREATE DATABASE with data file and log file in query pane
I ran the below code and got this error message. Can someone help me fix this.CREATE DATABASE project ON (Name= 'project_dat', FILENAME ='C:\project.mdf', SIZE = 10, MAXSIZE = 100, FILEGROWTH = 5) LOG...
View ArticleDate in where Clause
I have a table which has date column. I would like to run the query which will pull the data for last 7 days.Date format looks like that : 2015-01-05 10:58:16000Not sure why my query not workingSelect...
View ArticleCannot install Adventureworks 2012 Samples Databases
Hello!I just installed SQL Server 2012 Evaluation on my machine but I am having difficulty installing Adventureworks Samples.Here are a couple of things I have done: 1. I ran this query (the path is...
View ArticleStop a job vs Disable a job
I'm confused as to the difference between sp_stop_job vs disabling the job by setting enabled to 0. At first I thought it was the same thing.Now I'm thinking that stop_job applies only to jobs that...
View ArticleData retrieving and storing efficiency of SQL SERVER 2014
I want to know more about the efficiency of SQL SERVER 2014, that how many queries can be Processed with in a sec to store and to retrieve the data from database. well in context I'm working on a...
View ArticleHow to get the record insertion rate in sql?
I have a table to which insertion and deletion are happening. I need to analyze the performance and for that I need to know at what rate records are getting inserted and what rate they are getting...
View ArticleCannot login to management studio after change my domain
Hello guys, I am new to sql server. I'm looking for answer to my problem. btw this is my first experience with sql.Here is my situation:sql : sql server 2012 standardmachine : windows server 2012Login...
View ArticleSpilt the data into columns
hi , How to spilt the below Data into separate column is delimited with SINGLE PERIOD. If the data is not available between the periods I want the NULL to...
View ArticleAvailable Disk Space
Hi,I need to install a new instance of SQL Server 2012 on one of several dozen Windows 2008 Servers. All of those Windows Servers already have 2008 R2 SQL Servers installed.But I don't know which one...
View Article