Viewing 15 posts - 5,056 through 5,070 (of 26,490 total)
Rod at work (6/5/2015)
June 5, 2015 at 12:00 pm
[font="Arial Black"]Hey, why are we trying to change a column declared as a DATETIME column to an INT? If it is a Date/Time value store it as such.[/font]
Sorry for...
June 5, 2015 at 11:22 am
SQL-DBA-01 (6/5/2015)
I dont have RDP access to the server so can't RDP to check when SQL was last installed.
Is there any way to find the details remotely by running...
June 5, 2015 at 11:08 am
My question, why are you converting a datetime column to an int column? If it is a date/time value use datetime data types.
June 5, 2015 at 10:37 am
yusufm 48726 (6/5/2015)
Yes I have grouped it on date entered and company name and I tried what you suggested and still the same result.
Here is your original post:
yusufm 48726 (6/3/2015)
I...
June 5, 2015 at 10:13 am
Preethiviraj Kulasingham (8/3/2011)
Dynamic query is a banned concept in my company.1. Monitoring performance is hard
2. Security concerns
3. Debugging is difficult.
This sounds like a knee jerk reaction by management types...
June 5, 2015 at 10:10 am
Just another way to do it as well:
DECLARE @MyTable AS TABLE (
Id int IDENTITY(1, 1) NOT NULL PRIMARY KEY CLUSTERED,
[Source] varchar(10) NOT NULL,
FirstField varchar(20),
SecondField varchar(30)
);
INSERT INTO @MyTable ([Source], FirstField, SecondField)
SELECT...
June 5, 2015 at 9:42 am
Yes, you may have 1 default instance and multiple named instances. I'd start here: https://msdn.microsoft.com/en-us/library/dd692930(v=sql.10).aspx.
June 5, 2015 at 9:21 am
There may be other messages around the error that may help diagnose the error. That's why I asked what else was in the error log around the error itself.
June 5, 2015 at 8:54 am
Please post DDL (CREATE TABLE statement) for the table(s) involved, some sample data for the table(s) involved (INSER INTO statements), and the expected results based on the sample data you...
June 4, 2015 at 1:48 pm
Just be careful with using a VIN as a primary key. I have been told that the algorithm for validating a VIN has changed and that all VINs are...
June 4, 2015 at 1:45 pm
dwilliscp (6/4/2015)
June 4, 2015 at 12:16 pm
dwilliscp (6/4/2015)
Msg 156, Level 15, State 1, Line 2
Incorrect syntax near the keyword 'case'.
My...
June 4, 2015 at 12:10 pm
Ed Wagner (6/4/2015)
rodjkidd (6/4/2015)
Lynn Pettis (6/4/2015)
Alvin Ramard (6/4/2015)
Jeff Moden (6/4/2015)
Have any of you ever used a CTP of SQL Server to power your real production databases? ...
June 4, 2015 at 11:48 am
Viewing 15 posts - 5,056 through 5,070 (of 26,490 total)