waTCH** Brazil Vs Mexico FIFA World Cup 2014 Live Streaming Online
[b][url=http://w.atch.me/SlCcU3]Watch Fifa World Cup 2014 Cup Live Stream PC, Smartphone or Tablet[/url]The 20th Fifa World Cup heads to Brazil between 12 June and 13 July 2014 – and the five-time...
View ArticleSelecting Records Based on Date
So let's say I have a table Orders with columns: Order# and ReceiptDate. Order#'s may be duplicated (Could have same Order# with different ReceiptDate). I want to select Order#'s that go back 6 months...
View ArticleIs a SQL View the fastest way to manage multiple count fields, or does SQL...
I need to do lots of filtered counts, similar to the counting done on Ebay or Amazon. eg. Cars(34500), Car Colors - Blue(3000), Red(2000), Silver(5000) ..... etc.I have my standard count query:select...
View ArticleGenerating Auto Relationship
Hi Team,I would like to create a auto relationship between tables.Currently i am using Northwind DB with tables (Orders, OrderDetails, Customers)Orders ( OrderId,...
View ArticleSql Trigger Question on existing table - will an insert trigger populate the...
Can you create a SQL Trigger on an existing table to populate count values, or do you have to create an empty table, then create an Insert trigger, then import the data into the new table with the new...
View ArticleTransaction rollback when multiple threads are inserting records into table...
Hi All ,I have two tables called ECASE and PROJECTIn the ECASE table there is trigger to get the max value of case_id column in ecase based on project and increment one to that case_id value and insert...
View Article“LOGIN FAILED FOR USER ‘NT AUTHORITY\ANONYMOUS LOGON’” WHEN YOU RUN AN SSIS...
i researched my issue and found the below link. I don't want to use a sql job. I'd rather now hard code the sql login the in the proc either. Does anyone know if this issue has been addressed by...
View Articleview to physical table options
Hi,I have a view which select some few columns from multiple tables with where clause and have 5 unions of different category of data.For the best performance i need to change this to physical table or...
View ArticleHow to: Bulk import xml to table
Anyone has any suggestions? ^^I found loads of things but nothing seems to work...I'm trying to get a link with XML data inside the page into a table but I can't find anything
View ArticleDBCC FreeProcCache
Hello,My knowledge of SQL is very limited. One of our old co-workers ran DBCC FreeProcCache on our database in a test environment. I am not sure what impact it had but every time we login to our...
View ArticleRecursive family, but how?
Hi,I have a family table and would like to group all related members under the same familyID. This is a replication of existing business data, 14,000 rows. The familyID can be randomly assigned to any...
View Articlesuggestions on one to may relationship in the data processing
Hi all,I need your suggestion on below program developmentI have a scenario where one partner can have multiple competency like Grade A,Grade B or Grade C and Grade AB,Grade BC etc.I need to pull the...
View ArticleHow can I return a bitmap image from a custom assembly to an SSRS report?
I am using the QRCode4CS class ([url=http://qrcode4cs.codeplex.com/releases/view/74015]http://qrcode4cs.codeplex.com/releases/view/74015[/url]) to generate QR codes.I can use the following code to...
View Articleloop and query CSV files in a folder using union all query to form resultant...
Hi,I am trying to run a UNION ALL query in SQL SERVER 2014 on multiple large CSV files - the result of which i want to get into a table in SQL Server. below is the query which works in MSAccess but not...
View ArticleGenerate column numbers using dynamic SQL and pivot command
I have the following SQL which i want to convert to a stored procedure having dynamic SQL to generate column numbers (1 to 52) for Sale_Week. Also, I want to call this stored procedure from Excel using...
View Articlecursor problem. not working properly
I am having problem with my script. at first time, it runs fine, but when second time, when their is no data in schema ABC tables, it still make change to original schema tables. here is code. I think,...
View ArticleWhy don't bulk imports TABLOCK by default?
I've been reading about the "table lock on bulk load" option and TABLOCK hint.So my understanding is by default only row locks are taken out and other queries can read/write data while the bulk load is...
View ArticleHow to add time zone to Date time field
I have passed createdDate from UI to Stored procedure.createdDate field declared with DateTime.it is having value 2014-07-01.I need to fetch records from the database based upon the created field.but...
View Articlesp_send_dbmail truncates when attaching query results.
Installed SQL Server 2014 CU1. While testing sp_send_dbmail I noticed the query results, when attached are cut off or truncated. Max file size has been 64k -65k. I set the max file size to 104857600...
View ArticleHow to encrypt and check a login password.
Hi,I am trying to learn how to store a web form password and than check it when the user log in. So far none of the code I can find works. Can someone explain why the following test does not work and...
View Article