Viewing 15 posts - 361 through 375 (of 3,011 total)
David Lester (11/20/2012)
The row delimiter in this case is the issue. The data file has no row delimiter. Not even the lowly LF.
Are the lines fixed length without a delimiter?
November 20, 2012 at 10:15 am
David Lester (11/20/2012)
November 20, 2012 at 10:13 am
ramyours2003 (11/20/2012)
how to take the sql objects (tables, SP's) in to single user mode in a database
It would be helpful if you could describe what you actually need to accomplish.
November 20, 2012 at 9:44 am
You can run the script on the link below to get database file usage details and various analysis:
Show Files Details
Total by Database and File
Total by Database and Filegroup
Total by...
November 19, 2012 at 9:52 pm
Lowell (11/19/2012)
for me, domain information is very static...we don't add new people or move people into groups very often, so I usually take a "snapshot" of...
November 19, 2012 at 3:44 pm
This should work also:
select
abs(sign(col1)+sign(col2)+sign(col3)+
sign(col4)+sign(col5)) as NegativeCount
sign(col1)+sign(col2)+sign(col3)+
sign(col4)+sign(col5)+5 as PositiveCount
from
MyTable
November 19, 2012 at 10:20 am
martinez.math (11/16/2012)
but if the DOB is equal to currentdate or after the currentdate the result must...
November 17, 2012 at 12:59 am
The key to finding age is to find the birthday for the current year, and subtract 1 from the difference in years if the current date is before the birthday...
November 16, 2012 at 11:59 pm
jerome.morris (11/15/2012)
Hi Sean, am I being dumb? I cant see how it matches the year ?
Since it only selects data greater than the start of the month and before the...
November 15, 2012 at 3:42 pm
This code gives the start time for the OS, SQL Server, and SQL Server Agent, and gives the uptime days for the OS, SQL Server, and SQL Server Agent.
select
[OS Start...
November 13, 2012 at 2:51 pm
dsanchez-630020 (11/9/2012)
i get thisFileSizeMBUsedSpaceMBUnusedSpaceMB
0.750.290.46
83198.0074874.758323.25
83198.7574875.048323.71
Why did you remove the Type and DBFileName columns from the query?
Why did you leave out the table size query result set?
November 9, 2012 at 7:24 pm
What are the results when you run the script on the link below in your database?
Script to analyze table space usage:
November 9, 2012 at 4:32 pm
If you change the format from 20121025171203 to a string in this format 20121025 17:12:03 that should load into a SQL Server datetime column OK.
November 8, 2012 at 10:34 am
DanielP (11/8/2012)
November 8, 2012 at 10:12 am
If may be faster to create a new table, load the data from the old table, rename the old table, and rename the new table.
November 8, 2012 at 10:05 am
Viewing 15 posts - 361 through 375 (of 3,011 total)